org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr
Interface Rule

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
RuleImpl

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

A representation of the model object 'Rule'.

The following features are supported:

See Also:
SimpleAntlrPackage.getRule()
EMF generated code
EMF model element

Method Summary
 RuleElement getBody()
          Returns the value of the 'Body' containment reference.
 java.lang.String getName()
          Returns the value of the 'Name' attribute.
 boolean isFragment()
          Returns the value of the 'Fragment' attribute.
 void setBody(RuleElement value)
          Sets the value of the 'Body' containment reference.
 void setFragment(boolean value)
          Sets the value of the 'Fragment' attribute.
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute.
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

isFragment

boolean isFragment()
Returns the value of the 'Fragment' attribute.

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

Returns:
the value of the 'Fragment' attribute.
See Also:
setFragment(boolean), SimpleAntlrPackage.getRule_Fragment()
EMF generated code
EMF model element

setFragment

void setFragment(boolean value)
Sets the value of the 'Fragment' attribute.

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

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), SimpleAntlrPackage.getRule_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

getBody

RuleElement getBody()
Returns the value of the 'Body' containment reference.

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

Returns:
the value of the 'Body' containment reference.
See Also:
setBody(RuleElement), SimpleAntlrPackage.getRule_Body()
EMF generated code
EMF model element
containment="true"

setBody

void setBody(RuleElement value)
Sets the value of the 'Body' containment reference.

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