rs.sol.soloist.server.uml.concepts.reflection
Interface IClassifier

All Superinterfaces:
rs.sol.soloist.server.uml.concepts.IElement, IMElement, INamedElement, INamespace, IPackageableElement, IType
All Known Subinterfaces:
IAssociation, IAssociationClass, IClass, IDataType, IEnumeration, IPrimitiveType

public interface IClassifier
extends INamespace, IType

Abstract generalization of classifiers.


Method Summary
 IClassifierInstance createInstance()
          Creates an instance of the given Classifier.
 java.util.List<IProperty> getAllAttributes()
          Returns all Properties that are not association ends, including inherited ones.
 java.util.List<IFeature> getAllFeatures()
          Returns all Features, including inherited ones.
 java.util.List<IClassifier> getAllParents()
          Returns direct and indirect generalizations of this Classifier.
 java.util.List<IProperty> getAllProperties()
          Returns all Properties, including inherited ones.
 java.util.List<IProperty> getAttributes(java.lang.String uqName)
          Returns the Properties of this Classifier that are not asociation ends (owned or inherited) with the given unqualified name.
 java.util.List<IClassifier> getDirectChildren()
          Returns direct specializations of this Classifier.
 java.util.List<IClassifier> getDirectParents()
          Returns direct generalizations of this Classifier.
 java.util.List<IFeature> getFeatures(java.lang.String uqName)
          Returns the Features of this Classifier (owned or inherited) with the given unqualified name.
 IClassifier getFirstCommonGeneralizer(IClassifier cl)
          Returns the Classifier that is the closest generalized Classifier of this and the given Classifier.
 java.lang.String getJavaClassName()
           
 IProperty getOwnedAttribute(java.lang.String uqName)
          Returns the owned Property of this Classifier that is not an association ends, with the given unqualified name.
 java.util.List<IProperty> getOwnedAttributes()
          Returns all owned Properties that are not association ends.
 java.util.List<IFeature> getOwnedFeatures()
          Returns all owned Features.
 java.util.List<IFeature> getOwnedFeatures(java.lang.String uqName)
          Returns the owned Features of this Classifier with the given unqualified name.
 java.util.List<IProperty> getOwnedProperties()
          Returns all owned Properties.
 IProperty getOwnedProperty(java.lang.String uqName)
          Returns the owned Property of this Classifier with the given unqualified name.
 java.util.List<IProperty> getProperties(java.lang.String uqName)
          Returns the Properties of this Classifier (owned or inherited) with the given unqualified name.
 IProperty getProperty(java.lang.String name)
          Returns the Property of this Classifier (owned or inherited) with the given qualified or unqualified name.
 boolean isAbstract()
          Is this Classifier abstract?
 boolean isClass()
          Is this Classifier a Class?
 boolean isDataType()
          Is this Classifier a Data Type?
 
Methods inherited from interface rs.sol.soloist.server.uml.concepts.reflection.INamespace
getMembers, getMembers, getMembers
 
Methods inherited from interface rs.sol.soloist.server.uml.concepts.reflection.IType
conformsTo, getPackage
 
Methods inherited from interface rs.sol.soloist.server.uml.concepts.reflection.IPackageableElement
getOwningPackage
 
Methods inherited from interface rs.sol.soloist.server.uml.concepts.reflection.INamedElement
getFQName, getNamespace, getUQName, getVisibility
 
Methods inherited from interface rs.sol.soloist.server.uml.concepts.reflection.IMElement
getOwnedElements, getOwner, getStereotype, getStereotypeAsText, getTaggedValue
 
Methods inherited from interface rs.sol.soloist.server.uml.concepts.IElement
accept, accept, isKindOf, isModelElement, isRTElement
 

Method Detail

isClass

boolean isClass()
                throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Is this Classifier a Class?

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

isDataType

boolean isDataType()
                   throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Is this Classifier a Data Type?

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

isAbstract

boolean isAbstract()
                   throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Is this Classifier abstract?

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

getDirectParents

java.util.List<IClassifier> getDirectParents()
                                             throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Returns direct generalizations of this Classifier.

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

getDirectChildren

java.util.List<IClassifier> getDirectChildren()
Returns direct specializations of this Classifier.


getAllParents

java.util.List<IClassifier> getAllParents()
                                          throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Returns direct and indirect generalizations of this Classifier.

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

getFirstCommonGeneralizer

IClassifier getFirstCommonGeneralizer(IClassifier cl)
                                      throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Returns the Classifier that is the closest generalized Classifier of this and the given Classifier.

If they have no common Classifiers, returns null.

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

getAllFeatures

java.util.List<IFeature> getAllFeatures()
                                        throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Returns all Features, including inherited ones. Derived union.

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

getFeatures

java.util.List<IFeature> getFeatures(java.lang.String uqName)
                                     throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Returns the Features of this Classifier (owned or inherited) with the given unqualified name. Subsets allFeatures.

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

getAllProperties

java.util.List<IProperty> getAllProperties()
                                           throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Returns all Properties, including inherited ones. Derived union, subsets allFeatures.

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

getProperties

java.util.List<IProperty> getProperties(java.lang.String uqName)
                                        throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Returns the Properties of this Classifier (owned or inherited) with the given unqualified name. Subsets allProperties.

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

getProperty

IProperty getProperty(java.lang.String name)
Returns the Property of this Classifier (owned or inherited) with the given qualified or unqualified name. Subsets properties.

The search by name for the Property starts from this Classifier upwards the generalization hierarchy.

Returns null if such does not exist.


getAllAttributes

java.util.List<IProperty> getAllAttributes()
                                           throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Returns all Properties that are not association ends, including inherited ones. Derived union, subsets allProperties.

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

getAttributes

java.util.List<IProperty> getAttributes(java.lang.String uqName)
                                        throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Returns the Properties of this Classifier that are not asociation ends (owned or inherited) with the given unqualified name. Subsets allAttributes.

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

getOwnedFeatures

java.util.List<IFeature> getOwnedFeatures()
                                          throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Returns all owned Features. Derived union, subsets members, subsets allFeatures.

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

getOwnedFeatures

java.util.List<IFeature> getOwnedFeatures(java.lang.String uqName)
                                          throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Returns the owned Features of this Classifier with the given unqualified name. Subsets ownedFeatures.

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

getOwnedProperties

java.util.List<IProperty> getOwnedProperties()
                                             throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Returns all owned Properties. Derived union, subsets ownedFeatures, subsets allProperties.

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

getOwnedProperty

IProperty getOwnedProperty(java.lang.String uqName)
                           throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Returns the owned Property of this Classifier with the given unqualified name. Subsets ownedProperties.

Returns null if such does not exist.

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

getOwnedAttributes

java.util.List<IProperty> getOwnedAttributes()
                                             throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Returns all owned Properties that are not association ends. Subsets ownedProperties, subsets allAttributes.

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

getOwnedAttribute

IProperty getOwnedAttribute(java.lang.String uqName)
                            throws rs.sol.soloist.server.uml.exceptions.RequestFailedException
Returns the owned Property of this Classifier that is not an association ends, with the given unqualified name. Subsets ownedAttributes.

Returns null if such does not exist.

Throws:
rs.sol.soloist.server.uml.exceptions.RequestFailedException

createInstance

IClassifierInstance createInstance()
                                   throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Creates an instance of the given Classifier.

Always simply calls Actions::Action.createInstance(this).

Throws:
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException

getJavaClassName

java.lang.String getJavaClassName()