public class AbstractExecutorEnumerationLiteral extends AbstractExecutorNamedElement implements EnumerationLiteral
name
Constructor and Description |
---|
AbstractExecutorEnumerationLiteral(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Class> |
getClasses()
Returns the value of the 'Classes' reference list.
|
EnumerationLiteralId |
getEnumerationLiteralId() |
org.eclipse.emf.common.util.Enumerator |
getEnumerator() |
java.util.List<Slot> |
getOwnedSlots()
Returns the value of the 'Owned Slots' containment reference list.
|
LanguageExpression |
getOwnedSpecification()
Returns the value of the 'Owned Specification' containment reference.
|
Enumeration |
getOwningEnumeration()
Returns the value of the 'Owning Enumeration' container reference.
|
Package |
getOwningPackage()
Returns the value of the 'Owning Package' container reference.
|
java.lang.Number |
getValue()
Returns the value of the 'Value' attribute.
|
void |
setOwnedSpecification(LanguageExpression value)
Sets the value of the '
Owned Specification ' containment reference. |
void |
setOwningEnumeration(Enumeration value)
Sets the value of the '
Owning Enumeration ' container reference. |
void |
setOwningPackage(Package value)
Sets the value of the '
Owning Package ' container reference. |
void |
setValue(java.lang.Number value)
Sets the value of the '
Value ' attribute. |
getName, setName
accept, allOwnedElements, eAdapters, eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eDeliver, eGet, eGet, eInvoke, eIsProxy, eIsSet, eNotify, eResource, eSet, eSetDeliver, eUnset, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, setName
accept, allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
public AbstractExecutorEnumerationLiteral(@NonNull java.lang.String name)
public java.util.List<Class> getClasses()
InstanceSpecification
Class
.
The Classifier or Classifiers of the represented instance. If multiple Classifiers are specified, the instance is classified by all of them.
getClasses
in interface InstanceSpecification
PivotPackage.getInstanceSpecification_Classes()
public java.util.List<Slot> getOwnedSlots()
InstanceSpecification
Slot
.
It is bidirectional and its opposite is 'Owning Instance
'.
A Slot giving the value or values of a StructuralFeature of the instance. An InstanceSpecification can have one Slot per StructuralFeature of its Classifiers, including inherited features. It is not necessary to model a Slot for every StructuralFeature, in which case the InstanceSpecification is a partial description.
getOwnedSlots
in interface InstanceSpecification
PivotPackage.getInstanceSpecification_OwnedSlots()
,
Slot.getOwningInstance()
public Package getOwningPackage()
InstanceSpecification
Owned Instances
'.
If the meaning of the 'Owning Package' container reference isn't clear, there really should be more of a description here...
getOwningPackage
in interface InstanceSpecification
InstanceSpecification.setOwningPackage(org.eclipse.ocl.pivot.Package)
,
PivotPackage.getInstanceSpecification_OwningPackage()
,
Package.getOwnedInstances()
public void setOwningPackage(Package value)
InstanceSpecification
Owning Package
' container reference.
setOwningPackage
in interface InstanceSpecification
value
- the new value of the 'Owning Package' container reference.InstanceSpecification.getOwningPackage()
public LanguageExpression getOwnedSpecification()
InstanceSpecification
getOwnedSpecification
in interface InstanceSpecification
InstanceSpecification.setOwnedSpecification(LanguageExpression)
,
PivotPackage.getInstanceSpecification_OwnedSpecification()
public void setOwnedSpecification(LanguageExpression value)
InstanceSpecification
Owned Specification
' containment reference.
setOwnedSpecification
in interface InstanceSpecification
value
- the new value of the 'Owned Specification' containment reference.InstanceSpecification.getOwnedSpecification()
public Enumeration getOwningEnumeration()
EnumerationLiteral
Owned Literals
'.
The Enumeration that this EnumerationLiteral is a member of.
getOwningEnumeration
in interface EnumerationLiteral
EnumerationLiteral.setOwningEnumeration(Enumeration)
,
PivotPackage.getEnumerationLiteral_OwningEnumeration()
,
Enumeration.getOwnedLiterals()
public void setOwningEnumeration(Enumeration value)
EnumerationLiteral
Owning Enumeration
' container reference.
setOwningEnumeration
in interface EnumerationLiteral
value
- the new value of the 'Owning Enumeration' container reference.EnumerationLiteral.getOwningEnumeration()
public java.lang.Number getValue()
EnumerationLiteral
"0"
.
If the meaning of the 'Value' attribute isn't clear, there really should be more of a description here...
getValue
in interface EnumerationLiteral
EnumerationLiteral.setValue(Number)
,
PivotPackage.getEnumerationLiteral_Value()
public void setValue(java.lang.Number value)
EnumerationLiteral
Value
' attribute.
setValue
in interface EnumerationLiteral
value
- the new value of the 'Value' attribute.EnumerationLiteral.getValue()
@NonNull public EnumerationLiteralId getEnumerationLiteralId()
getEnumerationLiteralId
in interface EnumerationLiteral
@NonNull public org.eclipse.emf.common.util.Enumerator getEnumerator()
getEnumerator
in interface EnumerationLiteral