Package com.sodius.mdw.metamodel.doors
Interface AttributedElement
-
- All Superinterfaces:
Comparable<Object>,DoorsElement,org.eclipse.emf.ecore.EModelElement,org.eclipse.emf.ecore.EObject,MDWEObject,MDWObject,org.eclipse.emf.common.notify.Notifier,com.sodius.mdw.corext.model.emf.OnDemandEObject
- All Known Subinterfaces:
FormalModule,Link,LinkModule,Module,Object
public interface AttributedElement extends DoorsElement
A representation of the model object 'Attributed Element'.The following features are supported:
- See Also:
DoorsPackage.getAttributedElement()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RichTextgetAttributeValue(String attributeName)Returns the value of the specified custom attribute.StringgetCreatedBy()Returns the value of the 'Created By' attribute.StringgetCreatedOn()Returns the value of the 'Created On' attribute.MDWEList<InstantiatedAttribute>getInstantiatedAttributes()Returns the value of the 'Instantiated Attributes' containment reference list.StringgetLastModifiedBy()Returns the value of the 'Last Modified By' attribute.StringgetLastModifiedOn()Returns the value of the 'Last Modified On' attribute.voidsetCreatedBy(String value)Sets the value of the 'Created By' attribute.voidsetCreatedOn(String value)Sets the value of the 'Created On' attribute.voidsetLastModifiedBy(String value)Sets the value of the 'Last Modified By' attribute.voidsetLastModifiedOn(String value)Sets the value of the 'Last Modified On' attribute.-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
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 com.sodius.mdw.core.model.MDWObject
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
-
-
-
-
Method Detail
-
getCreatedBy
String getCreatedBy()
Returns the value of the 'Created By' attribute. The default value is"".- Returns:
- the value of the 'Created By' attribute.
- See Also:
setCreatedBy(String),DoorsPackage.getAttributedElement_CreatedBy()
-
setCreatedBy
void setCreatedBy(String value)
Sets the value of the 'Created By' attribute.- Parameters:
value- the new value of the 'Created By' attribute.- See Also:
getCreatedBy()
-
getCreatedOn
String getCreatedOn()
Returns the value of the 'Created On' attribute. The default value is"".- Returns:
- the value of the 'Created On' attribute.
- See Also:
setCreatedOn(String),DoorsPackage.getAttributedElement_CreatedOn()
-
setCreatedOn
void setCreatedOn(String value)
Sets the value of the 'Created On' attribute.- Parameters:
value- the new value of the 'Created On' attribute.- See Also:
getCreatedOn()
-
getLastModifiedBy
String getLastModifiedBy()
Returns the value of the 'Last Modified By' attribute. The default value is"".- Returns:
- the value of the 'Last Modified By' attribute.
- See Also:
setLastModifiedBy(String),DoorsPackage.getAttributedElement_LastModifiedBy()
-
setLastModifiedBy
void setLastModifiedBy(String value)
Sets the value of the 'Last Modified By' attribute.- Parameters:
value- the new value of the 'Last Modified By' attribute.- See Also:
getLastModifiedBy()
-
getLastModifiedOn
String getLastModifiedOn()
Returns the value of the 'Last Modified On' attribute. The default value is"".- Returns:
- the value of the 'Last Modified On' attribute.
- See Also:
setLastModifiedOn(String),DoorsPackage.getAttributedElement_LastModifiedOn()
-
setLastModifiedOn
void setLastModifiedOn(String value)
Sets the value of the 'Last Modified On' attribute.- Parameters:
value- the new value of the 'Last Modified On' attribute.- See Also:
getLastModifiedOn()
-
getInstantiatedAttributes
MDWEList<InstantiatedAttribute> getInstantiatedAttributes()
Returns the value of the 'Instantiated Attributes' containment reference list. The list contents are of typeInstantiatedAttribute. It is bidirectional and its opposite is 'Owner'.- Returns:
- the value of the 'Instantiated Attributes' containment reference list.
- See Also:
DoorsPackage.getAttributedElement_InstantiatedAttributes(),InstantiatedAttribute.getOwner()
-
getAttributeValue
RichText getAttributeValue(String attributeName)
Returns the value of the specified custom attribute.The attribute name must match a custom attribute definition in the module and must not be a DOORS system attribute.
If no value is assigned in DOORS for the attribute on the underlying element, there won't be any
InstantiatedAttributeinstance representing it. Therefore this method returnsnullin such case. One should not assumenullis returned only when the attribute name is invalid.- Parameters:
attributeName- the name of the custom attribute.- Returns:
- the value of the attribute or
nullif not found (which may happen if the attribute is not valid or no value is assigned for such attribute).
-
-