|
||||||||||||
| 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 java.lang.String |
copyright
|
| Method Summary | |
|---|---|
Classifier |
getGeneral()
Returns the value of the 'General' reference |
GeneralizationSet |
getGeneralizationSet(java.lang.String name)
Retrieves the GeneralizationSet with the specified 'Name' from the 'Generalization Set' reference list |
EList |
getGeneralizationSets()
Returns the value of the 'Generalization Set' reference list. |
Classifier |
getSpecific()
Returns the value of the 'Specific' container reference. |
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 |
|---|
getSources, getTargets |
| Methods inherited from interface org.eclipse.uml2.Relationship |
|---|
getRelatedElements |
| Methods inherited from interface org.eclipse.uml2.Element |
|---|
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getValue, hasKeyword, hasValue, 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 java.lang.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(java.lang.String name)
GeneralizationSet with the specified 'Name' from the 'Generalization Set' reference list.
name - The 'Name' of the GeneralizationSet to retrieve.
GeneralizationSet with the specified 'Name', or null.getGeneralizationSets()
|
Copyright 2003, 2005 IBM Corporation and others. All Rights Reserved. |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||