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

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

public interface ElementWithCardinality
extends RuleElement

A representation of the model object 'Element With Cardinality'.

The following features are supported:

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

Method Summary
 java.lang.String getCardinality()
          Returns the value of the 'Cardinality' attribute
 RuleElement getElement()
          Returns the value of the 'Element' containment reference
 void setCardinality(java.lang.String value)
          Sets the value of the 'Cardinality' attribute
 void setElement(RuleElement value)
          Sets the value of the 'Element' 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

getElement

RuleElement getElement()
Returns the value of the 'Element' containment reference.

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

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

setElement

void setElement(RuleElement value)
Sets the value of the 'Element' containment reference.

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

getCardinality

java.lang.String getCardinality()
Returns the value of the 'Cardinality' attribute.

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

Returns:
the value of the 'Cardinality' attribute.
See Also:
setCardinality(String), SimpleAntlrPackage.getElementWithCardinality_Cardinality()
EMF generated code
EMF model element

setCardinality

void setCardinality(java.lang.String value)
Sets the value of the 'Cardinality' attribute.

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