org.andromda.metafacades.uml
Interface GeneralizableElementFacade

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

public interface GeneralizableElementFacade
extends ModelElementFacade

The model element that represents an element that can be generalized or specialized.

Metafacade interface to be used by AndroMDA cartridges.


Method Summary
 java.lang.Object findTaggedValue(java.lang.String tagName, boolean follow)
           Finds the tagged value optional searching the entire inheritance hierarchy if 'follow' is set to true.
 java.util.Collection getAllGeneralizations()
           All generalizations for this generalizable element, goes up the inheritance tree.
 java.util.Collection getAllSpecializations()
           All specializations (travels down the inheritance hiearchy).
 GeneralizableElementFacade getGeneralization()
           Gets the direct generalization for this generalizable element.
 java.util.Collection getGeneralizationLinks()
           Gets the actual links that this generalization element is part of (it plays either the specialization or generalization).
 java.lang.String getGeneralizationList()
           A comma seperated list of the fully qualified names of all generalizations.
 GeneralizableElementFacade getGeneralizationRoot()
           The element found when you recursively follow the generalization path up to the root.
 java.util.Collection getGeneralizations()
           
 java.util.Collection getSpecializations()
           Gets the direct specializations (i.e.
 boolean isGeneralizableElementFacadeMetaType()
          Indicates the metafacade type (used for metafacade mappings).
 
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

isGeneralizableElementFacadeMetaType

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

Returns:
always true

findTaggedValue

java.lang.Object findTaggedValue(java.lang.String tagName,
                                 boolean follow)

Finds the tagged value optional searching the entire inheritance hierarchy if 'follow' is set to true.


getAllGeneralizations

java.util.Collection getAllGeneralizations()

All generalizations for this generalizable element, goes up the inheritance tree.


getAllSpecializations

java.util.Collection getAllSpecializations()

All specializations (travels down the inheritance hiearchy).


getGeneralization

GeneralizableElementFacade getGeneralization()

Gets the direct generalization for this generalizable element.


getGeneralizationLinks

java.util.Collection getGeneralizationLinks()

Gets the actual links that this generalization element is part of (it plays either the specialization or generalization).


getGeneralizationList

java.lang.String getGeneralizationList()

A comma seperated list of the fully qualified names of all generalizations.


getGeneralizationRoot

GeneralizableElementFacade getGeneralizationRoot()

The element found when you recursively follow the generalization path up to the root. If an element has no generalization itself will be considered the root.


getGeneralizations

java.util.Collection getGeneralizations()

getSpecializations

java.util.Collection getSpecializations()

Gets the direct specializations (i.e. sub elements) for this generalizatble element.



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