Interface EnumDegree
-
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,DataTypeDegree
,DegreeOfFreedomInstance
,EObject
,org.palladiosimulator.pcm.core.entity.NamedElement
,Notifier
,org.palladiosimulator.pcm.PCMBaseClass
,org.palladiosimulator.pcm.PCMClass
,UnorderedDegree
- All Known Implementing Classes:
EnumDegreeImpl
public interface EnumDegree extends UnorderedDegree
A representation of the model object 'Enum Degree'. Construct to model a special type of enumerated degree of freedom where the domain of values is a subset of an enumeration in the metamodel. Each concrete subclass of EnumDegree must model the domain explicitly (refer to the concrete Enum to choose from). This class is actually superflous as it does not add any properties to its subclasses. It is just used to conceptually group this type of degree of freedom. Maybe it can be used to implement some OCL checks (with reflection?).The following features are supported:
- See Also:
specificPackage.getEnumDegree()
- Generated class or method.
- EMF model class or method.
- abstract="true"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EEnum
getEnumeration()
Returns the value of the 'Enumeration' reference.void
setEnumeration(EEnum value)
Sets the value of the 'Enumeration
' reference.-
Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption
-
Methods inherited from interface de.uka.ipd.sdq.pcm.designdecision.DegreeOfFreedomInstance
decoratorModelTypeMustMatchRequiredDecorator, getChangeableElements, getDecoratorModel, getDof, getPrimaryChanged, setDof, setPrimaryChanged
-
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.palladiosimulator.pcm.core.entity.NamedElement
getEntityName, setEntityName
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
getEnumeration
EEnum getEnumeration()
Returns the value of the 'Enumeration' reference.If the meaning of the 'Enumeration' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Enumeration' reference.
- See Also:
setEnumeration(EEnum)
,specificPackage.getEnumDegree_Enumeration()
- Generated class or method.
- EMF model class or method.
- ordered="false"
-
setEnumeration
void setEnumeration(EEnum value)
Sets the value of the 'Enumeration
' reference.- Parameters:
value
- the new value of the 'Enumeration' reference.- See Also:
getEnumeration()
- Generated class or method.
-
-