Interface Generalization
-
- 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
public interface Generalization extends ModelElement
A representation of the model object 'Generalization'.The following features are supported:
- See Also:
RhapsodyPackage.getGeneralization()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassifiergetBaseClass()Returns the value of the 'Base Class' reference.ClassifiergetDerivedClass()Returns the value of the 'Derived Class' reference.java.lang.StringgetExtensionPoint()Returns the value of the 'Extension Point' attribute.VisibilityKindgetVisibility()Returns the value of the 'Visibility' attribute.booleanisVirtual()Returns the value of the 'Is Virtual' attribute.voidsetBaseClass(Classifier value)Sets the value of the 'Base Class' reference.voidsetDerivedClass(Classifier value)Sets the value of the 'Derived Class' reference.voidsetExtensionPoint(java.lang.String value)Sets the value of the 'Extension Point' attribute.voidsetIsVirtual(boolean value)Sets the value of the 'Is Virtual' 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
-
-
-
-
Method Detail
-
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.getGeneralization_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()
-
isVirtual
boolean isVirtual()
Returns the value of the 'Is Virtual' attribute.- Returns:
- the value of the 'Is Virtual' attribute.
- See Also:
setIsVirtual(boolean),RhapsodyPackage.getGeneralization_IsVirtual()
-
setIsVirtual
void setIsVirtual(boolean value)
Sets the value of the 'Is Virtual' attribute.- Parameters:
value- the new value of the 'Is Virtual' attribute.- See Also:
isVirtual()
-
getExtensionPoint
java.lang.String getExtensionPoint()
Returns the value of the 'Extension Point' attribute. The default value is"".- Returns:
- the value of the 'Extension Point' attribute.
- See Also:
setExtensionPoint(String),RhapsodyPackage.getGeneralization_ExtensionPoint()
-
setExtensionPoint
void setExtensionPoint(java.lang.String value)
Sets the value of the 'Extension Point' attribute.- Parameters:
value- the new value of the 'Extension Point' attribute.- See Also:
getExtensionPoint()
-
getBaseClass
Classifier getBaseClass()
Returns the value of the 'Base Class' reference.- Returns:
- the value of the 'Base Class' reference.
- See Also:
setBaseClass(Classifier),RhapsodyPackage.getGeneralization_BaseClass()
-
setBaseClass
void setBaseClass(Classifier value)
Sets the value of the 'Base Class' reference.- Parameters:
value- the new value of the 'Base Class' reference.- See Also:
getBaseClass()
-
getDerivedClass
Classifier getDerivedClass()
Returns the value of the 'Derived Class' reference. It is bidirectional and its opposite is 'Generalizations'.- Returns:
- the value of the 'Derived Class' reference.
- See Also:
setDerivedClass(Classifier),RhapsodyPackage.getGeneralization_DerivedClass(),Classifier.getGeneralizations()
-
setDerivedClass
void setDerivedClass(Classifier value)
Sets the value of the 'Derived Class' reference.- Parameters:
value- the new value of the 'Derived Class' reference.- See Also:
getDerivedClass()
-
-