org.eclipse.xtext
Interface AbstractRule

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
EnumRule, ParserRule, TerminalRule
All Known Implementing Classes:
AbstractRuleImpl, EnumRuleImpl, ParserRuleImpl, TerminalRuleImpl

public interface AbstractRule
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Abstract Rule'.

The following features are supported:

See Also:
XtextPackage.getAbstractRule()
EMF generated code
EMF model element

Method Summary
 AbstractElement getAlternatives()
          Returns the value of the 'Alternatives' containment reference
 java.lang.String getName()
          Returns the value of the 'Name' attribute
 TypeRef getType()
          Returns the value of the 'Type' containment reference
 void setAlternatives(AbstractElement value)
          Sets the value of the 'Alternatives' containment reference
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute
 void setType(TypeRef value)
          Sets the value of the 'Type' containment reference
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getName

java.lang.String getName()
Returns the value of the 'Name' attribute.

If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), XtextPackage.getAbstractRule_Name()
EMF generated code
EMF model element

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()
EMF generated code

getType

TypeRef getType()
Returns the value of the 'Type' containment reference.

If the meaning of the 'Type' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Type' containment reference.
See Also:
setType(TypeRef), XtextPackage.getAbstractRule_Type()
EMF generated code
EMF model element
containment="true"

setType

void setType(TypeRef value)
Sets the value of the 'Type' containment reference.

Parameters:
value - the new value of the 'Type' containment reference.
See Also:
getType()
EMF generated code

getAlternatives

AbstractElement getAlternatives()
Returns the value of the 'Alternatives' containment reference.

If the meaning of the 'Alternatives' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Alternatives' containment reference.
See Also:
setAlternatives(AbstractElement), XtextPackage.getAbstractRule_Alternatives()
EMF generated code
EMF model element
containment="true"

setAlternatives

void setAlternatives(AbstractElement value)
Sets the value of the 'Alternatives' containment reference.

Parameters:
value - the new value of the 'Alternatives' containment reference.
See Also:
getAlternatives()
EMF generated code