public interface ReqIFContent extends com.sodius.mdw.core.model.emf.MDWEObject, EModelElement
The following features are supported:
ReqifPackage.getReqIFContent()
Modifier and Type | Method and Description |
---|---|
<E extends DatatypeDefinition> |
createDataType(String name,
EClass eClass)
Creates and registers a datatype with the specified name and
EClass information. |
DatatypeDefinitionInteger |
createDatatypeInteger(String name,
int min,
int max)
Creates and registers an integer datatype with the specified name and min/max information.
|
DatatypeDefinitionReal |
createDatatypeReal(String name,
double min,
double max)
Creates and registers a real datatype with the specified name and min/max information.
|
RelationGroup |
createRelationGroup(SpecType type,
Specification source,
Specification target)
Creates and registers a new relation group with the specified type and between the two specifications.
|
Specification |
createSpecification(SpecType type)
Creates and registers a new specification with the specified type.
|
SpecObject |
createSpecObject(SpecType type)
Creates and registers a new object with the specified type.
|
SpecRelation |
createSpecRelation(SpecType type,
SpecObject source,
SpecObject target)
Creates and registers a new relation with the specified type and between the two specified objects.
|
<E extends SpecType> |
createSpecType(String name,
EClass eClass)
Creates and registers a type with the specified name and
EClass information. |
com.sodius.mdw.core.model.emf.MDWEList<DatatypeDefinition> |
getDatatypes()
Returns the value of the 'Datatypes' containment reference list.
|
ReqIF |
getDocumentRoot()
Returns the value of the 'Document Root' container reference.
|
com.sodius.mdw.core.model.emf.MDWEList<Specification> |
getSpecifications()
Returns the value of the 'Specifications' containment reference list.
|
com.sodius.mdw.core.model.emf.MDWEList<SpecObject> |
getSpecObjects()
Returns the value of the 'Spec Objects' containment reference list.
|
com.sodius.mdw.core.model.emf.MDWEList<RelationGroup> |
getSpecRelationGroups()
Returns the value of the 'Spec Relation Groups' containment reference list.
|
com.sodius.mdw.core.model.emf.MDWEList<SpecRelation> |
getSpecRelations()
Returns the value of the 'Spec Relations' containment reference list.
|
com.sodius.mdw.core.model.emf.MDWEList<SpecType> |
getSpecTypes()
Returns the value of the 'Spec Types' containment reference list.
|
void |
setDocumentRoot(ReqIF value)
Sets the value of the '
Document Root ' container reference. |
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<DatatypeDefinition> getDatatypes()
DatatypeDefinition
.
It is bidirectional and its opposite is 'Core Content
'.
Linkage to the DataTypeDefinition content elements
ReqifPackage.getReqIFContent_Datatypes()
,
DatatypeDefinition.getCoreContent()
<E extends DatatypeDefinition> E createDataType(String name, EClass eClass)
EClass
information.
The actual AttributeDefinition
created instance depends on the specified EClass
(e.g. using
ReqifPackage.Literals.DATATYPE_DEFINITION_BOOLEAN
will create an DatatypeDefinitionBoolean
instance.
E
- the type of DatatypeDefinition
to return.name
- the datatype name.eClass
- the EClass
corresponding to the datatype to create.DatatypeDefinitionInteger createDatatypeInteger(String name, int min, int max)
name
- the datatype name.min
- the minimum value for the datatype.max
- the maximum value for the datatype.DatatypeDefinitionReal createDatatypeReal(String name, double min, double max)
name
- the datatype name.min
- the minimum value for the datatype.max
- the maximum value for the datatype.com.sodius.mdw.core.model.emf.MDWEList<Specification> getSpecifications()
Specification
.
It is bidirectional and its opposite is 'Core Content
'.
Linkage to the Specification content elements
ReqifPackage.getReqIFContent_Specifications()
,
Specification.getCoreContent()
Specification createSpecification(SpecType type)
type
- the type of the specification to create.com.sodius.mdw.core.model.emf.MDWEList<SpecRelation> getSpecRelations()
SpecRelation
.
It is bidirectional and its opposite is 'Core Content
'.
Linkage to the SpecRelation content elements
ReqifPackage.getReqIFContent_SpecRelations()
,
SpecRelation.getCoreContent()
SpecRelation createSpecRelation(SpecType type, SpecObject source, SpecObject target)
type
- the type of the relation to create.source
- the relation source object.target
- the relation target object.com.sodius.mdw.core.model.emf.MDWEList<SpecObject> getSpecObjects()
SpecObject
.
It is bidirectional and its opposite is 'Core Content
'.
Linkage to the SpecObject content elements
ReqifPackage.getReqIFContent_SpecObjects()
,
SpecObject.getCoreContent()
SpecObject createSpecObject(SpecType type)
type
- the type of the object to create.ReqIF getDocumentRoot()
Core Content
'.
Linking back to the Exchange Document root element.
setDocumentRoot(ReqIF)
,
ReqifPackage.getReqIFContent_DocumentRoot()
,
ReqIF.getCoreContent()
void setDocumentRoot(ReqIF value)
Document Root
' container reference.
value
- the new value of the 'Document Root' container reference.getDocumentRoot()
com.sodius.mdw.core.model.emf.MDWEList<RelationGroup> getSpecRelationGroups()
RelationGroup
.
It is bidirectional and its opposite is 'Core Content
'.
Linkage to the RelationGroup content elements
ReqifPackage.getReqIFContent_SpecRelationGroups()
,
RelationGroup.getCoreContent()
RelationGroup createRelationGroup(SpecType type, Specification source, Specification target)
type
- the type of the relation group to create.source
- the relation group source specification.target
- the relation group target specification.com.sodius.mdw.core.model.emf.MDWEList<SpecType> getSpecTypes()
SpecType
.
It is bidirectional and its opposite is 'Core Content
'.
Linkage to the SpecType content elements
ReqifPackage.getReqIFContent_SpecTypes()
,
SpecType.getCoreContent()
<E extends SpecType> E createSpecType(String name, EClass eClass)
EClass
information.
The actual SpecType
created instance depends on the specified EClass
(e.g. using
ReqifPackage.Literals.SPECIFICATION
will create an SpecificationType
instance.
E
- the type of SpecType
to return.name
- the type name.eClass
- the EClass
corresponding to the type to create.