public abstract class EnumerationLiteralFacadeLogic extends ModelElementFacadeLogicImpl implements EnumerationLiteralFacade
EnumerationLiteralFacade,
Serialized Form| Modifier 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, handleTranslateConstraintscopyTaggedValues, 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, translateConstraintscompareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, getValidationOwner, hashCode, initialize, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopyTaggedValues, 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, translateConstraintsprotected org.omg.uml.foundation.core.EnumerationLiteral metaObject
EnumerationLiteralprotected EnumerationLiteralFacadeLogic(org.omg.uml.foundation.core.EnumerationLiteral metaObjectIn, String context)
metaObjectIn - context - public void resetMetafacadeContext(String context)
resetMetafacadeContext in class ModelElementFacadeLogiccontext - public boolean isEnumerationLiteralFacadeMetaType()
isEnumerationLiteralFacadeMetaType in interface EnumerationLiteralFacadeEnumerationLiteralFacadeprotected abstract String handleGetValue()
EnumerationLiteralFacade.getValue()public final String getValue()
getValue in interface EnumerationLiteralFacadeprotected abstract String handleGetName(boolean modelName)
modelName - public String getName(boolean modelName)
getName in interface EnumerationLiteralFacademodelName - boolean
TODO: Model Documentation for
EnumerationLiteralFacade.getName(modelName)protected abstract String handleGetValue(boolean modelValue)
modelValue - public String getValue(boolean modelValue)
getValue in interface EnumerationLiteralFacademodelValue - boolean
TODO: Model Documentation for
EnumerationLiteralFacade.getValue(modelValue)protected abstract String handleGetEnumerationValue()
public String getEnumerationValue()
getEnumerationValue in interface EnumerationLiteralFacadepublic void validateInvariants(Collection<ModelValidationMessage> validationMessages)
validateInvariants in interface ModelElementFacadevalidateInvariants in class ModelElementFacadeLogicvalidationMessages - CollectionModelElementFacadeLogic.validateInvariants(Collection validationMessages)Copyright © 2003–2014 AndroMDA.org. All rights reserved.