|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ClassifierFacade
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 |
| Method Detail |
|---|
boolean isClassifierFacadeMetaType()
trueAttributeFacade 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). There will be no duplicates. The order of the elements is predictable.
java.util.Collection getAllProperties()
A collection containing all 'properties' of the classifier and its ancestors. Properties are any attributes and navigable connecting association ends.
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.
ClassifierFacade getArray()
Gets the array type for this classifier. If this classifier already represents an array, it just returns itself.
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. The order of the elements is predictable.
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. 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.
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
the model. If the classifier is NOT an array, it will just return itself.
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 '()'.
java.util.Collection getOperations()
The operations owned by this classifier.
java.util.Collection getProperties()
A collection containing all 'properties' of the classifier. Properties are any attributes and navigable connecting association ends.
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. Properties are any attributes and navigable connecting association ends.
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. '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.
boolean isAbstract()
Indicates if this classifier is 'abstract'.
boolean isArrayType()
True if this classifier represents an array type. False otherwise.
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 isClobType()
Returns true if this type represents a Clob type.
boolean isCollectionType()
True if this classifier represents a collection type. False otherwise.
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. False otherwise.
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. False otherwise.
boolean isStringType()
Indicates whether or not this classifier represents a string type.
boolean isTimeType()
Indicates whether or not this classifier represents a time type.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||