|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GeneralizableElement
A generalizable element is a model element that may participate in a generalization relationship. In the metamodel, a GeneralizableElement can be a generalization of other GeneralizableElements (i.e., all Features defined in and all ModelElements contained in the ancestors are also present in the GeneralizableElement). GeneralizableElement is an abstract metaclass.
Method Summary | |
---|---|
Collection |
getGeneralization()
Designates a Generalization whose parent GeneralizableElement is the immediate ancestor of the current GeneralizableElement. |
boolean |
getIsAbstract()
Specifies whether the GeneralizableElement may not have a direct instance. |
boolean |
getIsLeaf()
Specifies whether the GeneralizableElement is a GeneralizableElement with no descendents. |
boolean |
getIsRoot()
Specifies whether the GeneralizableElement is a root GeneralizableElement with no ancestors. |
Collection |
getSpecialization()
Designates a Generalization whose child GeneralizableElement is the immediate descendent of the current GeneralizableElement. |
void |
setIsAbstract(boolean isAbstract)
Setter for atomic property isAbstract) |
void |
setIsLeaf(boolean isLeaf)
Setter for atomic property isLeaf) |
void |
setIsRoot(boolean isRoot)
Setter for atomic property isRoot) |
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 |
---|
boolean getIsAbstract() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setIsAbstract(boolean isAbstract) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean getIsLeaf() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setIsLeaf(boolean isLeaf) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean getIsRoot() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setIsRoot(boolean isRoot) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getGeneralization() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getSpecialization() 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 |