Interface EnumCharacteristicType
-
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,CharacteristicType
,org.palladiosimulator.pcm.core.entity.Entity
,EObject
,de.uka.ipd.sdq.identifier.Identifier
,org.palladiosimulator.pcm.core.entity.NamedElement
,Notifier
- All Known Implementing Classes:
EnumCharacteristicTypeImpl
public interface EnumCharacteristicType extends CharacteristicType
A representation of the model object 'Enum Characteristic Type'.The following features are supported:
- See Also:
CharacteristicsPackage.getEnumCharacteristicType()
- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Enumeration
getEnum()
Returns the value of the 'Enum' reference.boolean
hasCompatibleValueRange(CharacteristicType characteristicType)
boolean
isMultipleChoice()
Returns the value of the 'Multiple Choice' attribute.void
setEnum(Enumeration value)
Sets the value of the 'Enum
' reference.void
setMultipleChoice(boolean value)
Sets the value of the 'Multiple Choice
' attribute.-
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 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
-
isMultipleChoice
boolean isMultipleChoice()
Returns the value of the 'Multiple Choice' attribute. The default value is"false"
.- Returns:
- the value of the 'Multiple Choice' attribute.
- See Also:
setMultipleChoice(boolean)
,CharacteristicsPackage.getEnumCharacteristicType_MultipleChoice()
- Generated class or method.
- EMF model class or method.
- default="false" required="true"
-
setMultipleChoice
void setMultipleChoice(boolean value)
Sets the value of the 'Multiple Choice
' attribute.- Parameters:
value
- the new value of the 'Multiple Choice' attribute.- See Also:
isMultipleChoice()
- Generated class or method.
-
getEnum
Enumeration getEnum()
Returns the value of the 'Enum' reference.- Returns:
- the value of the 'Enum' reference.
- See Also:
setEnum(Enumeration)
,CharacteristicsPackage.getEnumCharacteristicType_Enum()
- Generated class or method.
- EMF model class or method.
- required="true"
-
setEnum
void setEnum(Enumeration value)
Sets the value of the 'Enum
' reference.- Parameters:
value
- the new value of the 'Enum' reference.- See Also:
getEnum()
- Generated class or method.
-
hasCompatibleValueRange
boolean hasCompatibleValueRange(CharacteristicType characteristicType)
- Specified by:
hasCompatibleValueRange
in interfaceCharacteristicType
- Generated class or method.
- EMF model class or method.
- required="true" characteristicTypeRequired="true" annotation="http://www.eclipse.org/emf/2002/Ecore/OCL body='multipleChoice = characteristicType.oclAsType(EnumCharacteristicType).multipleChoice and\nenum = characteristicType.oclAsType(EnumCharacteristicType).enum'"
-
-