|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.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()
AXclass
Get 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 AXclass
AXclass.getSpecializations()
,
AXclass.getAbstractions()
,
AXclass.getRealizations()
public java.util.List getSpecializations()
AXclass
Get 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 AXclass
AXclass.getGeneralizations()
,
AXclass.getAbstractions()
,
AXclass.getRealizations()
public java.util.List getAbstractions()
AXclass
Get 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 AXclass
AXclass.getRealizations()
,
AXclass.getGeneralizations()
,
AXclass.getSpecializations()
public java.util.List getRealizations()
AXclass
Get 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 AXclass
AXclass.getRealizations()
,
AXclass.getGeneralizations()
,
AXclass.getSpecializations()
public java.util.List getClientDependencies()
AXclass
Get 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 AXclass
AXclass.getSupplierDependencies()
public java.util.List getSupplierDependencies()
AXclass
Get 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 AXclass
AXclass.getClientDependencies()
public java.util.List getAttributes()
AXclass
Get all attributes for this class
getAttributes
in interface AXclass
AXattribute
)AXclass.getOperations()
,
AXclass.getInheritedAttributes(boolean, boolean)
public java.util.List getOperations()
AXclass
Get all operations for this class
getOperations
in interface AXclass
AXoperation
)AXclass.getAttributes()
,
AXclass.getInheritedOperations(boolean, boolean)
public java.util.List getExtent(boolean deep, boolean excludeNonInstantiable)
AXclass
Get the extent of this class. I.e. all classes that inherit from this class or interface
getExtent
in interface AXclass
deep
- if false, only direct subclasses are returned, else the whole class hierarchy is scannedexcludeNonInstantiable
- if true, only instantiable clases are returned
AXclass
es that build the extent for this classpublic java.util.List getImplementedInterfaces(boolean deep)
AXclass
Get a List of implemented interfaces for this class.
getImplementedInterfaces
in interface AXclass
deep
- if false, only interfaces that are directly implemented by this class are returned. Else,
the whole class hierarchy is scanned.
AXclass
es that are interfaces implemented (directly or indirectly) by this classpublic java.util.List getSuperClasses()
AXclass
Get a List of all superclasses for this class. I.e all classes this class inherits directly from.
getSuperClasses
in interface AXclass
AXclass
es that are super classes for this classAXclass.getSuperClass()
,
AXclass.existSuperClass()
public AXclass getSuperClass()
AXclass
Get 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 AXclass
AXclass.getSuperClasses()
,
AXclass.existSuperClass()
public boolean existSuperClass()
AXclass
Check weather this class has a super class.
existSuperClass
in interface AXclass
AXclass.getSuperClass()
,
AXclass.getSuperClasses()
public java.util.List getInheritedAttributes(boolean deep, boolean excludeImplemented)
AXclass
Get a list of all attributes this class inherits from other classes.
getInheritedAttributes
in interface AXclass
deep
- 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
AXattribute
s)AXclass.getAttributes()
public java.util.List getInheritedOperations(boolean deep, boolean excludeImplemented)
AXclass
Get a list of all operations this class inherits from other classes.
getInheritedOperations
in interface AXclass
deep
- 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
AXoperation
s)AXclass.getOperations()
public java.util.List getAssociationEnds()
AXclass
Get all association ends, this class owns.
getAssociationEnds
in interface AXclass
public java.util.List getAssociations()
AXclass
Get assocaitions for all association ends, this class owns
getAssociations
in interface AXclass
AXclass.getInheritedAssociations(boolean, boolean)
,
AXclass.getXTo1Associations(boolean)
,
AXclass.getXToNAssociations(boolean)
,
AXclass.getNToMAssociations(boolean)
public java.util.List getXTo1Associations(boolean includeNonNavigable)
AXclass
Get all associations that have an other end with multiplicity 0..1 or 1
getXTo1Associations
in interface AXclass
includeNonNavigable
- 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)
AXclass
Get all associations that have an other end with multiplicity 0..N or 1..N
getXToNAssociations
in interface AXclass
includeNonNavigable
- 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)
AXclass
Get all associations that have both ends with multiplicity 0..N or 1..N
getNToMAssociations
in interface AXclass
includeNonNavigable
- 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)
AXclass
Get all associations this class inherits from other classes.
getInheritedAssociations
in interface AXclass
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.getAssociations()
public java.util.List getInheritedXTo1Associations(boolean includeNonNavigable, boolean deep, boolean excludeImplemented)
AXclass
Get all inherited to 1 associations.
getInheritedXTo1Associations
in interface AXclass
includeNonNavigable
- 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)
AXclass
Get all inherited to N associations.
getInheritedXToNAssociations
in interface AXclass
includeNonNavigable
- 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)
AXclass
Get all inherited N to M associations.
getInheritedNToMAssociations
in interface AXclass
includeNonNavigable
- 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()
AXclass
Check weather this class models an interface.
isInterface
in interface AXclass
public boolean isAbstract()
AXclass
Check weather this class models an abstract class. (An interface is not an abstract class)
isAbstract
in interface AXclass
public boolean isInstantiable()
AXclass
Check weather this class models an instantiable class.
isInstantiable
in interface AXclass
public boolean isDependencySupplier(AXclass client, java.lang.String stereoType, java.lang.String name)
AXclass
Check 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)
AXclass
Check 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 AXclass
public java.lang.String toString()
toString
in class AXmodelElementAbstract
public java.util.List getAccessibleAttributes(boolean excludeImplemented)
AXclass
Get a list of all attributes accessible from this class.
getAccessibleAttributes
in interface AXclass
excludeImplemented
- if true, only return attributes inherited from non instantiable
types, else return all inherited attributes
AXattribute
s)AXclass.getAttributes()
public java.util.List getAccessibleOperations(boolean excludeImplemented)
AXclass
Get a list of all operations accessible from this class.
getAccessibleOperations
in interface AXclass
excludeImplemented
- if true, only return operations inherited from non instantiable
types, else return all inherited attributes
AXoperation
s)AXclass.getOperations()
public java.util.List getAccessibleAssociations(boolean excludeImplemented)
AXclass
Get all associations accessible from this class.
getAccessibleAssociations
in interface AXclass
excludeImplemented
- if true only non instantiable classes are considered, abstract
classes and interfaces are ignoredAXclass.getAssociations()
public java.util.List getAccessibleXTo1Associations(boolean includeNonNavigable, boolean excludeImplemented)
AXclass
Get all accessible to 1 associations.
getAccessibleXTo1Associations
in interface AXclass
includeNonNavigable
- 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)
AXclass
Get all accessible to N associations.
getAccessibleXToNAssociations
in interface AXclass
includeNonNavigable
- 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)
AXclass
Get all accessible N to M associations.
getAccessibleNToMAssociations
in interface AXclass
includeNonNavigable
- 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 |