public abstract class EnumerationLiteralFacadeLogic extends ModelElementFacadeLogicImpl implements EnumerationLiteralFacade
EnumerationLiteralFacade
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected org.omg.uml.foundation.core.EnumerationLiteral |
metaObject
The underlying UML object
|
contextRoot
Modifier | Constructor and Description |
---|---|
protected |
EnumerationLiteralFacadeLogic(org.omg.uml.foundation.core.EnumerationLiteral metaObjectIn,
String context)
Create Metafacade implementation instance using the MetafacadeFactory from the context
|
Modifier and Type | Method and Description |
---|---|
String |
getEnumerationValue()
Gets the Literal's Value.
|
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).
|
protected abstract String |
handleGetEnumerationValue()
Method to be implemented in descendants
Gets the Literal's Value.
|
protected abstract String |
handleGetName(boolean modelName)
Method to be implemented in descendants
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).
|
protected abstract String |
handleGetValue() |
protected abstract String |
handleGetValue(boolean modelValue)
Method to be implemented in descendants
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() |
void |
resetMetafacadeContext(String context)
Reset context only for non-root metafacades
|
void |
validateInvariants(Collection<ModelValidationMessage> validationMessages) |
getArraySuffix, getValidationName, handleCopyTaggedValues, handleFindTaggedValue, handleFindTaggedValues, handleGetBindedFullyQualifiedName, handleGetConstraints, handleGetConstraints, handleGetDocumentation, handleGetDocumentation, handleGetDocumentation, handleGetFullyQualifiedName, handleGetFullyQualifiedName, handleGetFullyQualifiedNamePath, handleGetId, handleGetKeywords, handleGetLabel, handleGetLanguageMappings, handleGetModel, handleGetName, handleGetOwnedElements, handleGetOwner, handleGetPackage, handleGetPackageName, handleGetPackageName, handleGetPackagePath, handleGetQualifiedName, handleGetRootPackage, handleGetSourceDependencies, handleGetStateMachineContext, handleGetStereotypeNames, handleGetStereotypes, handleGetTaggedValues, handleGetTargetDependencies, handleGetTemplateParameter, handleGetTemplateParameters, handleGetVisibility, handleHasExactStereotype, handleHasKeyword, handleHasStereotype, handleIsBindingDependenciesPresent, handleIsConstraintsPresent, handleIsDocumentationPresent, handleIsReservedWord, handleIsTemplateParametersPresent, handleIsValidIdentifierName, handleTranslateConstraint, handleTranslateConstraints, handleTranslateConstraints
copyTaggedValues, findTaggedValue, findTaggedValues, getBindedFullyQualifiedName, getConstraints, getConstraints, getDocumentation, getDocumentation, getDocumentation, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getId, getKeywords, getLabel, getLanguageMappings, getModel, getName, getPackage, getPackageName, getPackageName, getPackagePath, getQualifiedName, getRootPackage, getSourceDependencies, getStateMachineContext, getStereotypeNames, getStereotypes, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getVisibility, hasExactStereotype, hasKeyword, hasStereotype, isBindingDependenciesPresent, isConstraintsPresent, isDocumentationPresent, isModelElementFacadeMetaType, isReservedWord, isTemplateParametersPresent, isValidIdentifierName, toString, translateConstraint, translateConstraints, translateConstraints
compareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, getValidationOwner, hashCode, initialize, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copyTaggedValues, findTaggedValue, findTaggedValues, getBindedFullyQualifiedName, getConstraints, getConstraints, getDocumentation, getDocumentation, getDocumentation, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getId, getKeywords, getLabel, getLanguageMappings, getModel, getName, getPackage, getPackageName, getPackageName, getPackagePath, getQualifiedName, getRootPackage, getSourceDependencies, getStateMachineContext, getStereotypeNames, getStereotypes, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getValidationName, getValidationOwner, getVisibility, hasExactStereotype, hasKeyword, hasStereotype, initialize, isBindingDependenciesPresent, isConstraintsPresent, isDocumentationPresent, isModelElementFacadeMetaType, isReservedWord, isTemplateParametersPresent, isValidIdentifierName, translateConstraint, translateConstraints, translateConstraints
protected org.omg.uml.foundation.core.EnumerationLiteral metaObject
EnumerationLiteral
protected EnumerationLiteralFacadeLogic(org.omg.uml.foundation.core.EnumerationLiteral metaObjectIn, String context)
metaObjectIn
- context
- public void resetMetafacadeContext(String context)
resetMetafacadeContext
in class ModelElementFacadeLogic
context
- public boolean isEnumerationLiteralFacadeMetaType()
isEnumerationLiteralFacadeMetaType
in interface EnumerationLiteralFacade
EnumerationLiteralFacade
protected abstract String handleGetValue()
EnumerationLiteralFacade.getValue()
public final String getValue()
getValue
in interface EnumerationLiteralFacade
protected abstract String handleGetName(boolean modelName)
modelName
- public String getName(boolean modelName)
getName
in interface EnumerationLiteralFacade
modelName
- boolean
TODO: Model Documentation for
EnumerationLiteralFacade.getName(modelName)protected abstract String handleGetValue(boolean modelValue)
modelValue
- public String getValue(boolean modelValue)
getValue
in interface EnumerationLiteralFacade
modelValue
- boolean
TODO: Model Documentation for
EnumerationLiteralFacade.getValue(modelValue)protected abstract String handleGetEnumerationValue()
public String getEnumerationValue()
getEnumerationValue
in interface EnumerationLiteralFacade
public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
validateInvariants
in interface ModelElementFacade
validateInvariants
in class ModelElementFacadeLogic
validationMessages
- CollectionModelElementFacadeLogic.validateInvariants(Collection validationMessages)
Copyright © 2003–2014 AndroMDA.org. All rights reserved.