com.ashridgetech.jamda.uml
Class Abstraction

java.lang.Object
  |
  +--com.ashridgetech.jamda.uml.ModelElement
        |
        +--com.ashridgetech.jamda.uml.Abstraction

class Abstraction
extends ModelElement

A UML Abstraction. For package scope use only.

Version:
1.0
Author:
paulb

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 Abstraction(ru.novosoft.uml.foundation.core.MAbstraction ma, ModelPackage mp)
          Creates new Abstraction from a NSUML MAbstraction object during loading.
  Abstraction(ModelPackage parentPackage, ClassType clientType, InterfaceType supplierType)
          Creates a new Abstraction.
 
Method Summary
 void checkValid()
          Check whether this object is valid.
 java.util.List getClientTypes()
          Get the client types (the subtype).
 java.lang.String getName()
          Get the name of this Stereotype, including the names of the base classes.
 java.util.List getSupplierTypes()
          Get the supplier types (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

Abstraction

public Abstraction(ModelPackage parentPackage,
                   ClassType clientType,
                   InterfaceType supplierType)
Creates a new Abstraction.


Abstraction

protected Abstraction(ru.novosoft.uml.foundation.core.MAbstraction ma,
                      ModelPackage mp)
Creates new Abstraction from a NSUML MAbstraction object during loading.

Method Detail

getName

public java.lang.String getName()
Get the name of this Stereotype, including the names of the base classes.

Overrides:
getName in class ModelElement

getClientTypes

public java.util.List getClientTypes()
Get the client types (the subtype).

Returns:
a List of StructuredType objects for the clients

getSupplierTypes

public java.util.List getSupplierTypes()
Get the supplier types (the supertype).

Returns:
a List of StructuredType objects for the suppliers

checkValid

public void checkValid()
                throws java.lang.IllegalStateException
Check whether this object is valid. Subclasses should call the superclass method if they override this method.

Overrides:
checkValid in class ModelElement
Throws:
java.lang.IllegalStateException - if a problem is found


Copyright © 2003 Ashridge Technologies Ltd. All Rights Reserved.