|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ashridgetech.jamda.uml.ModelElement | +--com.ashridgetech.jamda.uml.Generalization
A UML Generalization. For package scope use only.
Nested Class Summary |
Nested classes inherited from class com.ashridgetech.jamda.uml.ModelElement |
ModelElement.DuplicateElementException, ModelElement.ElementListStore, ModelElement.ElementNameListStore, ModelElement.ElementNameStore, ModelElement.ElementStore, ModelElement.TaggedValue, ModelElement.UnknownElementException |
Field Summary |
Fields inherited from class com.ashridgetech.jamda.uml.ModelElement |
DUMMY_STORE |
Constructor Summary | |
protected |
Generalization(ru.novosoft.uml.foundation.core.MGeneralization mg,
ModelPackage mp)
Creates new Generalization from a NSUML MGeneralization object during loading. |
|
Generalization(ModelPackage parentPackage,
StructuredType childType,
StructuredType parentType)
Creates a new Generalization. |
Method Summary | |
protected static java.lang.String |
checkTypes(ModelElement child,
ModelElement parent)
|
void |
checkValid()
Check whether this object is valid. |
ModelElement |
getChildType()
Get the child type (the subtype). |
java.lang.String |
getName()
Get the name of this Generalization. |
ModelElement |
getParentType()
Get the parent type (the supertype). |
Methods inherited from class com.ashridgetech.jamda.uml.ModelElement |
add, addStereotype, addTaggedValue, addTaggedValue, addTaggedValues, addTaggedValuesInternal, checkInitialised, checkState, findTaggedValueCollection, getBooleanTaggedValue, getChildElements, getComment, getDescription, getDirectSource, getElement, getElementType, getFullName, getId, getModel, getNsElement, getOriginalSource, getParentElement, getProperties, getStereotypes, getStringTaggedValue, getSubElementStore, getTaggedValue, getTaggedValues, getXpathContext, hasStereotype, hasTaggedValue, init, initLoad, isInitialised, load, load, load, loadElement, logChange, logger, logger, logLoad, logLoadWarning, logNew, logWarning, removeTaggedValue, select, setComment, setDirectSource, setTaggedValue, setTaggedValue, setTaggedValue, setTaggedValues, stereotype, tag, tagError, toString, type, type, type, xpath, xpathList |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Generalization(ModelPackage parentPackage, StructuredType childType, StructuredType parentType)
protected Generalization(ru.novosoft.uml.foundation.core.MGeneralization mg, ModelPackage mp)
Method Detail |
public java.lang.String getName()
getName
in class ModelElement
Generalization
if it has one, the id otherwisepublic ModelElement getChildType()
public ModelElement getParentType()
public void checkValid() throws java.lang.IllegalStateException
checkValid
in class ModelElement
java.lang.IllegalStateException
- if a problem is foundprotected static java.lang.String checkTypes(ModelElement child, ModelElement parent)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |