public interface SpecType extends Identifiable
The following features are supported:
ReqifPackage.getSpecType()
Modifier and Type | Method and Description |
---|---|
<E extends AttributeDefinition> |
createSpecAttribute(String name,
DatatypeDefinition type)
Creates an attribute definition using the specified name and datatype.
|
ReqIFContent |
getCoreContent()
Returns the value of the 'Core Content' container reference.
|
com.sodius.mdw.core.model.emf.MDWEList<AttributeDefinition> |
getSpecAttributes()
Returns the value of the 'Spec Attributes' containment reference list.
|
void |
setCoreContent(ReqIFContent value)
Sets the value of the '
Core Content ' container reference. |
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
ReqIFContent getCoreContent()
Spec Types
'.
The back linkage to the owning ReqIFContent element.
setCoreContent(ReqIFContent)
,
ReqifPackage.getSpecType_CoreContent()
,
ReqIFContent.getSpecTypes()
void setCoreContent(ReqIFContent value)
Core Content
' container reference.
value
- the new value of the 'Core Content' container reference.getCoreContent()
com.sodius.mdw.core.model.emf.MDWEList<AttributeDefinition> getSpecAttributes()
AttributeDefinition
.
It is bidirectional and its opposite is 'Spec Type
'.
The set of attribute definitions.
ReqifPackage.getSpecType_SpecAttributes()
,
AttributeDefinition.getSpecType()
<E extends AttributeDefinition> E createSpecAttribute(String name, DatatypeDefinition type)
The actual AttributeDefinition
created instance depends on the specified DatatypeDefinition
(e.g. using
DatatypeDefinitionBoolean
will create an AttributeDefinitionBoolean
instance.
E
- the type of AttributeDefinition
to return.name
- the attribute name.type
- the datatype.