Package org.eclipse.gmt.modisco.cobol
Interface COBOLElement
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
COBOLRedefiningElement
- All Known Implementing Classes:
COBOLElementImpl,COBOLRedefiningElementImpl
public interface COBOLElement
extends org.eclipse.emf.ecore.EObject
A representation of the model object 'COBOL Element'.
The following features are supported:
- See Also:
CobolPackage.getCOBOLElement()
-
Method Summary
Modifier and Type Method Description COBOLFixedLengthArraygetArray()Returns the value of the 'Array' containment reference.org.eclipse.emf.common.util.EList<COBOL88Element>getContains()Returns the value of the 'Contains' containment reference list.COBOLComposedTypegetGroup()Returns the value of the 'Group' container reference.org.eclipse.emf.common.util.EList<COBOLElementInitialValue>getInitial()Returns the value of the 'Initial' reference list.StringgetLevel()Returns the value of the 'Level' attribute.StringgetName()Returns the value of the 'Name' attribute.BooleangetRefined()Returns the value of the 'Refined' attribute.COBOLClassifiergetSharedType()Returns the value of the 'Shared Type' reference.COBOLSourceTextgetSource()Returns the value of the 'Source' reference.voidsetArray(COBOLFixedLengthArray value)Sets the value of the 'Array' containment reference.voidsetGroup(COBOLComposedType value)Sets the value of the 'Group' container reference.voidsetLevel(String value)Sets the value of the 'Level' attribute.voidsetName(String value)Sets the value of the 'Name' attribute.voidsetRefined(Boolean value)Sets the value of the 'Refined' attribute.voidsetSharedType(COBOLClassifier value)Sets the value of the 'Shared Type' reference.voidsetSource(COBOLSourceText value)Sets the value of the 'Source' reference.Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getLevel
String getLevel()Returns the value of the 'Level' attribute.- Returns:
- the value of the 'Level' attribute.
- See Also:
setLevel(String),CobolPackage.getCOBOLElement_Level()
-
setLevel
Sets the value of the 'Level' attribute.- Parameters:
value- the new value of the 'Level' attribute.- See Also:
getLevel()
-
getRefined
Boolean getRefined()Returns the value of the 'Refined' attribute.- Returns:
- the value of the 'Refined' attribute.
- See Also:
setRefined(Boolean),CobolPackage.getCOBOLElement_Refined()
-
setRefined
Sets the value of the 'Refined' attribute.- Parameters:
value- the new value of the 'Refined' attribute.- See Also:
getRefined()
-
getName
String getName()Returns the value of the 'Name' attribute.- Returns:
- the value of the 'Name' attribute.
- See Also:
setName(String),CobolPackage.getCOBOLElement_Name()
-
setName
Sets the value of the 'Name' attribute.- Parameters:
value- the new value of the 'Name' attribute.- See Also:
getName()
-
getGroup
COBOLComposedType getGroup()Returns the value of the 'Group' container reference. It is bidirectional and its opposite is 'Elements'.- Returns:
- the value of the 'Group' container reference.
- See Also:
setGroup(COBOLComposedType),CobolPackage.getCOBOLElement_Group(),COBOLComposedType.getElements()
-
setGroup
Sets the value of the 'Group' container reference.- Parameters:
value- the new value of the 'Group' container reference.- See Also:
getGroup()
-
getInitial
org.eclipse.emf.common.util.EList<COBOLElementInitialValue> getInitial()Returns the value of the 'Initial' reference list. The list contents are of typeCOBOLElementInitialValue.- Returns:
- the value of the 'Initial' reference list.
- See Also:
CobolPackage.getCOBOLElement_Initial()
-
getContains
org.eclipse.emf.common.util.EList<COBOL88Element> getContains()Returns the value of the 'Contains' containment reference list. The list contents are of typeCOBOL88Element.- Returns:
- the value of the 'Contains' containment reference list.
- See Also:
CobolPackage.getCOBOLElement_Contains()
-
getSource
COBOLSourceText getSource()Returns the value of the 'Source' reference.- Returns:
- the value of the 'Source' reference.
- See Also:
setSource(COBOLSourceText),CobolPackage.getCOBOLElement_Source()
-
setSource
Sets the value of the 'Source' reference.- Parameters:
value- the new value of the 'Source' reference.- See Also:
getSource()
-
getArray
COBOLFixedLengthArray getArray()Returns the value of the 'Array' containment reference.- Returns:
- the value of the 'Array' containment reference.
- See Also:
setArray(COBOLFixedLengthArray),CobolPackage.getCOBOLElement_Array()
-
setArray
Sets the value of the 'Array' containment reference.- Parameters:
value- the new value of the 'Array' containment reference.- See Also:
getArray()
-