public class ModelElementFacadeLogicImpl extends ModelElementFacadeLogic
metaObjectcontextRoot| Constructor and Description |
|---|
ModelElementFacadeLogicImpl(org.omg.uml.foundation.core.ModelElement metaObject,
String context) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getArraySuffix()
Gets the array suffix from the configured metafacade properties.
|
String |
getValidationName() |
protected void |
handleCopyTaggedValues(ModelElementFacade element)
Method to be implemented in descendants
Copies all tagged values from the given ModelElementFacade to this model element facade.
|
protected Object |
handleFindTaggedValue(String name)
Method to be implemented in descendants
Finds the tagged value with the specified 'tagName'.
|
protected Collection<Object> |
handleFindTaggedValues(String name)
Method to be implemented in descendants
Returns all the values for the tagged value with the specified name.
|
protected String |
handleGetBindedFullyQualifiedName(ModelElementFacade bindedElement)
Method to be implemented in descendants
Returns the fully qualified name of the model element.
|
protected Collection<ConstraintFacade> |
handleGetConstraints()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected Collection<ConstraintFacade> |
handleGetConstraints(String kind)
Method to be implemented in descendants
Returns the constraints of the argument kind that have been placed onto this model.
|
protected String |
handleGetDocumentation(String indent)
Method to be implemented in descendants
Gets the documentation for the model element, The indent argument is prefixed to each line.
|
protected String |
handleGetDocumentation(String indent,
int lineLength)
Method to be implemented in descendants
This method returns the documentation for this model element, with the lines wrapped after
the specified number of characters, values of less than 1 will indicate no line wrapping is
required.
|
protected String |
handleGetDocumentation(String indent,
int lineLength,
boolean htmlStyle)
Method to be implemented in descendants
This method returns the documentation for this model element, with the lines wrapped after
the specified number of characters, values of less than 1 will indicate no line wrapping is
required.
|
protected String |
handleGetFullyQualifiedName() |
protected String |
handleGetFullyQualifiedName(boolean modelName)
Method to be implemented in descendants
Returns the fully qualified name of the model element.
|
protected String |
handleGetFullyQualifiedNamePath() |
protected String |
handleGetId() |
protected Collection<String> |
handleGetKeywords() |
protected String |
handleGetLabel() |
protected TypeMappings |
handleGetLanguageMappings() |
protected Object |
handleGetModel()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected String |
handleGetName() |
protected Collection |
handleGetOwnedElements() |
protected Object |
handleGetOwner() |
protected org.omg.uml.foundation.core.Namespace |
handleGetPackage()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected String |
handleGetPackageName() |
protected String |
handleGetPackageName(boolean modelName)
Method to be implemented in descendants
Gets the package name (optionally providing the ability to retrieve the model name and not
the mapped name).
|
protected String |
handleGetPackagePath() |
protected String |
handleGetQualifiedName() |
protected org.omg.uml.modelmanagement.UmlPackage |
handleGetRootPackage()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected Collection<DependencyFacade> |
handleGetSourceDependencies()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected org.omg.uml.behavioralelements.statemachines.StateMachine |
handleGetStateMachineContext()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected Collection<String> |
handleGetStereotypeNames() |
protected Collection<StereotypeFacade> |
handleGetStereotypes()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected Collection |
handleGetTaggedValues()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected Collection<DependencyFacade> |
handleGetTargetDependencies()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected TemplateParameterFacade |
handleGetTemplateParameter(String parameterName)
Method to be implemented in descendants
Get the template parameter for this model element having the parameterName
|
protected Collection |
handleGetTemplateParameters()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected String |
handleGetVisibility() |
protected boolean |
handleHasExactStereotype(String stereotypeName)
Method to be implemented in descendants
Returns true if the model element has the exact stereotype (meaning no stereotype inheritance
is taken into account when searching for the stereotype), false otherwise.
|
protected boolean |
handleHasKeyword(String keyword)
Method to be implemented in descendants
Does the UML Element contain the named Keyword? Keywords can be separated by space, comma,
pipe, semicolon, or << >>
|
protected boolean |
handleHasStereotype(String stereotypeName)
Method to be implemented in descendants
Returns true if the model element has the specified stereotype.
|
protected boolean |
handleIsBindingDependenciesPresent() |
protected boolean |
handleIsConstraintsPresent() |
protected boolean |
handleIsDocumentationPresent()
If documentation is present, i.e.
|
protected boolean |
handleIsReservedWord() |
protected boolean |
handleIsTemplateParametersPresent() |
protected boolean |
handleIsValidIdentifierName()
Return true if name matches the pattern [a-zA-Z_$][a-zA-Z\\d_$]*
|
protected String |
handleTranslateConstraint(String name,
String translation)
Method to be implemented in descendants
Searches for the constraint with the specified 'name' on this model element, and if found
translates it using the specified 'translation' from a translation library discovered by the
framework.
|
protected String[] |
handleTranslateConstraints(String translation)
Method to be implemented in descendants
Translates all constraints belonging to this model element with the given 'translation'.
|
protected String[] |
handleTranslateConstraints(String kind,
String translation)
Method to be implemented in descendants
Translates the constraints of the specified 'kind' belonging to this model element.
|
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, resetMetafacadeContext, toString, translateConstraint, translateConstraints, translateConstraints, validateInvariantscompareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, getValidationOwner, hashCode, initialize, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetValidationOwner, initializepublic ModelElementFacadeLogicImpl(org.omg.uml.foundation.core.ModelElement metaObject, String context)
metaObject - context - protected Collection handleGetTaggedValues()
ModelElementFacadeLogichandleGetTaggedValues in class ModelElementFacadeLogicModelElementFacade.getTaggedValues()protected String handleGetPackageName()
handleGetPackageName in class ModelElementFacadeLogicModelElementFacade.getPackageName()protected String handleGetPackageName(boolean modelName)
ModelElementFacadeLogichandleGetPackageName in class ModelElementFacadeLogicModelElementFacade.getPackageName(boolean)protected String handleGetFullyQualifiedName(boolean modelName)
ModelElementFacadeLogichandleGetFullyQualifiedName in class ModelElementFacadeLogicModelElementFacade.getFullyQualifiedName(boolean)protected String handleGetFullyQualifiedName()
handleGetFullyQualifiedName in class ModelElementFacadeLogicModelElementFacade.getFullyQualifiedName()protected Collection<Object> handleFindTaggedValues(String name)
ModelElementFacadeLogichandleFindTaggedValues in class ModelElementFacadeLogicModelElementFacade.findTaggedValues(String)protected Object handleFindTaggedValue(String name)
ModelElementFacadeLogichandleFindTaggedValue in class ModelElementFacadeLogicModelElementFacade.findTaggedValue(String)protected boolean handleHasStereotype(String stereotypeName)
ModelElementFacadeLogichandleHasStereotype in class ModelElementFacadeLogicModelElementFacade.hasStereotype(String)protected String handleGetId()
handleGetId in class ModelElementFacadeLogicModelElementFacade.getId()protected boolean handleHasExactStereotype(String stereotypeName)
ModelElementFacadeLogichandleHasExactStereotype in class ModelElementFacadeLogicModelElementFacade.hasExactStereotype(String)protected String handleGetVisibility()
handleGetVisibility in class ModelElementFacadeLogicModelElementFacade.getVisibility()protected Collection<String> handleGetStereotypeNames()
handleGetStereotypeNames in class ModelElementFacadeLogicModelElementFacade.getStereotypeNames()protected String handleGetFullyQualifiedNamePath()
handleGetFullyQualifiedNamePath in class ModelElementFacadeLogicModelElementFacade.getFullyQualifiedNamePath()protected String handleGetPackagePath()
handleGetPackagePath in class ModelElementFacadeLogicModelElementFacade.getPackagePath()protected String handleGetDocumentation(String indent)
ModelElementFacadeLogicgetDocumentation(indent, 64).handleGetDocumentation in class ModelElementFacadeLogicModelElementFacade.getDocumentation(String)protected String handleGetDocumentation(String indent, int lineLength)
ModelElementFacadeLogicgetDocumentation(indent, lineLength, true).handleGetDocumentation in class ModelElementFacadeLogicModelElementFacade.getDocumentation(String, int)protected String handleGetDocumentation(String indent, int lineLength, boolean htmlStyle)
ModelElementFacadeLogichandleGetDocumentation in class ModelElementFacadeLogicModelElementFacade.getDocumentation(String, int, boolean)protected boolean handleIsDocumentationPresent()
handleIsDocumentationPresent in class ModelElementFacadeLogicModelElementFacade.isDocumentationPresent()protected String handleGetLabel()
handleGetLabel in class ModelElementFacadeLogicModelElementFacade.getLabel()protected Collection<String> handleGetKeywords()
handleGetKeywords in class ModelElementFacadeLogicModelElementFacade.getKeywords()protected String handleGetQualifiedName()
handleGetQualifiedName in class ModelElementFacadeLogicModelElementFacade.getQualifiedName()protected boolean handleHasKeyword(String keyword)
ModelElementFacadeLogichandleHasKeyword in class ModelElementFacadeLogickeyword - hasExactStereotype(keyword)ModelElementFacade.getQualifiedName()protected String handleGetName()
handleGetName in class ModelElementFacadeLogicModelElementFacade.getName()protected String getArraySuffix()
protected TypeMappings handleGetLanguageMappings()
handleGetLanguageMappings in class ModelElementFacadeLogicModelElementFacade.getLanguageMappings()protected Object handleGetOwner()
ModelElementFacade.getPackage()protected Collection handleGetOwnedElements()
ModelElementFacade.getPackage()protected org.omg.uml.foundation.core.Namespace handleGetPackage()
ModelElementFacadeLogichandleGetPackage in class ModelElementFacadeLogicModelElementFacade.getPackage()protected org.omg.uml.modelmanagement.UmlPackage handleGetRootPackage()
ModelElementFacadeLogichandleGetRootPackage in class ModelElementFacadeLogicModelElementFacade.getRootPackage()protected Collection<DependencyFacade> handleGetSourceDependencies()
ModelElementFacadeLogichandleGetSourceDependencies in class ModelElementFacadeLogicModelElementFacade.getSourceDependencies()protected Collection<DependencyFacade> handleGetTargetDependencies()
ModelElementFacadeLogichandleGetTargetDependencies in class ModelElementFacadeLogicModelElementFacade.getTargetDependencies()protected Collection<StereotypeFacade> handleGetStereotypes()
ModelElementFacadeLogichandleGetStereotypes in class ModelElementFacadeLogicModelElementFacade.getStereotypes()protected Object handleGetModel()
ModelElementFacadeLogichandleGetModel in class ModelElementFacadeLogicModelElementFacade.getModel()protected Collection<ConstraintFacade> handleGetConstraints()
ModelElementFacadeLogichandleGetConstraints in class ModelElementFacadeLogicModelElementFacade.getConstraints()protected Collection<ConstraintFacade> handleGetConstraints(String kind)
ModelElementFacadeLogichandleGetConstraints in class ModelElementFacadeLogicModelElementFacade.getConstraints(String)protected String handleTranslateConstraint(String name, String translation)
ModelElementFacadeLogichandleTranslateConstraint in class ModelElementFacadeLogicModelElementFacade.translateConstraint(String, String)protected String[] handleTranslateConstraints(String translation)
ModelElementFacadeLogichandleTranslateConstraints in class ModelElementFacadeLogicModelElementFacade.translateConstraints(String)protected String[] handleTranslateConstraints(String kind, String translation)
ModelElementFacadeLogichandleTranslateConstraints in class ModelElementFacadeLogicModelElementFacade.translateConstraints(String, String)protected org.omg.uml.behavioralelements.statemachines.StateMachine handleGetStateMachineContext()
ModelElementFacadeLogichandleGetStateMachineContext in class ModelElementFacadeLogicModelElementFacade.getStateMachineContext()protected Collection handleGetTemplateParameters()
ModelElementFacadeLogichandleGetTemplateParameters in class ModelElementFacadeLogicModelElementFacade.getTemplateParameters()public String getValidationName()
getValidationName in interface ModelElementFacadegetValidationName in class MetafacadeBaseMetafacadeBase.getValidationName()protected boolean handleIsConstraintsPresent()
handleIsConstraintsPresent in class ModelElementFacadeLogicModelElementFacade.isConstraintsPresent()protected boolean handleIsBindingDependenciesPresent()
handleIsBindingDependenciesPresent in class ModelElementFacadeLogicModelElementFacade.isBindingDependenciesPresent()protected boolean handleIsReservedWord()
handleIsReservedWord in class ModelElementFacadeLogicModelElementFacade.isReservedWord()protected boolean handleIsTemplateParametersPresent()
handleIsTemplateParametersPresent in class ModelElementFacadeLogicModelElementFacade.isTemplateParametersPresent()protected void handleCopyTaggedValues(ModelElementFacade element)
ModelElementFacadeLogichandleCopyTaggedValues in class ModelElementFacadeLogicModelElementFacade.copyTaggedValues(org.andromda.metafacades.uml.ModelElementFacade)protected TemplateParameterFacade handleGetTemplateParameter(String parameterName)
ModelElementFacadeLogichandleGetTemplateParameter in class ModelElementFacadeLogicModelElementFacade.getTemplateParameter(String)protected String handleGetBindedFullyQualifiedName(ModelElementFacade bindedElement)
handleGetBindedFullyQualifiedName in class ModelElementFacadeLogicprotected boolean handleIsValidIdentifierName()
handleIsValidIdentifierName in class ModelElementFacadeLogicModelElementFacadeLogic.handleIsValidIdentifierName()Copyright © 2003–2014 AndroMDA.org. All rights reserved.