public interface SpecElementWithAttributes extends Identifiable
The following features are supported:
Modifier and Type | Method and Description |
---|---|
<E extends AttributeValue> |
createValue(Object value,
AttributeDefinition definition)
Creates a new
AttributeValue with the specified value. |
SpecType |
getType()
Returns the value of the 'Type' reference.
|
com.sodius.mdw.core.model.emf.MDWEList<AttributeValue> |
getValues()
Returns the value of the 'Values' containment reference list.
|
getAlternativeID, getDesc, getIdentifier, getLastChange, getLongName, setAlternativeID, setDesc, setIdentifier, setLastChange, setLongName
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
com.sodius.mdw.core.model.emf.MDWEList<AttributeValue> getValues()
AttributeValue
.
It is bidirectional and its opposite is 'Spec El At
'.
ReqifPackage.getSpecElementWithAttributes_Values()
,
AttributeValue.getSpecElAt()
<E extends AttributeValue> E createValue(Object value, AttributeDefinition definition)
AttributeValue
with the specified value.
The actual AttributeValue
created instance depends on the specified AttributeDefinition
(e.g. using
AttributeDefinitionBoolean
will create a AttributeValueBoolean
instance.
The specified value must corresponding the attribute definition (e.g. a boolean
value should be used for
AttributeDefinitionBoolean
).
E
- the type of AttributeValue
to return.value
- the actual value.definition
- the attribute definition.SpecType getType()
SpecElementWithAttributes
.