|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--UML.Semantic.Foundation.Core.ModelElement
|
+--UML.Semantic.Foundation.Core.Generalization
A generalization is a taxonomic relationship between a more general element and a more specific element. The more specific element is fully consistent with the more general element (it has all of its properties, members, and relationships) and may contain additional information.
In the metamodel a Generalization is a directed inheritance relationship, uniting a GeneralizableElement with a more general GeneralizableElement in a hierarchy. Generalization is a subtyping relationship, i.e. an Instance of the more general GeneralizableElement may be substituted by an Instance of the more specific GeneralizableElement.
| Constructor Summary | |
Generalization()
Constructor. |
|
| Method Summary | |
boolean |
check()
Checks if well-formedness rules are respected in this model element. |
java.lang.String |
getDiscriminator()
Gets the generalization discriminator. |
void |
getInfo()
Gets info on Generalization. |
GeneralizableElement |
getSubtype()
Gets the subtype of this generalization. |
GeneralizableElement |
getSupertype()
Gets the supertype of this generalization. |
void |
setDiscriminator(java.lang.String disc)
Sets the generalization discriminator to given value. |
void |
setSubtype(java.lang.String subtype)
Sets the subtype of this generalization. |
void |
setSupertype(java.lang.String supertype)
Sets the supertype of this generalization. |
| Methods inherited from class UML.Semantic.Foundation.Core.ModelElement |
add, add, getBindingList, getConstraintList, getElementType, getErrors, getHref, getId, getIdentification, getIdref, getIndex, getIsOwned, getLabel, getLocator, getName, getNamespace, getNamespaceId, getStereotype, getTemplate, getTemplateParameterList, getTitle, getUuid, getUuidref, getVisibility, getVisibilitySymbol, getWarnings, setElementType, setErrors, setHref, setId, setIdref, setIndex, setIsOwned, setLabel, setName, setNamespace, setTemplate, setTitle, setUuid, setUuidref, setVisibility, setWarnings |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Generalization()
| Method Detail |
public void setDiscriminator(java.lang.String disc)
public java.lang.String getDiscriminator()
public void setSubtype(java.lang.String subtype)
public GeneralizableElement getSubtype()
public void setSupertype(java.lang.String supertype)
public GeneralizableElement getSupertype()
public boolean check()
check in class ModelElementpublic void getInfo()
getInfo in class ModelElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||