Interface Relation
-
- All Superinterfaces:
java.lang.Comparable<java.lang.Object>
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,MDWEObject
,MDWObject
,ModelElement
,org.eclipse.emf.common.notify.Notifier
,Unit
public interface Relation extends Unit
A representation of the model object 'Relation'.The following features are supported:
- See Also:
RhapsodyPackage.getRelation()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssociationClass
getAssociationClass()
Returns the value of the 'Association Class' reference.Relation
getInverse()
Returns the value of the 'Inverse' reference.java.lang.String
getMultiplicity()
Returns the value of the 'Multiplicity' attribute.Class
getObjectAsObjectType()
Returns the value of the 'Object As Object Type' reference.Classifier
getOfClass()
Returns the value of the 'Of Class' reference.Classifier
getOtherClass()
Returns the value of the 'Other Class' reference.java.lang.String
getQualifier()
Returns the value of the 'Qualifier' attribute.Classifier
getQualifierType()
Returns the value of the 'Qualifier Type' reference.java.lang.String
getRelationLabel()
Returns the value of the 'Relation Label' attribute.java.lang.String
getRelationLinkName()
Returns the value of the 'Relation Link Name' attribute.java.lang.String
getRelationRoleName()
Returns the value of the 'Relation Role Name' attribute.RelationKind
getRelationType()
Returns the value of the 'Relation Type' attribute.VisibilityKind
getVisibility()
Returns the value of the 'Visibility' attribute.boolean
isNavigable()
Returns the value of the 'Is Navigable' attribute.boolean
isSymmetric()
Returns the value of the 'Is Symmetric' attribute.boolean
isTypelessObject()
Returns the value of the 'Is Typeless Object' attribute.void
setAssociationClass(AssociationClass value)
Sets the value of the 'Association Class
' reference.void
setInverse(Relation value)
Sets the value of the 'Inverse
' reference.void
setIsNavigable(boolean value)
Sets the value of the 'Is Navigable
' attribute.void
setIsSymmetric(boolean value)
Sets the value of the 'Is Symmetric
' attribute.void
setIsTypelessObject(boolean value)
Sets the value of the 'Is Typeless Object
' attribute.void
setMultiplicity(java.lang.String value)
Sets the value of the 'Multiplicity
' attribute.void
setObjectAsObjectType(Class value)
Sets the value of the 'Object As Object Type
' reference.void
setOfClass(Classifier value)
Sets the value of the 'Of Class
' reference.void
setOtherClass(Classifier value)
Sets the value of the 'Other Class
' reference.void
setQualifier(java.lang.String value)
Sets the value of the 'Qualifier
' attribute.void
setQualifierType(Classifier value)
Sets the value of the 'Qualifier Type
' reference.void
setRelationLabel(java.lang.String value)
Sets the value of the 'Relation Label
' attribute.void
setRelationLinkName(java.lang.String value)
Sets the value of the 'Relation Link Name
' attribute.void
setRelationRoleName(java.lang.String value)
Sets the value of the 'Relation Role Name
' attribute.void
setRelationType(RelationKind value)
Sets the value of the 'Relation Type
' attribute.void
setVisibility(VisibilityKind value)
Sets the value of the 'Visibility
' 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
-
Methods inherited from interface com.sodius.mdw.metamodel.rhapsody.ModelElement
getAllTags, getAnnotations, getConstraints, getConstraintsByHim, getControlledFiles, getDependencies, getDescription, getDescriptionHTML, getDescriptionRTF, getDisplayName, getFullPathName, getGUID, getHyperLinks, getInterfaceName, getLocalTags, getMainDiagram, getMetaClass, getName, getOfTemplate, getOwnedDependencies, getOwner, getProject, getProperties, getProperty, getReferences, getStereotype, getStereotypes, getTemplateParameters, getTi, getUserDefinedMetaClass, isATemplate, isExternal, isRequirementTraceabilityHandle, isShowDisplayName, isUnresolved, setDescription, setDescriptionHTML, setDescriptionRTF, setDisplayName, setFullPathName, setGUID, setInterfaceName, setIsATemplate, setIsExternal, setIsShowDisplayName, setIsUnresolved, setMainDiagram, setMetaClass, setName, setOfTemplate, setOwner, setProject, setRequirementTraceabilityHandle, setStereotype, setTi, setUserDefinedMetaClass
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.sodius.mdw.metamodel.rhapsody.Unit
getCMHeader, getCurrentDirectory, getFilename, getLanguage, getLastModifiedTime, getStructureDiagrams, isIncludeInNextLoad, isReadOnly, isReferenceUnit, isSeparateSaveUnit, isStub, setCMHeader, setCurrentDirectory, setFilename, setIncludeInNextLoad, setIsReadOnly, setIsReferenceUnit, setIsSeparateSaveUnit, setIsStub, setLanguage, setLastModifiedTime
-
-
-
-
Method Detail
-
getRelationRoleName
java.lang.String getRelationRoleName()
Returns the value of the 'Relation Role Name' attribute. The default value is""
.- Returns:
- the value of the 'Relation Role Name' attribute.
- See Also:
setRelationRoleName(String)
,RhapsodyPackage.getRelation_RelationRoleName()
-
setRelationRoleName
void setRelationRoleName(java.lang.String value)
Sets the value of the 'Relation Role Name
' attribute.- Parameters:
value
- the new value of the 'Relation Role Name' attribute.- See Also:
getRelationRoleName()
-
getMultiplicity
java.lang.String getMultiplicity()
Returns the value of the 'Multiplicity' attribute. The default value is""
.- Returns:
- the value of the 'Multiplicity' attribute.
- See Also:
setMultiplicity(String)
,RhapsodyPackage.getRelation_Multiplicity()
-
setMultiplicity
void setMultiplicity(java.lang.String value)
Sets the value of the 'Multiplicity
' attribute.- Parameters:
value
- the new value of the 'Multiplicity' attribute.- See Also:
getMultiplicity()
-
getQualifier
java.lang.String getQualifier()
Returns the value of the 'Qualifier' attribute. The default value is""
.- Returns:
- the value of the 'Qualifier' attribute.
- See Also:
setQualifier(String)
,RhapsodyPackage.getRelation_Qualifier()
-
setQualifier
void setQualifier(java.lang.String value)
Sets the value of the 'Qualifier
' attribute.- Parameters:
value
- the new value of the 'Qualifier' attribute.- See Also:
getQualifier()
-
getRelationType
RelationKind getRelationType()
Returns the value of the 'Relation Type' attribute. The default value is""
. The literals are from the enumerationRelationKind
.- Returns:
- the value of the 'Relation Type' attribute.
- See Also:
RelationKind
,setRelationType(RelationKind)
,RhapsodyPackage.getRelation_RelationType()
-
setRelationType
void setRelationType(RelationKind value)
Sets the value of the 'Relation Type
' attribute.- Parameters:
value
- the new value of the 'Relation Type' attribute.- See Also:
RelationKind
,getRelationType()
-
getVisibility
VisibilityKind getVisibility()
Returns the value of the 'Visibility' attribute. The default value is""
. The literals are from the enumerationVisibilityKind
.- Returns:
- the value of the 'Visibility' attribute.
- See Also:
VisibilityKind
,setVisibility(VisibilityKind)
,RhapsodyPackage.getRelation_Visibility()
-
setVisibility
void setVisibility(VisibilityKind value)
Sets the value of the 'Visibility
' attribute.- Parameters:
value
- the new value of the 'Visibility' attribute.- See Also:
VisibilityKind
,getVisibility()
-
isSymmetric
boolean isSymmetric()
Returns the value of the 'Is Symmetric' attribute.- Returns:
- the value of the 'Is Symmetric' attribute.
- See Also:
setIsSymmetric(boolean)
,RhapsodyPackage.getRelation_IsSymmetric()
-
setIsSymmetric
void setIsSymmetric(boolean value)
Sets the value of the 'Is Symmetric
' attribute.- Parameters:
value
- the new value of the 'Is Symmetric' attribute.- See Also:
isSymmetric()
-
getRelationLinkName
java.lang.String getRelationLinkName()
Returns the value of the 'Relation Link Name' attribute. The default value is""
.- Returns:
- the value of the 'Relation Link Name' attribute.
- See Also:
setRelationLinkName(String)
,RhapsodyPackage.getRelation_RelationLinkName()
-
setRelationLinkName
void setRelationLinkName(java.lang.String value)
Sets the value of the 'Relation Link Name
' attribute.- Parameters:
value
- the new value of the 'Relation Link Name' attribute.- See Also:
getRelationLinkName()
-
getRelationLabel
java.lang.String getRelationLabel()
Returns the value of the 'Relation Label' attribute. The default value is""
.- Returns:
- the value of the 'Relation Label' attribute.
- See Also:
setRelationLabel(String)
,RhapsodyPackage.getRelation_RelationLabel()
-
setRelationLabel
void setRelationLabel(java.lang.String value)
Sets the value of the 'Relation Label
' attribute.- Parameters:
value
- the new value of the 'Relation Label' attribute.- See Also:
getRelationLabel()
-
isNavigable
boolean isNavigable()
Returns the value of the 'Is Navigable' attribute.- Returns:
- the value of the 'Is Navigable' attribute.
- See Also:
setIsNavigable(boolean)
,RhapsodyPackage.getRelation_IsNavigable()
-
setIsNavigable
void setIsNavigable(boolean value)
Sets the value of the 'Is Navigable
' attribute.- Parameters:
value
- the new value of the 'Is Navigable' attribute.- See Also:
isNavigable()
-
isTypelessObject
boolean isTypelessObject()
Returns the value of the 'Is Typeless Object' attribute.- Returns:
- the value of the 'Is Typeless Object' attribute.
- See Also:
setIsTypelessObject(boolean)
,RhapsodyPackage.getRelation_IsTypelessObject()
-
setIsTypelessObject
void setIsTypelessObject(boolean value)
Sets the value of the 'Is Typeless Object
' attribute.- Parameters:
value
- the new value of the 'Is Typeless Object' attribute.- See Also:
isTypelessObject()
-
getOfClass
Classifier getOfClass()
Returns the value of the 'Of Class' reference.- Returns:
- the value of the 'Of Class' reference.
- See Also:
setOfClass(Classifier)
,RhapsodyPackage.getRelation_OfClass()
-
setOfClass
void setOfClass(Classifier value)
Sets the value of the 'Of Class
' reference.- Parameters:
value
- the new value of the 'Of Class' reference.- See Also:
getOfClass()
-
getOtherClass
Classifier getOtherClass()
Returns the value of the 'Other Class' reference.- Returns:
- the value of the 'Other Class' reference.
- See Also:
setOtherClass(Classifier)
,RhapsodyPackage.getRelation_OtherClass()
-
setOtherClass
void setOtherClass(Classifier value)
Sets the value of the 'Other Class
' reference.- Parameters:
value
- the new value of the 'Other Class' reference.- See Also:
getOtherClass()
-
getInverse
Relation getInverse()
Returns the value of the 'Inverse' reference.- Returns:
- the value of the 'Inverse' reference.
- See Also:
setInverse(Relation)
,RhapsodyPackage.getRelation_Inverse()
-
setInverse
void setInverse(Relation value)
Sets the value of the 'Inverse
' reference.- Parameters:
value
- the new value of the 'Inverse' reference.- See Also:
getInverse()
-
getObjectAsObjectType
Class getObjectAsObjectType()
Returns the value of the 'Object As Object Type' reference.- Returns:
- the value of the 'Object As Object Type' reference.
- See Also:
setObjectAsObjectType(com.sodius.mdw.metamodel.rhapsody.Class)
,RhapsodyPackage.getRelation_ObjectAsObjectType()
-
setObjectAsObjectType
void setObjectAsObjectType(Class value)
Sets the value of the 'Object As Object Type
' reference.- Parameters:
value
- the new value of the 'Object As Object Type' reference.- See Also:
getObjectAsObjectType()
-
getAssociationClass
AssociationClass getAssociationClass()
Returns the value of the 'Association Class' reference.- Returns:
- the value of the 'Association Class' reference.
- See Also:
setAssociationClass(AssociationClass)
,RhapsodyPackage.getRelation_AssociationClass()
-
setAssociationClass
void setAssociationClass(AssociationClass value)
Sets the value of the 'Association Class
' reference.- Parameters:
value
- the new value of the 'Association Class' reference.- See Also:
getAssociationClass()
-
getQualifierType
Classifier getQualifierType()
Returns the value of the 'Qualifier Type' reference.- Returns:
- the value of the 'Qualifier Type' reference.
- See Also:
setQualifierType(Classifier)
,RhapsodyPackage.getRelation_QualifierType()
-
setQualifierType
void setQualifierType(Classifier value)
Sets the value of the 'Qualifier Type
' reference.- Parameters:
value
- the new value of the 'Qualifier Type' reference.- See Also:
getQualifierType()
-
-