org.andromda.metafacades.uml
Interface EnumerationLiteralFacade

All Superinterfaces:
ModelElementFacade

public interface EnumerationLiteralFacade
extends ModelElementFacade

Metafacade interface to be used by AndroMDA cartridges.


Method Summary
 String getName(boolean modelName)
           Gets the name of the enumeration literal (if the "modelName" flag is true, then the actual name of the literal in the model is returned - otherwise the name that has any masking applied).
 String getValue()
           Returns the value of this enumeration literal, by default the value is the same as the name.
 String getValue(boolean modelValue)
           Gets the value of the enumeration literal (if the "modelValue" flag is true, then the actual value of the literal in the model is returned - otherwise the value that has any masking applied is returned).
 boolean isEnumerationLiteralFacadeMetaType()
          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

isEnumerationLiteralFacadeMetaType

public boolean isEnumerationLiteralFacadeMetaType()
Indicates the metafacade type (used for metafacade mappings).

Returns:
always true

getName

public String getName(boolean modelName)

Gets the name of the enumeration literal (if the "modelName" flag is true, then the actual name of the literal in the model is returned - otherwise the name that has any masking applied).


getValue

public String getValue()

Returns the value of this enumeration literal, by default the value is the same as the name.


getValue

public String getValue(boolean modelValue)

Gets the value of the enumeration literal (if the "modelValue" flag is true, then the actual value of the literal in the model is returned - otherwise the value that has any masking applied is returned).



Copyright © 2003-2006 The AndroMDA Team. All Rights Reserved.