public class AbstractExecutorEnumerationLiteral extends AbstractExecutorNamedElement implements EnumerationLiteral
Constructor and Description |
---|
AbstractExecutorEnumerationLiteral(String name) |
Modifier and Type | Method and Description |
---|---|
List<Class> |
getClasses()
Returns the value of the 'Classes' reference list.
|
EnumerationLiteralId |
getEnumerationLiteralId() |
Enumerator |
getEnumerator() |
String |
getLiteral()
Returns the value of the 'Literal' attribute.
|
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.
|
Number |
getValue()
Returns the value of the 'Value' attribute.
|
void |
setLiteral(String value)
Sets the value of the '
Literal ' 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(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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, setName
accept, allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
public AbstractExecutorEnumerationLiteral(String name)
public 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 EnumerationLiteralId getEnumerationLiteralId()
getEnumerationLiteralId
in interface EnumerationLiteral
public Enumerator getEnumerator()
getEnumerator
in interface EnumerationLiteral
public String getLiteral()
EnumerationLiteral
"0"
.
If the meaning of the 'Literal' attribute isn't clear, there really should be more of a description here...
getLiteral
in interface EnumerationLiteral
EnumerationLiteral.setLiteral(String)
,
PivotPackage.getEnumerationLiteral_Literal()
public 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 LanguageExpression getOwnedSpecification()
InstanceSpecification
getOwnedSpecification
in interface InstanceSpecification
InstanceSpecification.setOwnedSpecification(LanguageExpression)
,
PivotPackage.getInstanceSpecification_OwnedSpecification()
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 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 setLiteral(String value)
EnumerationLiteral
Literal
' attribute.
setLiteral
in interface EnumerationLiteral
value
- the new value of the 'Literal' attribute.EnumerationLiteral.getLiteral()
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 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 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 void setValue(Number value)
EnumerationLiteral
Value
' attribute.
setValue
in interface EnumerationLiteral
value
- the new value of the 'Value' attribute.EnumerationLiteral.getValue()
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.