org.andromda.metafacades.uml
Interface EnumerationLiteralFacade

All Superinterfaces:
ModelElementFacade

public interface EnumerationLiteralFacade
extends ModelElementFacade

Metafacade interface to be used by AndroMDA cartridges.


Method Summary
 java.lang.String getEnumerationValue()
           Gets the Literal's Value.
 java.lang.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).
 java.lang.String getValue()
           Returns the value of this enumeration literal, by default the value is the same as the name.
 java.lang.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

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

Returns:
always true

getEnumerationValue

java.lang.String getEnumerationValue()

Gets the Literal's Value. This will be used to create the Literal's Instance.


getName

java.lang.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

java.lang.String getValue()

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


getValue

java.lang.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-2008 AndroMDA.org. All Rights Reserved.