Interface ModelElement
-
- All Superinterfaces:
java.lang.Comparable<java.lang.Object>,org.eclipse.emf.ecore.EModelElement,org.eclipse.emf.ecore.EObject,MDWEObject,MDWObject,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
AcceptEventAction,AcceptTimeEvent,Action,ActivityDiagram,Actor,Annotation,Argument,AssociationClass,AssociationRole,Attribute,CallOperation,Class,Classifier,ClassifierRole,Collaboration,CollaborationDiagram,Comment,Component,ComponentDiagram,ComponentInstance,Configuration,Connector,Constraint,ContextSpecification,ControlledFile,Dependency,DeploymentDiagram,Diagram,EnumerationLiteral,Event,EventReception,ExecutionOccurrence,File,FileFragment,Flow,Flowchart,FlowItem,Generalization,Guard,HyperLink,Instance,InstanceSlot,InstanceSpecification,InstanceValue,InteractionOccurrence,InteractionOperand,InteractionOperator,InterfaceItem,Link,LiteralSpecification,Message,MessagePoint,Module,Node,ObjectModelDiagram,ObjectNode,Operation,Package,Pin,Port,Profile,Project,Relation,Requirement,SendAction,SequenceDiagram,State,Statechart,StatechartDiagram,StateVertex,Stereotype,StructureDiagram,Swimlane,SysMLPort,Tag,TemplateInstantiation,TemplateInstantiationParameter,TemplateParameter,TimingDiagram,Transition,Trigger,Type,Unit,UseCase,UseCaseDiagram,ValueSpecification,Variable
public interface ModelElement extends MDWEObject, org.eclipse.emf.ecore.EModelElement
A representation of the model object 'Model Element'.The following features are supported:
NameDescriptionMeta ClassRequirement Traceability HandleGUIDDisplay NameIs Show Display NameDescription RTFDescription HTMLIs ExternalUser Defined Meta ClassIs UnresolvedInterface NameFull Path NameIs ATemplateOwnerProjectStereotypeTiOf TemplateConstraintsConstraints By HimTemplate ParametersMain DiagramAnnotationsDependenciesHyper LinksLocal TagsAll TagsReferencesControlled FilesStereotypesPropertiesOwned Dependencies
- See Also:
RhapsodyPackage.getModelElement()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MDWEListgetAllTags()Returns the value of the 'All Tags' reference list.MDWEListgetAnnotations()Returns the value of the 'Annotations' reference list.MDWEListgetConstraints()Returns the value of the 'Constraints' reference list.MDWEListgetConstraintsByHim()Returns the value of the 'Constraints By Him' reference list.MDWEListgetControlledFiles()Returns the value of the 'Controlled Files' reference list.MDWEListgetDependencies()Returns the value of the 'Dependencies' reference list.java.lang.StringgetDescription()Returns the value of the 'Description' attribute.java.lang.StringgetDescriptionHTML()Returns the value of the 'Description HTML' attribute.java.lang.StringgetDescriptionRTF()Returns the value of the 'Description RTF' attribute.java.lang.StringgetDisplayName()Returns the value of the 'Display Name' attribute.java.lang.StringgetFullPathName()Returns the value of the 'Full Path Name' attribute.java.lang.StringgetGUID()Returns the value of the 'GUID' attribute.MDWEListgetHyperLinks()Returns the value of the 'Hyper Links' reference list.java.lang.StringgetInterfaceName()Returns the value of the 'Interface Name' attribute.MDWEListgetLocalTags()Returns the value of the 'Local Tags' reference list.DiagramgetMainDiagram()Returns the value of the 'Main Diagram' reference.java.lang.StringgetMetaClass()Returns the value of the 'Meta Class' attribute.java.lang.StringgetName()Returns the value of the 'Name' attribute.ModelElementgetOfTemplate()Returns the value of the 'Of Template' reference.MDWEListgetOwnedDependencies()Returns the value of the 'Owned Dependencies' containment reference list.ModelElementgetOwner()Returns the value of the 'Owner' reference.ProjectgetProject()Returns the value of the 'Project' reference.MDWEListgetProperties()Returns the value of the 'Properties' reference list.java.lang.StringgetProperty(java.lang.String key)MDWEListgetReferences()Returns the value of the 'References' reference list.StereotypegetStereotype()Returns the value of the 'Stereotype' reference.MDWEListgetStereotypes()Returns the value of the 'Stereotypes' reference list.MDWEListgetTemplateParameters()Returns the value of the 'Template Parameters' reference list.TemplateInstantiationgetTi()Returns the value of the 'Ti' reference.java.lang.StringgetUserDefinedMetaClass()Returns the value of the 'User Defined Meta Class' attribute.booleanisATemplate()Returns the value of the 'Is ATemplate' attribute.booleanisExternal()Returns the value of the 'Is External' attribute.booleanisRequirementTraceabilityHandle()Returns the value of the 'Requirement Traceability Handle' attribute.booleanisShowDisplayName()Returns the value of the 'Is Show Display Name' attribute.booleanisUnresolved()Returns the value of the 'Is Unresolved' attribute.voidsetDescription(java.lang.String value)Sets the value of the 'Description' attribute.voidsetDescriptionHTML(java.lang.String value)Sets the value of the 'Description HTML' attribute.voidsetDescriptionRTF(java.lang.String value)Sets the value of the 'Description RTF' attribute.voidsetDisplayName(java.lang.String value)Sets the value of the 'Display Name' attribute.voidsetFullPathName(java.lang.String value)Sets the value of the 'Full Path Name' attribute.voidsetGUID(java.lang.String value)Sets the value of the 'GUID' attribute.voidsetInterfaceName(java.lang.String value)Sets the value of the 'Interface Name' attribute.voidsetIsATemplate(boolean value)Sets the value of the 'Is ATemplate' attribute.voidsetIsExternal(boolean value)Sets the value of the 'Is External' attribute.voidsetIsShowDisplayName(boolean value)Sets the value of the 'Is Show Display Name' attribute.voidsetIsUnresolved(boolean value)Sets the value of the 'Is Unresolved' attribute.voidsetMainDiagram(Diagram value)Sets the value of the 'Main Diagram' reference.voidsetMetaClass(java.lang.String value)Sets the value of the 'Meta Class' attribute.voidsetName(java.lang.String value)Sets the value of the 'Name' attribute.voidsetOfTemplate(ModelElement value)Sets the value of the 'Of Template' reference.voidsetOwner(ModelElement value)Sets the value of the 'Owner' reference.voidsetProject(Project value)Sets the value of the 'Project' reference.voidsetRequirementTraceabilityHandle(boolean value)Sets the value of the 'Requirement Traceability Handle' attribute.voidsetStereotype(Stereotype value)Sets the value of the 'Stereotype' reference.voidsetTi(TemplateInstantiation value)Sets the value of the 'Ti' reference.voidsetUserDefinedMetaClass(java.lang.String value)Sets the value of the 'User Defined Meta Class' 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
-
getName
java.lang.String getName()
Returns the value of the 'Name' attribute. The default value is"".- Returns:
- the value of the 'Name' attribute.
- See Also:
setName(String),RhapsodyPackage.getModelElement_Name()
-
setName
void setName(java.lang.String value)
Sets the value of the 'Name' attribute.- Parameters:
value- the new value of the 'Name' attribute.- See Also:
getName()
-
getDescription
java.lang.String getDescription()
Returns the value of the 'Description' attribute. The default value is"".- Returns:
- the value of the 'Description' attribute.
- See Also:
setDescription(String),RhapsodyPackage.getModelElement_Description()
-
setDescription
void setDescription(java.lang.String value)
Sets the value of the 'Description' attribute.- Parameters:
value- the new value of the 'Description' attribute.- See Also:
getDescription()
-
getMetaClass
java.lang.String getMetaClass()
Returns the value of the 'Meta Class' attribute. The default value is"".- Returns:
- the value of the 'Meta Class' attribute.
- See Also:
setMetaClass(String),RhapsodyPackage.getModelElement_MetaClass()
-
setMetaClass
void setMetaClass(java.lang.String value)
Sets the value of the 'Meta Class' attribute.- Parameters:
value- the new value of the 'Meta Class' attribute.- See Also:
getMetaClass()
-
isRequirementTraceabilityHandle
boolean isRequirementTraceabilityHandle()
Returns the value of the 'Requirement Traceability Handle' attribute.- Returns:
- the value of the 'Requirement Traceability Handle' attribute.
- See Also:
setRequirementTraceabilityHandle(boolean),RhapsodyPackage.getModelElement_RequirementTraceabilityHandle()
-
setRequirementTraceabilityHandle
void setRequirementTraceabilityHandle(boolean value)
Sets the value of the 'Requirement Traceability Handle' attribute.- Parameters:
value- the new value of the 'Requirement Traceability Handle' attribute.- See Also:
isRequirementTraceabilityHandle()
-
getGUID
java.lang.String getGUID()
Returns the value of the 'GUID' attribute. The default value is"".- Returns:
- the value of the 'GUID' attribute.
- See Also:
setGUID(String),RhapsodyPackage.getModelElement_GUID()
-
setGUID
void setGUID(java.lang.String value)
Sets the value of the 'GUID' attribute.- Parameters:
value- the new value of the 'GUID' attribute.- See Also:
getGUID()
-
getDisplayName
java.lang.String getDisplayName()
Returns the value of the 'Display Name' attribute. The default value is"".- Returns:
- the value of the 'Display Name' attribute.
- See Also:
setDisplayName(String),RhapsodyPackage.getModelElement_DisplayName()
-
setDisplayName
void setDisplayName(java.lang.String value)
Sets the value of the 'Display Name' attribute.- Parameters:
value- the new value of the 'Display Name' attribute.- See Also:
getDisplayName()
-
isShowDisplayName
boolean isShowDisplayName()
Returns the value of the 'Is Show Display Name' attribute.- Returns:
- the value of the 'Is Show Display Name' attribute.
- See Also:
setIsShowDisplayName(boolean),RhapsodyPackage.getModelElement_IsShowDisplayName()
-
setIsShowDisplayName
void setIsShowDisplayName(boolean value)
Sets the value of the 'Is Show Display Name' attribute.- Parameters:
value- the new value of the 'Is Show Display Name' attribute.- See Also:
isShowDisplayName()
-
getDescriptionRTF
java.lang.String getDescriptionRTF()
Returns the value of the 'Description RTF' attribute. The default value is"".- Returns:
- the value of the 'Description RTF' attribute.
- See Also:
setDescriptionRTF(String),RhapsodyPackage.getModelElement_DescriptionRTF()
-
setDescriptionRTF
void setDescriptionRTF(java.lang.String value)
Sets the value of the 'Description RTF' attribute.- Parameters:
value- the new value of the 'Description RTF' attribute.- See Also:
getDescriptionRTF()
-
getDescriptionHTML
java.lang.String getDescriptionHTML()
Returns the value of the 'Description HTML' attribute. The default value is"".- Returns:
- the value of the 'Description HTML' attribute.
- See Also:
setDescriptionHTML(String),RhapsodyPackage.getModelElement_DescriptionHTML()
-
setDescriptionHTML
void setDescriptionHTML(java.lang.String value)
Sets the value of the 'Description HTML' attribute.- Parameters:
value- the new value of the 'Description HTML' attribute.- See Also:
getDescriptionHTML()
-
isExternal
boolean isExternal()
Returns the value of the 'Is External' attribute.- Returns:
- the value of the 'Is External' attribute.
- See Also:
setIsExternal(boolean),RhapsodyPackage.getModelElement_IsExternal()
-
setIsExternal
void setIsExternal(boolean value)
Sets the value of the 'Is External' attribute.- Parameters:
value- the new value of the 'Is External' attribute.- See Also:
isExternal()
-
getUserDefinedMetaClass
java.lang.String getUserDefinedMetaClass()
Returns the value of the 'User Defined Meta Class' attribute. The default value is"".- Returns:
- the value of the 'User Defined Meta Class' attribute.
- See Also:
setUserDefinedMetaClass(String),RhapsodyPackage.getModelElement_UserDefinedMetaClass()
-
setUserDefinedMetaClass
void setUserDefinedMetaClass(java.lang.String value)
Sets the value of the 'User Defined Meta Class' attribute.- Parameters:
value- the new value of the 'User Defined Meta Class' attribute.- See Also:
getUserDefinedMetaClass()
-
isUnresolved
boolean isUnresolved()
Returns the value of the 'Is Unresolved' attribute.- Returns:
- the value of the 'Is Unresolved' attribute.
- See Also:
setIsUnresolved(boolean),RhapsodyPackage.getModelElement_IsUnresolved()
-
setIsUnresolved
void setIsUnresolved(boolean value)
Sets the value of the 'Is Unresolved' attribute.- Parameters:
value- the new value of the 'Is Unresolved' attribute.- See Also:
isUnresolved()
-
getInterfaceName
java.lang.String getInterfaceName()
Returns the value of the 'Interface Name' attribute. The default value is"".- Returns:
- the value of the 'Interface Name' attribute.
- See Also:
setInterfaceName(String),RhapsodyPackage.getModelElement_InterfaceName()
-
setInterfaceName
void setInterfaceName(java.lang.String value)
Sets the value of the 'Interface Name' attribute.- Parameters:
value- the new value of the 'Interface Name' attribute.- See Also:
getInterfaceName()
-
getFullPathName
java.lang.String getFullPathName()
Returns the value of the 'Full Path Name' attribute. The default value is"".- Returns:
- the value of the 'Full Path Name' attribute.
- See Also:
setFullPathName(String),RhapsodyPackage.getModelElement_FullPathName()
-
setFullPathName
void setFullPathName(java.lang.String value)
Sets the value of the 'Full Path Name' attribute.- Parameters:
value- the new value of the 'Full Path Name' attribute.- See Also:
getFullPathName()
-
isATemplate
boolean isATemplate()
Returns the value of the 'Is ATemplate' attribute.- Returns:
- the value of the 'Is ATemplate' attribute.
- See Also:
setIsATemplate(boolean),RhapsodyPackage.getModelElement_IsATemplate()
-
setIsATemplate
void setIsATemplate(boolean value)
Sets the value of the 'Is ATemplate' attribute.- Parameters:
value- the new value of the 'Is ATemplate' attribute.- See Also:
isATemplate()
-
getOwner
ModelElement getOwner()
Returns the value of the 'Owner' reference.- Returns:
- the value of the 'Owner' reference.
- See Also:
setOwner(ModelElement),RhapsodyPackage.getModelElement_Owner()
-
setOwner
void setOwner(ModelElement value)
Sets the value of the 'Owner' reference.- Parameters:
value- the new value of the 'Owner' reference.- See Also:
getOwner()
-
getProject
Project getProject()
Returns the value of the 'Project' reference.- Returns:
- the value of the 'Project' reference.
- See Also:
setProject(Project),RhapsodyPackage.getModelElement_Project()
-
setProject
void setProject(Project value)
Sets the value of the 'Project' reference.- Parameters:
value- the new value of the 'Project' reference.- See Also:
getProject()
-
getStereotype
Stereotype getStereotype()
Returns the value of the 'Stereotype' reference.- Returns:
- the value of the 'Stereotype' reference.
- See Also:
setStereotype(Stereotype),RhapsodyPackage.getModelElement_Stereotype()
-
setStereotype
void setStereotype(Stereotype value)
Sets the value of the 'Stereotype' reference.- Parameters:
value- the new value of the 'Stereotype' reference.- See Also:
getStereotype()
-
getTi
TemplateInstantiation getTi()
Returns the value of the 'Ti' reference.- Returns:
- the value of the 'Ti' reference.
- See Also:
setTi(TemplateInstantiation),RhapsodyPackage.getModelElement_Ti()
-
setTi
void setTi(TemplateInstantiation value)
Sets the value of the 'Ti' reference.- Parameters:
value- the new value of the 'Ti' reference.- See Also:
getTi()
-
getOfTemplate
ModelElement getOfTemplate()
Returns the value of the 'Of Template' reference.- Returns:
- the value of the 'Of Template' reference.
- See Also:
setOfTemplate(ModelElement),RhapsodyPackage.getModelElement_OfTemplate()
-
setOfTemplate
void setOfTemplate(ModelElement value)
Sets the value of the 'Of Template' reference.- Parameters:
value- the new value of the 'Of Template' reference.- See Also:
getOfTemplate()
-
getConstraints
MDWEList getConstraints()
Returns the value of the 'Constraints' reference list. The list contents are of typeConstraint.- Returns:
- the value of the 'Constraints' reference list.
- See Also:
RhapsodyPackage.getModelElement_Constraints()
-
getConstraintsByHim
MDWEList getConstraintsByHim()
Returns the value of the 'Constraints By Him' reference list. The list contents are of typeConstraint.- Returns:
- the value of the 'Constraints By Him' reference list.
- See Also:
RhapsodyPackage.getModelElement_ConstraintsByHim()
-
getTemplateParameters
MDWEList getTemplateParameters()
Returns the value of the 'Template Parameters' reference list. The list contents are of typeTemplateParameter.- Returns:
- the value of the 'Template Parameters' reference list.
- See Also:
RhapsodyPackage.getModelElement_TemplateParameters()
-
getMainDiagram
Diagram getMainDiagram()
Returns the value of the 'Main Diagram' reference.- Returns:
- the value of the 'Main Diagram' reference.
- See Also:
setMainDiagram(Diagram),RhapsodyPackage.getModelElement_MainDiagram()
-
setMainDiagram
void setMainDiagram(Diagram value)
Sets the value of the 'Main Diagram' reference.- Parameters:
value- the new value of the 'Main Diagram' reference.- See Also:
getMainDiagram()
-
getAnnotations
MDWEList getAnnotations()
Returns the value of the 'Annotations' reference list. The list contents are of typeAnnotation.- Returns:
- the value of the 'Annotations' reference list.
- See Also:
RhapsodyPackage.getModelElement_Annotations()
-
getDependencies
MDWEList getDependencies()
Returns the value of the 'Dependencies' reference list. The list contents are of typeDependency. It is bidirectional and its opposite is 'Dependent'.- Returns:
- the value of the 'Dependencies' reference list.
- See Also:
RhapsodyPackage.getModelElement_Dependencies(),Dependency.getDependent()
-
getHyperLinks
MDWEList getHyperLinks()
Returns the value of the 'Hyper Links' reference list. The list contents are of typeHyperLink.- Returns:
- the value of the 'Hyper Links' reference list.
- See Also:
RhapsodyPackage.getModelElement_HyperLinks()
-
getLocalTags
MDWEList getLocalTags()
Returns the value of the 'Local Tags' reference list. The list contents are of typeTag.- Returns:
- the value of the 'Local Tags' reference list.
- See Also:
RhapsodyPackage.getModelElement_LocalTags()
-
getAllTags
MDWEList getAllTags()
Returns the value of the 'All Tags' reference list. The list contents are of typeTag.- Returns:
- the value of the 'All Tags' reference list.
- See Also:
RhapsodyPackage.getModelElement_AllTags()
-
getReferences
MDWEList getReferences()
Returns the value of the 'References' reference list. The list contents are of typeModelElement.- Returns:
- the value of the 'References' reference list.
- See Also:
RhapsodyPackage.getModelElement_References()
-
getControlledFiles
MDWEList getControlledFiles()
Returns the value of the 'Controlled Files' reference list. The list contents are of typeControlledFile.- Returns:
- the value of the 'Controlled Files' reference list.
- See Also:
RhapsodyPackage.getModelElement_ControlledFiles()
-
getStereotypes
MDWEList getStereotypes()
Returns the value of the 'Stereotypes' reference list. The list contents are of typeStereotype.- Returns:
- the value of the 'Stereotypes' reference list.
- See Also:
RhapsodyPackage.getModelElement_Stereotypes()
-
getProperties
MDWEList getProperties()
Returns the value of the 'Properties' reference list. The list contents are of typeProperty.- Returns:
- the value of the 'Properties' reference list.
- See Also:
RhapsodyPackage.getModelElement_Properties()
-
getOwnedDependencies
MDWEList getOwnedDependencies()
Returns the value of the 'Owned Dependencies' containment reference list. The list contents are of typeDependency.- Returns:
- the value of the 'Owned Dependencies' containment reference list.
- See Also:
RhapsodyPackage.getModelElement_OwnedDependencies()
-
getProperty
java.lang.String getProperty(java.lang.String key)
-
-