Package 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()
- Model:
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AbstractElement
getAlternatives()
Returns the value of the 'Alternatives' containment reference.org.eclipse.emf.common.util.EList<Annotation>
getAnnotations()
Returns the value of the 'Annotations' containment reference list.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.
-
-
-
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()
- Model:
- Generated:
-
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()
- Generated:
-
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()
- Model:
- containment="true"
- Generated:
-
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()
- Generated:
-
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()
- Model:
- containment="true"
- Generated:
-
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()
- Generated:
-
getAnnotations
org.eclipse.emf.common.util.EList<Annotation> getAnnotations()
Returns the value of the 'Annotations' containment reference list. The list contents are of typeAnnotation
.If the meaning of the 'Annotations' containment reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Annotations' containment reference list.
- Since:
- 2.11
- See Also:
XtextPackage.getAbstractRule_Annotations()
- Model:
- containment="true"
- Generated:
-
-