|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface 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). See Inheritance for the consequences of Generalization relationships.
Method Summary | |
---|---|
GeneralizableElement |
getChild()
Designates a GeneralizableElement that is the specialized version of the parent GeneralizableElement. |
String |
getDiscriminator()
Designates the partition to which the Generalization link belongs. |
GeneralizableElement |
getParent()
Designates a GeneralizableElement that is the generalized version of the child GeneralizableElement. |
Classifier |
getPowertype()
Designates a Classifier that serves as a powertype for the child element along the dimension of generalization expressed by the Generalization. |
void |
setChild(GeneralizableElement child)
Setter for atomic property child) |
void |
setDiscriminator(String discriminator)
Setter for atomic property discriminator) |
void |
setParent(GeneralizableElement parent)
Setter for atomic property parent) |
void |
setPowertype(Classifier powertype)
Setter for atomic property powertype) |
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.Foundation.Core.ModelElement |
---|
getAsArgument, getBehavior, getClientDependency, getComment, getConstraint, getContainer, getDefaultElement, getIsSpecification, getName, getNamespace, getPackage, getPresentation, getReferenceTag, getSourceFlow, getStereotype, getSupplierDependency, getTaggedValue, getTargetFlow, getTemplate, getTemplateArgument, getTemplateParameter, getVisibility, setDefaultElement, setIsSpecification, setName, setNamespace, setTemplate, setVisibility |
Methods inherited from interface uk.ac.ucl.cs.emofocl.jmi.reflect.extended.ExtObject |
---|
extAddObjectListener, extDeepCopy, extDeepCopy, extEquals, extRemoveObjectListener, extValueHash, extVisit |
Methods inherited from interface javax.jmi.reflect.RefObject |
---|
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite |
Methods inherited from interface javax.jmi.reflect.RefFeatured |
---|
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue |
Methods inherited from interface javax.jmi.reflect.RefBaseObject |
---|
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints |
Method Detail |
---|
String getDiscriminator() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setDiscriminator(String discriminator) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
GeneralizableElement getChild() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setChild(GeneralizableElement child) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
GeneralizableElement getParent() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setParent(GeneralizableElement parent) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Classifier getPowertype() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setPowertype(Classifier powertype) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |