Interface GeneralizationSet
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,ModelObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,PackageableElement
,ParameterableElement
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
public interface GeneralizationSet extends PackageableElement
A representation of the model object 'Generalization Set'.A GeneralizationSet is a PackageableElement whose instances represent sets of Generalization relationships.
The following features are supported:
- See Also:
UMLPackage.getGeneralizationSet()
- Model:
- annotation="MOF package='classes.mdpowertypes'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<Generalization>
getGeneralization()
Returns the value of the 'Generalization' reference list.Classifier
getPowertype()
Returns the value of the 'Powertype' reference.boolean
hasGeneralization()
boolean
isCovering()
Returns the value of the 'Covering' attribute.boolean
isDisjoint()
Returns the value of the 'Disjoint' attribute.void
setCovering(boolean value)
Sets the value of the 'Covering
' attribute.void
setDisjoint(boolean value)
Sets the value of the 'Disjoint
' attribute.void
setPowertype(Classifier value)
Sets the value of the 'Powertype
' reference.-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
-
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.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.PackageableElement
get_componentOfPackagedElement, get_elementImportOfImportedElement, get_manifestationOfUtilizedElement, getOwningPackage, getVisibility, has_elementImportOfImportedElement, has_manifestationOfUtilizedElement, set_componentOfPackagedElement, setOwningPackage, setVisibility
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.ParameterableElement
get_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, getTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameter
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
-
-
-
Method Detail
-
isCovering
boolean isCovering()
Returns the value of the 'Covering' attribute. The default value is"false"
. Indicates (via the associated Generalizations) whether or not the set of specific Classifiers are covering for a particular general classifier. When isCovering is true, every instance of a particular general Classifier is also an instance of at least one of its specific Classifiers for the GeneralizationSet. When isCovering is false, there are one or more instances of the particular general Classifier that are not instances of at least one of its specific Classifiers defined for the GeneralizationSet.- Returns:
- the value of the 'Covering' attribute.
- See Also:
setCovering(boolean)
,com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getGeneralizationSet_Covering()
- Model:
- default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
- Generated:
-
setCovering
void setCovering(boolean value)
Sets the value of the 'Covering
' attribute.- Parameters:
value
- the new value of the 'Covering' attribute.- See Also:
isCovering()
- Generated:
-
isDisjoint
boolean isDisjoint()
Returns the value of the 'Disjoint' attribute. The default value is"false"
. Indicates whether or not the set of specific Classifiers in a Generalization relationship have instance in common. If isDisjoint is true, the specific Classifiers for a particular GeneralizationSet have no members in common; that is, their intersection is empty. If isDisjoint is false, the specific Classifiers in a particular GeneralizationSet have one or more members in common; that is, their intersection is not empty.- Returns:
- the value of the 'Disjoint' attribute.
- See Also:
setDisjoint(boolean)
,com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getGeneralizationSet_Disjoint()
- Model:
- default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
- Generated:
-
setDisjoint
void setDisjoint(boolean value)
Sets the value of the 'Disjoint
' attribute.- Parameters:
value
- the new value of the 'Disjoint' attribute.- See Also:
isDisjoint()
- Generated:
-
getPowertype
@CheckForNull Classifier getPowertype()
Returns the value of the 'Powertype' reference. It is bidirectional and its opposite is 'Powertype Extent
'. Designates the Classifier that is defined as the power type for the associated GeneralizationSet, if there is one.- Returns:
- the value of the 'Powertype' reference.
- See Also:
setPowertype(Classifier)
,UMLPackage.getGeneralizationSet_Powertype()
,Classifier.getPowertypeExtent()
- Model:
- opposite="powertypeExtent" ordered="false"
- Generated:
-
setPowertype
void setPowertype(@CheckForNull Classifier value)
Sets the value of the 'Powertype
' reference.- Parameters:
value
- the new value of the 'Powertype' reference.- See Also:
getPowertype()
- Generated:
-
getGeneralization
java.util.Collection<Generalization> getGeneralization()
Returns the value of the 'Generalization' reference list. The list contents are of typeGeneralization
. It is bidirectional and its opposite is 'Generalization Set
'. Designates the instances of Generalization that are members of this GeneralizationSet.- Returns:
- the value of the 'Generalization' reference list.
- See Also:
UMLPackage.getGeneralizationSet_Generalization()
,Generalization.getGeneralizationSet()
- Model:
- opposite="generalizationSet" ordered="false"
- Generated:
-
hasGeneralization
boolean hasGeneralization() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
-