org.andromda.metafacades.uml
Interface ClassifierFacade

All Superinterfaces:
GeneralizableElementFacade, ModelElementFacade
All Known Subinterfaces:
ActorFacade, AssociationClassFacade, Destination, Entity, EnumerationFacade, FrontEndController, FrontEndUseCase, ManageableEntity, NamespaceFacade, NodeFacade, Queue, Role, Service, Topic, UseCaseFacade, ValueObject

public interface ClassifierFacade
extends GeneralizableElementFacade

Represents a Classifier model element

Metafacade interface to be used by AndroMDA cartridges.


Method Summary
 AttributeFacade findAttribute(java.lang.String name)
           Return the attribute which name matches the parameter
 java.util.Collection getAbstractions()
           Those abstraction dependencies for which this classifier is the client.
 java.util.Collection getAllAssociatedClasses()
           Lists all classes associated to this one and any ancestor classes (through generalization).
 java.util.Collection getAllProperties()
           A collection containing all 'properties' of the classifier and its ancestors.
 java.util.Collection getAllRequiredConstructorParameters()
           A collection containing all required and/or read-only 'properties' of the classifier and its ancestors.
 ClassifierFacade getArray()
           Gets the array type for this classifier.
 java.lang.String getArrayName()
           The name of the classifier as an array.
 java.util.Collection getAssociatedClasses()
           Lists the classes associated to this one, there is no repitition of classes.
 java.util.List getAssociationEnds()
           Gets the association ends belonging to a classifier.
 java.util.Collection getAttributes()
           Gets the attributes that belong to the classifier.
 java.util.Collection getAttributes(boolean follow)
           Gets all attributes for the classifier and if 'follow' is true goes up the inheritance hierachy and gets the attributes from the super classes as well.
 java.lang.String getFullyQualifiedArrayName()
           The fully qualified name of the classifier as an array.
 java.util.Collection getImplementationOperations()
           Returns all those operations that could be implemented at this classifier's level.
 java.lang.String getImplementedInterfaceList()
           A comma seperated list of the fully qualified names of all implemented interfaces.
 java.util.Collection getInstanceAttributes()
           Those attributes that are scoped to an instance of this class.
 java.util.Collection getInstanceOperations()
           Those operations that are scoped to an instance of this class.
 java.util.Collection getInterfaceAbstractions()
           Those interfaces that are abstractions of this classifier, this basically means this classifier realizes them.
 java.lang.String getJavaNullString()
           A String representing the null-value for this classifier type to be used in a Java environment.
 java.util.Collection getNavigableConnectingEnds()
           The other ends of this classifier's association ends which are navigable.
 java.util.Collection getNavigableConnectingEnds(boolean follow)
           Get the other ends of this classifier's association ends which are navigable and if 'follow' is true goes up the inheritance hierarchy and gets the super association ends as well.
 ClassifierFacade getNonArray()
           Assuming that the classifier is an array, this will return the non array type of the classifier from
 java.lang.String getOperationCallFromAttributes()
           The attributes from this classifier in the form of an operation call (this example would be in Java): '(java.lang.String attributeOne, java.lang.String attributeTwo).
 java.util.Collection getOperations()
           The operations owned by this classifier.
 java.util.Collection getProperties()
           A collection containing all 'properties' of the classifier.
 java.util.Collection getProperties(boolean follow)
           Gets all properties (attributes and navigable association ends) for the classifier and if 'follow' is true goes up the inheritance hierachy and gets the properties from the super classes as well.
 java.util.Collection getRequiredConstructorParameters()
           A collection containing all required and/or read-only 'properties' of the classifier.
 java.lang.Long getSerialVersionUID()
           Returns the serial version UID of the underlying model element.
 java.util.Collection getStaticAttributes()
           Those attributes that are scoped to the definition of this class.
 java.util.Collection getStaticOperations()
           Those operations that are scoped to the definition of this class.
 ClassifierFacade getSuperClass()
           This class' superclass, returns the generalization if it is a ClassifierFacade, null otherwise.
 java.lang.String getWrapperName()
           The wrapper name for this classifier if a mapped type has a defined wrapper class (ie.
 boolean isAbstract()
           Indicates if this classifier is 'abstract'.
 boolean isArrayType()
           True if this classifier represents an array type.
 boolean isAssociationClass()
           
 boolean isBlobType()
           Returns true if this type represents a Blob type.
 boolean isBooleanType()
           Indicates if this type represents a boolean type or not.
 boolean isClassifierFacadeMetaType()
          Indicates the metafacade type (used for metafacade mappings).
 boolean isClobType()
           Returns true if this type represents a Clob type.
 boolean isCollectionType()
           True if this classifier represents a collection type.
 boolean isDataType()
           True/false depending on whether or not this classifier represents a datatype.
 boolean isDateType()
           True when this classifier is a date type.
 boolean isEmbeddedValue()
           Indicates whether or not this classifier represents an "EmbeddedValue'.
 boolean isEnumeration()
           True if this classifier is in fact marked as an enumeration.
 boolean isFileType()
           Returns true if this type represents a 'file' type.
 boolean isInterface()
           True/false depending on whether or not this Classifier represents an interface.
 boolean isLeaf()
           True if this classifier cannot be extended and represent a leaf in the inheritance tree.
 boolean isListType()
           True if this classifier represents a list type.
 boolean isMapType()
           Indicates whether or not this classifier represents a Map type.
 boolean isPrimitive()
           Indicates whether or not this classifier represents a primitive type.
 boolean isSetType()
           True if this classifier represents a set type.
 boolean isStringType()
           Indicates whether or not this classifier represents a string type.
 boolean isTimeType()
           Indicates whether or not this classifier represents a time type.
 
Methods inherited from interface org.andromda.metafacades.uml.GeneralizableElementFacade
findTaggedValue, getAllGeneralizations, getAllSpecializations, getGeneralization, getGeneralizationLinks, getGeneralizationList, getGeneralizationRoot, getGeneralizations, getSpecializations, isGeneralizableElementFacadeMetaType
 
Methods inherited from interface org.andromda.metafacades.uml.ModelElementFacade
copyTaggedValues, findTaggedValue, findTaggedValues, getConstraints, getConstraints, getDocumentation, getDocumentation, getDocumentation, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getId, getLanguageMappings, getModel, getName, getPackage, getPackageName, getPackageName, getPackagePath, getRootPackage, getSourceDependencies, getStateMachineContext, getStereotypeNames, getStereotypes, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getValidationName, getValidationOwner, getVisibility, hasExactStereotype, hasStereotype, initialize, isBindingDependenciesPresent, isConstraintsPresent, isModelElementFacadeMetaType, isTemplateParametersPresent, translateConstraint, translateConstraints, translateConstraints, validateInvariants
 

Method Detail

isClassifierFacadeMetaType

boolean isClassifierFacadeMetaType()
Indicates the metafacade type (used for metafacade mappings).

Returns:
always true

findAttribute

AttributeFacade findAttribute(java.lang.String name)

Return the attribute which name matches the parameter


getAbstractions

java.util.Collection getAbstractions()

Those abstraction dependencies for which this classifier is the client.


getAllAssociatedClasses

java.util.Collection getAllAssociatedClasses()

Lists all classes associated to this one and any ancestor classes (through generalization). There will be no duplicates. The order of the elements is predictable.


getAllProperties

java.util.Collection getAllProperties()

A collection containing all 'properties' of the classifier and its ancestors. Properties are any attributes and navigable connecting association ends.


getAllRequiredConstructorParameters

java.util.Collection getAllRequiredConstructorParameters()

A collection containing all required and/or read-only 'properties' of the classifier and its ancestors. Properties are any attributes and navigable connecting association ends.


getArray

ClassifierFacade getArray()

Gets the array type for this classifier. If this classifier already represents an array, it just returns itself.


getArrayName

java.lang.String getArrayName()

The name of the classifier as an array.


getAssociatedClasses

java.util.Collection getAssociatedClasses()

Lists the classes associated to this one, there is no repitition of classes. The order of the elements is predictable.


getAssociationEnds

java.util.List getAssociationEnds()

Gets the association ends belonging to a classifier.


getAttributes

java.util.Collection getAttributes()

Gets the attributes that belong to the classifier.


getAttributes

java.util.Collection getAttributes(boolean follow)

Gets all attributes for the classifier and if 'follow' is true goes up the inheritance hierachy and gets the attributes from the super classes as well.


getFullyQualifiedArrayName

java.lang.String getFullyQualifiedArrayName()

The fully qualified name of the classifier as an array.


getImplementationOperations

java.util.Collection getImplementationOperations()

Returns all those operations that could be implemented at this classifier's level. This means the operations owned by this classifier as well as any realized interface's operations (recursively) in case this classifier itself is not already an interface, or generalized when this classifier is an interface.


getImplementedInterfaceList

java.lang.String getImplementedInterfaceList()

A comma seperated list of the fully qualified names of all implemented interfaces.


getInstanceAttributes

java.util.Collection getInstanceAttributes()

Those attributes that are scoped to an instance of this class.


getInstanceOperations

java.util.Collection getInstanceOperations()

Those operations that are scoped to an instance of this class.


getInterfaceAbstractions

java.util.Collection getInterfaceAbstractions()

Those interfaces that are abstractions of this classifier, this basically means this classifier realizes them.


getJavaNullString

java.lang.String getJavaNullString()

A String representing the null-value for this classifier type to be used in a Java environment.


getNavigableConnectingEnds

java.util.Collection getNavigableConnectingEnds()

The other ends of this classifier's association ends which are navigable.


getNavigableConnectingEnds

java.util.Collection getNavigableConnectingEnds(boolean follow)

Get the other ends of this classifier's association ends which are navigable and if 'follow' is true goes up the inheritance hierarchy and gets the super association ends as well.


getNonArray

ClassifierFacade getNonArray()

Assuming that the classifier is an array, this will return the non array type of the classifier from

the model. If the classifier is NOT an array, it will just return itself.


getOperationCallFromAttributes

java.lang.String getOperationCallFromAttributes()

The attributes from this classifier in the form of an operation call (this example would be in Java): '(java.lang.String attributeOne, java.lang.String attributeTwo). If there were no attributes on the classifier, the result would be an empty '()'.


getOperations

java.util.Collection getOperations()

The operations owned by this classifier.


getProperties

java.util.Collection getProperties()

A collection containing all 'properties' of the classifier. Properties are any attributes and navigable connecting association ends.


getProperties

java.util.Collection getProperties(boolean follow)

Gets all properties (attributes and navigable association ends) for the classifier and if 'follow' is true goes up the inheritance hierachy and gets the properties from the super classes as well.


getRequiredConstructorParameters

java.util.Collection getRequiredConstructorParameters()

A collection containing all required and/or read-only 'properties' of the classifier. Properties are any attributes and navigable connecting association ends.


getSerialVersionUID

java.lang.Long getSerialVersionUID()

Returns the serial version UID of the underlying model element.


getStaticAttributes

java.util.Collection getStaticAttributes()

Those attributes that are scoped to the definition of this class.


getStaticOperations

java.util.Collection getStaticOperations()

Those operations that are scoped to the definition of this class.


getSuperClass

ClassifierFacade getSuperClass()

This class' superclass, returns the generalization if it is a ClassifierFacade, null otherwise.


getWrapperName

java.lang.String getWrapperName()

The wrapper name for this classifier if a mapped type has a defined wrapper class (ie. 'long' maps to 'Long'). If the classifier doesn't have a wrapper defined for it, this method will return a null. Note that wrapper mappings must be defined for the namespace by defining the 'wrapperMappingsUri', this property must point to the location of the mappings file which maps the primitives to wrapper types.


isAbstract

boolean isAbstract()

Indicates if this classifier is 'abstract'.


isArrayType

boolean isArrayType()

True if this classifier represents an array type. False otherwise.


isAssociationClass

boolean isAssociationClass()

isBlobType

boolean isBlobType()

Returns true if this type represents a Blob type.


isBooleanType

boolean isBooleanType()

Indicates if this type represents a boolean type or not.


isClobType

boolean isClobType()

Returns true if this type represents a Clob type.


isCollectionType

boolean isCollectionType()

True if this classifier represents a collection type. False otherwise.


isDataType

boolean isDataType()

True/false depending on whether or not this classifier represents a datatype.


isDateType

boolean isDateType()

True when this classifier is a date type.


isEmbeddedValue

boolean isEmbeddedValue()

Indicates whether or not this classifier represents an "EmbeddedValue'.


isEnumeration

boolean isEnumeration()

True if this classifier is in fact marked as an enumeration.


isFileType

boolean isFileType()

Returns true if this type represents a 'file' type.


isInterface

boolean isInterface()

True/false depending on whether or not this Classifier represents an interface.


isLeaf

boolean isLeaf()

True if this classifier cannot be extended and represent a leaf in the inheritance tree.


isListType

boolean isListType()

True if this classifier represents a list type. False otherwise.


isMapType

boolean isMapType()

Indicates whether or not this classifier represents a Map type.


isPrimitive

boolean isPrimitive()

Indicates whether or not this classifier represents a primitive type.


isSetType

boolean isSetType()

True if this classifier represents a set type. False otherwise.


isStringType

boolean isStringType()

Indicates whether or not this classifier represents a string type.


isTimeType

boolean isTimeType()

Indicates whether or not this classifier represents a time type.



Copyright © 2003-2008 AndroMDA.org. All Rights Reserved.