|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Generalization'. A generalization relates a specific classifier to a more general classifier, and is owned by the specific classifier. Package PowerTypes (�PowerTypes� on page 109) A generalization can be designated as being a member of a particular generalization set.
The following features are supported:
UML2Package.getGeneralization()
Field Summary | |
static String |
copyright
|
Method Summary | |
Classifier |
getGeneral()
Returns the value of the 'General' reference |
GeneralizationSet |
getGeneralizationSet(String unqualifiedName)
Retrieves the GeneralizationSet with the specified name from the 'Generalization Set' reference list |
EList |
getGeneralizationSets()
Returns the value of the 'Generalization Set' reference list. |
Element |
getOwner()
|
EList |
getSources()
|
Classifier |
getSpecific()
Returns the value of the 'Specific' container reference. |
EList |
getTargets()
|
boolean |
isSubstitutable()
Returns the value of the 'Is Substitutable' attribute |
void |
setGeneral(Classifier value)
Sets the value of the ' General ' reference |
void |
setIsSubstitutable(boolean value)
Sets the value of the ' Is Substitutable ' attribute |
void |
setSpecific(Classifier value)
Sets the value of the ' Specific ' container reference |
Methods inherited from interface org.eclipse.uml2.DirectedRelationship |
getRelatedElements |
Methods inherited from interface org.eclipse.uml2.Element |
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf |
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, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Field Detail |
public static final String copyright
Method Detail |
public boolean isSubstitutable()
If the meaning of the 'Is Substitutable' attribute isn't clear, there really should be more of a description here...
Indicates whether the specific classifier can be used whereever the general classifier can be used. If true, the execution traces of the specific classifier will be a superset of the execution traces of the general classifier.
setIsSubstitutable(boolean)
,
UML2Package.getGeneralization_IsSubstitutable()
public void setIsSubstitutable(boolean value)
Is Substitutable
' attribute.
value
- the new value of the 'Is Substitutable' attribute.isSubstitutable()
public Classifier getSpecific()
Generalization
'.
If the meaning of the 'Specific' container reference isn't clear, there really should be more of a description here...
References the specializing classifier in the Generalization relationship. Subsets DirectedRelationship::source and Element::owner. Package PowerTypes (�PowerTypes� on page 109) � generalizationSet Designates a set in which instances of Generalization is considered members.
setSpecific(Classifier)
,
UML2Package.getGeneralization_Specific()
,
Classifier.getGeneralizations()
public void setSpecific(Classifier value)
Specific
' container reference.
value
- the new value of the 'Specific' container reference.getSpecific()
public Classifier getGeneral()
If the meaning of the 'General' reference isn't clear, there really should be more of a description here...
References the general classifier in the Generalization relationship. Subsets DirectedRelationship::target.
setGeneral(Classifier)
,
UML2Package.getGeneralization_General()
public void setGeneral(Classifier value)
General
' reference.
value
- the new value of the 'General' reference.getGeneral()
public EList getGeneralizationSets()
GeneralizationSet
.
It is bidirectional and its opposite is 'Generalization
'.
If the meaning of the 'Generalization Set' reference list isn't clear, there really should be more of a description here...
UML2Package.getGeneralization_GeneralizationSet()
,
GeneralizationSet.getGeneralizations()
public GeneralizationSet getGeneralizationSet(String unqualifiedName)
GeneralizationSet
with the specified name from the 'Generalization Set' reference list.
unqualifiedName
- The unqualified name of the GeneralizationSet
to retrieve.
GeneralizationSet
with the specified name, or null
.getGeneralizationSets()
public EList getSources()
getSources
in interface DirectedRelationship
UML2Package.getDirectedRelationship_Source()
public Element getOwner()
getOwner
in interface Element
UML2Package.getElement_Owner()
,
Element.getOwnedElements()
public EList getTargets()
getTargets
in interface DirectedRelationship
UML2Package.getDirectedRelationship_Target()
|
Copyright 2003, 2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |