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 AssociationClassgetAssociationClass()Returns the value of the 'Association Class' reference.RelationgetInverse()Returns the value of the 'Inverse' reference.java.lang.StringgetMultiplicity()Returns the value of the 'Multiplicity' attribute.ClassgetObjectAsObjectType()Returns the value of the 'Object As Object Type' reference.ClassifiergetOfClass()Returns the value of the 'Of Class' reference.ClassifiergetOtherClass()Returns the value of the 'Other Class' reference.java.lang.StringgetQualifier()Returns the value of the 'Qualifier' attribute.ClassifiergetQualifierType()Returns the value of the 'Qualifier Type' reference.java.lang.StringgetRelationLabel()Returns the value of the 'Relation Label' attribute.java.lang.StringgetRelationLinkName()Returns the value of the 'Relation Link Name' attribute.java.lang.StringgetRelationRoleName()Returns the value of the 'Relation Role Name' attribute.RelationKindgetRelationType()Returns the value of the 'Relation Type' attribute.VisibilityKindgetVisibility()Returns the value of the 'Visibility' attribute.booleanisNavigable()Returns the value of the 'Is Navigable' attribute.booleanisSymmetric()Returns the value of the 'Is Symmetric' attribute.booleanisTypelessObject()Returns the value of the 'Is Typeless Object' attribute.voidsetAssociationClass(AssociationClass value)Sets the value of the 'Association Class' reference.voidsetInverse(Relation value)Sets the value of the 'Inverse' reference.voidsetIsNavigable(boolean value)Sets the value of the 'Is Navigable' attribute.voidsetIsSymmetric(boolean value)Sets the value of the 'Is Symmetric' attribute.voidsetIsTypelessObject(boolean value)Sets the value of the 'Is Typeless Object' attribute.voidsetMultiplicity(java.lang.String value)Sets the value of the 'Multiplicity' attribute.voidsetObjectAsObjectType(Class value)Sets the value of the 'Object As Object Type' reference.voidsetOfClass(Classifier value)Sets the value of the 'Of Class' reference.voidsetOtherClass(Classifier value)Sets the value of the 'Other Class' reference.voidsetQualifier(java.lang.String value)Sets the value of the 'Qualifier' attribute.voidsetQualifierType(Classifier value)Sets the value of the 'Qualifier Type' reference.voidsetRelationLabel(java.lang.String value)Sets the value of the 'Relation Label' attribute.voidsetRelationLinkName(java.lang.String value)Sets the value of the 'Relation Link Name' attribute.voidsetRelationRoleName(java.lang.String value)Sets the value of the 'Relation Role Name' attribute.voidsetRelationType(RelationKind value)Sets the value of the 'Relation Type' attribute.voidsetVisibility(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()
-
-