|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.armax.ax.devtools.uml.AXmodelElementAbstract
de.armax.ax.devtools.uml.nsuml.AXmodelElementNsumlImpl
de.armax.ax.devtools.uml.nsuml.AXclassifierNsumlImpl
de.armax.ax.devtools.uml.nsuml.AXclassNsumlImpl
| Field Summary |
| Fields inherited from class de.armax.ax.devtools.uml.nsuml.AXmodelElementNsumlImpl |
model |
| Fields inherited from interface de.armax.ax.devtools.uml.AXclass |
INTERFACE |
| Constructor Summary | |
AXclassNsumlImpl(ru.novosoft.uml.foundation.core.MClass cls,
AXmodelNsumlImpl model)
|
|
AXclassNsumlImpl(ru.novosoft.uml.foundation.core.MInterface cls,
AXmodelNsumlImpl model)
|
|
| Method Summary | |
boolean |
existSuperClass()
Check weather this class has a super class. |
java.util.List |
getAbstractions()
Get a List of all abstractions for this class or interface. |
java.util.List |
getAccessibleAssociations(boolean excludeImplemented)
Get all associations accessible from this class. |
java.util.List |
getAccessibleAttributes(boolean excludeImplemented)
Get a list of all attributes accessible from this class. |
java.util.List |
getAccessibleNToMAssociations(boolean includeNonNavigable,
boolean excludeImplemented)
Get all accessible N to M associations. |
java.util.List |
getAccessibleOperations(boolean excludeImplemented)
Get a list of all operations accessible from this class. |
java.util.List |
getAccessibleXTo1Associations(boolean includeNonNavigable,
boolean excludeImplemented)
Get all accessible to 1 associations. |
java.util.List |
getAccessibleXToNAssociations(boolean includeNonNavigable,
boolean excludeImplemented)
Get all accessible to N associations. |
java.util.List |
getAssociationEnds()
Get all association ends, this class owns. |
java.util.List |
getAssociations()
Get assocaitions for all association ends, this class owns |
java.util.List |
getAttributes()
Get all attributes for this class |
java.util.List |
getClientDependencies()
Get a List of all dependencies for which this class is a client. |
java.util.List |
getExtent(boolean deep,
boolean excludeNonInstantiable)
Get the extent of this class. |
java.util.List |
getGeneralizations()
Get a List of all generalizations for this class or interface. |
java.util.List |
getImplementedInterfaces(boolean deep)
Get a List of implemented interfaces for this class. |
java.util.List |
getInheritedAssociations(boolean deep,
boolean excludeImplemented)
Get all associations this class inherits from other classes. |
java.util.List |
getInheritedAttributes(boolean deep,
boolean excludeImplemented)
Get a list of all attributes this class inherits from other classes. |
java.util.List |
getInheritedNToMAssociations(boolean includeNonNavigable,
boolean deep,
boolean excludeImplemented)
Get all inherited N to M associations. |
java.util.List |
getInheritedOperations(boolean deep,
boolean excludeImplemented)
Get a list of all operations this class inherits from other classes. |
java.util.List |
getInheritedXTo1Associations(boolean includeNonNavigable,
boolean deep,
boolean excludeImplemented)
Get all inherited to 1 associations. |
java.util.List |
getInheritedXToNAssociations(boolean includeNonNavigable,
boolean deep,
boolean excludeImplemented)
Get all inherited to N associations. |
java.util.List |
getNToMAssociations(boolean includeNonNavigable)
Get all associations that have both ends with multiplicity 0..N or 1..N |
java.util.List |
getOperations()
Get all operations for this class |
java.util.List |
getRealizations()
Get a List of all realizations for this class or interface. |
java.util.List |
getSpecializations()
Get a List of all specializations for this class or interface. |
AXclass |
getSuperClass()
Get the superclass for this class. |
java.util.List |
getSuperClasses()
Get a List of all superclasses for this class. |
java.util.List |
getSupplierDependencies()
Get a List of all dependencies for which this class is a supplier. |
java.util.List |
getXTo1Associations(boolean includeNonNavigable)
Get all associations that have an other end with multiplicity 0..1 or 1 |
java.util.List |
getXToNAssociations(boolean includeNonNavigable)
Get all associations that have an other end with multiplicity 0..N or 1..N |
boolean |
isAbstract()
Check weather this class models an abstract class. |
boolean |
isDependencyClient(AXclass supplier,
java.lang.String stereoType,
java.lang.String name)
Check weather this class is an dependency client for a given other class. |
boolean |
isDependencySupplier(AXclass client,
java.lang.String stereoType,
java.lang.String name)
Check weather this class is an dependency supplier for a given other class. |
boolean |
isInstantiable()
Check weather this class models an instantiable class. |
boolean |
isInterface()
Check weather this class models an interface. |
java.lang.String |
toString()
|
| Methods inherited from class de.armax.ax.devtools.uml.nsuml.AXclassifierNsumlImpl |
isNativeType, isVoidType |
| Methods inherited from class de.armax.ax.devtools.uml.nsuml.AXmodelElementNsumlImpl |
existTaggedValue, getModel, getName, getNamespaceName, getRealElement, getStereotype, getTaggedValue, getTaggedValue, getTaggedValues, getTaggedValueTags |
| Methods inherited from class de.armax.ax.devtools.uml.AXmodelElementAbstract |
equals, getNameForCollectionDefine, getNameForCollectionMethod, getNameForCollectionVariable, getNameForDefine, getNameForMethod, getNameForVariable, getPackage, getQualifiedName, getSufficientlyQualifiedName, getSufficientlyQualifiedName, getWellKnownPackages, hasStereotype, isSameNamespace, isSameNamespace |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface de.armax.ax.devtools.uml.AXclassifier |
isNativeType, isVoidType |
| Constructor Detail |
public AXclassNsumlImpl(ru.novosoft.uml.foundation.core.MClass cls,
AXmodelNsumlImpl model)
public AXclassNsumlImpl(ru.novosoft.uml.foundation.core.MInterface cls,
AXmodelNsumlImpl model)
| Method Detail |
public java.util.List getGeneralizations()
AXclassGet a List of all generalizations for this class or interface.
The elements in the returned List are of type AXgeneralization. The
returned List must not be null (but it may be empty).
Each AXgeneralization in the returned list can also be obtained by calling getSpecialization() on the parent class of the AXgeneralization
getGeneralizations in interface AXclassAXclass.getSpecializations(),
AXclass.getAbstractions(),
AXclass.getRealizations()public java.util.List getSpecializations()
AXclassGet a List of all specializations for this class or interface.
The elements in the returned List are of type AXgeneralization. The
returned List must not be null (but it may be empty).
Each AXgeneralization in the returned list can also be obtained by calling getGeneralizations() on the child class of the AXgeneralization
getSpecializations in interface AXclassAXclass.getGeneralizations(),
AXclass.getAbstractions(),
AXclass.getRealizations()public java.util.List getAbstractions()
AXclassGet a List of all abstractions for this class or interface.
The elements in the returned List are of type AXabstraction. The
returned List must not be null (but it may be empty).
Each AXabstraction in the returned List must also be contained in the List obtained by calling getRealizations() on the supplier class of the AXabstraction
getAbstractions in interface AXclassAXclass.getRealizations(),
AXclass.getGeneralizations(),
AXclass.getSpecializations()public java.util.List getRealizations()
AXclassGet a List of all realizations for this class or interface.
The elements in the returned List are of type AXabstraction. The
returned List must not be null (but it may be empty).
Each AXabstraction in the returned List must also be contained in the List obtained by calling getAbstractions() on the client class of the AXabstraction
getRealizations in interface AXclassAXclass.getRealizations(),
AXclass.getGeneralizations(),
AXclass.getSpecializations()public java.util.List getClientDependencies()
AXclassGet a List of all dependencies for which this class is a client.
The elements in the returned List are of type AXdependency. The
returned List must not be null (but it may be empty).
Each AXdependency in the returned List must also be contained in the List obtained by calling getSupplierDependencies() on the supplier class of the AXdependency
getClientDependencies in interface AXclassAXclass.getSupplierDependencies()public java.util.List getSupplierDependencies()
AXclassGet a List of all dependencies for which this class is a supplier.
The elements in the returned List are of type AXdependency. The
returned List must not be null (but it may be empty).
Each AXdependency in the returned List must also be contained in the List obtained by calling getClientDependencies() on the client class of the AXdependency
getSupplierDependencies in interface AXclassAXclass.getClientDependencies()public java.util.List getAttributes()
AXclassGet all attributes for this class
getAttributes in interface AXclassAXattribute)AXclass.getOperations(),
AXclass.getInheritedAttributes(boolean, boolean)public java.util.List getOperations()
AXclassGet all operations for this class
getOperations in interface AXclassAXoperation)AXclass.getAttributes(),
AXclass.getInheritedOperations(boolean, boolean)
public java.util.List getExtent(boolean deep,
boolean excludeNonInstantiable)
AXclassGet the extent of this class. I.e. all classes that inherit from this class or interface
getExtent in interface AXclassdeep - if false, only direct subclasses are returned, else the whole class hierarchy is scannedexcludeNonInstantiable - if true, only instantiable clases are returned
AXclasses that build the extent for this classpublic java.util.List getImplementedInterfaces(boolean deep)
AXclassGet a List of implemented interfaces for this class.
getImplementedInterfaces in interface AXclassdeep - if false, only interfaces that are directly implemented by this class are returned. Else,
the whole class hierarchy is scanned.
AXclasses that are interfaces implemented (directly or indirectly) by this classpublic java.util.List getSuperClasses()
AXclassGet a List of all superclasses for this class. I.e all classes this class inherits directly from.
getSuperClasses in interface AXclassAXclasses that are super classes for this classAXclass.getSuperClass(),
AXclass.existSuperClass()public AXclass getSuperClass()
AXclassGet the superclass for this class.
If there is more than one superclass, this method returns one of them. There is no
rule which one should be returned. Use AXclass.getSuperClasses() instead, if there may
be more than one superclass
getSuperClass in interface AXclassAXclass.getSuperClasses(),
AXclass.existSuperClass()public boolean existSuperClass()
AXclassCheck weather this class has a super class.
existSuperClass in interface AXclassAXclass.getSuperClass(),
AXclass.getSuperClasses()
public java.util.List getInheritedAttributes(boolean deep,
boolean excludeImplemented)
AXclassGet a list of all attributes this class inherits from other classes.
getInheritedAttributes in interface AXclassdeep - if true, scan the whole class hierarchy, else scan only direct superclasses and
directly implemented interfacesexcludeImplemented - if true, only return attributes inherited from non instantiable
types, else return all inherited attributes
AXattributes)AXclass.getAttributes()
public java.util.List getInheritedOperations(boolean deep,
boolean excludeImplemented)
AXclassGet a list of all operations this class inherits from other classes.
getInheritedOperations in interface AXclassdeep - if true, scan the whole class hierarchy, else scan only direct superclasses and
directly implemented interfacesexcludeImplemented - if true, only return operations inherited from non instantiable
types, else return all inherited attributes
AXoperations)AXclass.getOperations()public java.util.List getAssociationEnds()
AXclassGet all association ends, this class owns.
getAssociationEnds in interface AXclasspublic java.util.List getAssociations()
AXclassGet assocaitions for all association ends, this class owns
getAssociations in interface AXclassAXclass.getInheritedAssociations(boolean, boolean),
AXclass.getXTo1Associations(boolean),
AXclass.getXToNAssociations(boolean),
AXclass.getNToMAssociations(boolean)public java.util.List getXTo1Associations(boolean includeNonNavigable)
AXclassGet all associations that have an other end with multiplicity 0..1 or 1
getXTo1Associations in interface AXclassincludeNonNavigable - if false, associations whos other ends are not navigable are
excluded.AXclass.getInheritedXTo1Associations(boolean, boolean, boolean),
AXclass.getAssociations(),
AXclass.getXToNAssociations(boolean),
AXclass.getNToMAssociations(boolean)public java.util.List getXToNAssociations(boolean includeNonNavigable)
AXclassGet all associations that have an other end with multiplicity 0..N or 1..N
getXToNAssociations in interface AXclassincludeNonNavigable - if false, associations whos other ends are not navigable are
excluded.AXclass.getInheritedXToNAssociations(boolean, boolean, boolean),
AXclass.getAssociations(),
AXclass.getXTo1Associations(boolean),
AXclass.getNToMAssociations(boolean)public java.util.List getNToMAssociations(boolean includeNonNavigable)
AXclassGet all associations that have both ends with multiplicity 0..N or 1..N
getNToMAssociations in interface AXclassincludeNonNavigable - if false, associations whos other ends are not navigable are
excluded.AXclass.getInheritedNToMAssociations(boolean, boolean, boolean),
AXclass.getAssociations(),
AXclass.getXTo1Associations(boolean),
AXclass.getXToNAssociations(boolean)
public java.util.List getInheritedAssociations(boolean deep,
boolean excludeImplemented)
AXclassGet all associations this class inherits from other classes.
getInheritedAssociations in interface AXclassdeep - if true, scan the whole class hierarchy, else scan only direct superclasses and
directly implemented interfacesexcludeImplemented - if true only non instantiable classes are considered, abstract
classes and interfaces are ignoredAXclass.getAssociations()
public java.util.List getInheritedXTo1Associations(boolean includeNonNavigable,
boolean deep,
boolean excludeImplemented)
AXclassGet all inherited to 1 associations.
getInheritedXTo1Associations in interface AXclassincludeNonNavigable - if false, associations whos other ends are not navigable are
excluded.deep - if true, scan the whole class hierarchy, else scan only direct superclasses and
directly implemented interfacesexcludeImplemented - if true only non instantiable classes are considered, abstract
classes and interfaces are ignoredAXclass.getXTo1Associations(boolean)
public java.util.List getInheritedXToNAssociations(boolean includeNonNavigable,
boolean deep,
boolean excludeImplemented)
AXclassGet all inherited to N associations.
getInheritedXToNAssociations in interface AXclassincludeNonNavigable - if false, associations whos other ends are not navigable are
excluded.deep - if true, scan the whole class hierarchy, else scan only direct superclasses and
directly implemented interfacesexcludeImplemented - if true only non instantiable classes are considered, abstract
classes and interfaces are ignoredAXclass.getXToNAssociations(boolean)
public java.util.List getInheritedNToMAssociations(boolean includeNonNavigable,
boolean deep,
boolean excludeImplemented)
AXclassGet all inherited N to M associations.
getInheritedNToMAssociations in interface AXclassincludeNonNavigable - if false, associations whos other ends are not navigable are
excluded.deep - if true, scan the whole class hierarchy, else scan only direct superclasses and
directly implemented interfacesexcludeImplemented - if true only non instantiable classes are considered, abstract
classes and interfaces are ignoredAXclass.getNToMAssociations(boolean)public boolean isInterface()
AXclassCheck weather this class models an interface.
isInterface in interface AXclasspublic boolean isAbstract()
AXclassCheck weather this class models an abstract class. (An interface is not an abstract class)
isAbstract in interface AXclasspublic boolean isInstantiable()
AXclassCheck weather this class models an instantiable class.
isInstantiable in interface AXclass
public boolean isDependencySupplier(AXclass client,
java.lang.String stereoType,
java.lang.String name)
AXclassCheck weather this class is an dependency supplier for a given other class.
This scans the supplier dependencies for this class and returns true if a dependency is found, who's client is the argument client and that has a stereotpye that matches the argument stereotype and a name that matches the argument name
isDependencySupplier in interface AXclass
public boolean isDependencyClient(AXclass supplier,
java.lang.String stereoType,
java.lang.String name)
AXclassCheck weather this class is an dependency client for a given other class.
This scans the client dependencies for this class and returns true if a dependency is found, who's supplier is the argument supplier and that has a stereotpye that matches the argument stereotype and a name that matches the argument name
isDependencyClient in interface AXclasspublic java.lang.String toString()
toString in class AXmodelElementAbstractpublic java.util.List getAccessibleAttributes(boolean excludeImplemented)
AXclassGet a list of all attributes accessible from this class.
getAccessibleAttributes in interface AXclassexcludeImplemented - if true, only return attributes inherited from non instantiable
types, else return all inherited attributes
AXattributes)AXclass.getAttributes()public java.util.List getAccessibleOperations(boolean excludeImplemented)
AXclassGet a list of all operations accessible from this class.
getAccessibleOperations in interface AXclassexcludeImplemented - if true, only return operations inherited from non instantiable
types, else return all inherited attributes
AXoperations)AXclass.getOperations()public java.util.List getAccessibleAssociations(boolean excludeImplemented)
AXclassGet all associations accessible from this class.
getAccessibleAssociations in interface AXclassexcludeImplemented - if true only non instantiable classes are considered, abstract
classes and interfaces are ignoredAXclass.getAssociations()
public java.util.List getAccessibleXTo1Associations(boolean includeNonNavigable,
boolean excludeImplemented)
AXclassGet all accessible to 1 associations.
getAccessibleXTo1Associations in interface AXclassincludeNonNavigable - if false, associations whos other ends are not navigable are
excluded.excludeImplemented - if true only non instantiable classes are considered, abstract
classes and interfaces are ignoredAXclass.getXTo1Associations(boolean)
public java.util.List getAccessibleXToNAssociations(boolean includeNonNavigable,
boolean excludeImplemented)
AXclassGet all accessible to N associations.
getAccessibleXToNAssociations in interface AXclassincludeNonNavigable - if false, associations whos other ends are not navigable are
excluded.excludeImplemented - if true only non instantiable classes are considered, abstract
classes and interfaces are ignoredAXclass.getXToNAssociations(boolean)
public java.util.List getAccessibleNToMAssociations(boolean includeNonNavigable,
boolean excludeImplemented)
AXclassGet all accessible N to M associations.
getAccessibleNToMAssociations in interface AXclassincludeNonNavigable - if false, associations whos other ends are not navigable are
excluded.excludeImplemented - if true only non instantiable classes are considered, abstract
classes and interfaces are ignoredAXclass.getNToMAssociations(boolean)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||