public class ModelElementFacadeLogicImpl extends ModelElementFacadeLogic
metaObject
contextRoot
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, validateInvariants
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
getValidationOwner, initialize
public ModelElementFacadeLogicImpl(org.omg.uml.foundation.core.ModelElement metaObject, String context)
metaObject
- context
- protected Collection handleGetTaggedValues()
ModelElementFacadeLogic
handleGetTaggedValues
in class ModelElementFacadeLogic
ModelElementFacade.getTaggedValues()
protected String handleGetPackageName()
handleGetPackageName
in class ModelElementFacadeLogic
ModelElementFacade.getPackageName()
protected String handleGetPackageName(boolean modelName)
ModelElementFacadeLogic
handleGetPackageName
in class ModelElementFacadeLogic
ModelElementFacade.getPackageName(boolean)
protected String handleGetFullyQualifiedName(boolean modelName)
ModelElementFacadeLogic
handleGetFullyQualifiedName
in class ModelElementFacadeLogic
ModelElementFacade.getFullyQualifiedName(boolean)
protected String handleGetFullyQualifiedName()
handleGetFullyQualifiedName
in class ModelElementFacadeLogic
ModelElementFacade.getFullyQualifiedName()
protected Collection<Object> handleFindTaggedValues(String name)
ModelElementFacadeLogic
handleFindTaggedValues
in class ModelElementFacadeLogic
ModelElementFacade.findTaggedValues(String)
protected Object handleFindTaggedValue(String name)
ModelElementFacadeLogic
handleFindTaggedValue
in class ModelElementFacadeLogic
ModelElementFacade.findTaggedValue(String)
protected boolean handleHasStereotype(String stereotypeName)
ModelElementFacadeLogic
handleHasStereotype
in class ModelElementFacadeLogic
ModelElementFacade.hasStereotype(String)
protected String handleGetId()
handleGetId
in class ModelElementFacadeLogic
ModelElementFacade.getId()
protected boolean handleHasExactStereotype(String stereotypeName)
ModelElementFacadeLogic
handleHasExactStereotype
in class ModelElementFacadeLogic
ModelElementFacade.hasExactStereotype(String)
protected String handleGetVisibility()
handleGetVisibility
in class ModelElementFacadeLogic
ModelElementFacade.getVisibility()
protected Collection<String> handleGetStereotypeNames()
handleGetStereotypeNames
in class ModelElementFacadeLogic
ModelElementFacade.getStereotypeNames()
protected String handleGetFullyQualifiedNamePath()
handleGetFullyQualifiedNamePath
in class ModelElementFacadeLogic
ModelElementFacade.getFullyQualifiedNamePath()
protected String handleGetPackagePath()
handleGetPackagePath
in class ModelElementFacadeLogic
ModelElementFacade.getPackagePath()
protected String handleGetDocumentation(String indent)
ModelElementFacadeLogic
getDocumentation(indent, 64)
.handleGetDocumentation
in class ModelElementFacadeLogic
ModelElementFacade.getDocumentation(String)
protected String handleGetDocumentation(String indent, int lineLength)
ModelElementFacadeLogic
getDocumentation(indent, lineLength, true)
.handleGetDocumentation
in class ModelElementFacadeLogic
ModelElementFacade.getDocumentation(String, int)
protected String handleGetDocumentation(String indent, int lineLength, boolean htmlStyle)
ModelElementFacadeLogic
handleGetDocumentation
in class ModelElementFacadeLogic
ModelElementFacade.getDocumentation(String, int, boolean)
protected boolean handleIsDocumentationPresent()
handleIsDocumentationPresent
in class ModelElementFacadeLogic
ModelElementFacade.isDocumentationPresent()
protected String handleGetLabel()
handleGetLabel
in class ModelElementFacadeLogic
ModelElementFacade.getLabel()
protected Collection<String> handleGetKeywords()
handleGetKeywords
in class ModelElementFacadeLogic
ModelElementFacade.getKeywords()
protected String handleGetQualifiedName()
handleGetQualifiedName
in class ModelElementFacadeLogic
ModelElementFacade.getQualifiedName()
protected boolean handleHasKeyword(String keyword)
ModelElementFacadeLogic
handleHasKeyword
in class ModelElementFacadeLogic
keyword
- hasExactStereotype(keyword)ModelElementFacade.getQualifiedName()
protected String handleGetName()
handleGetName
in class ModelElementFacadeLogic
ModelElementFacade.getName()
protected String getArraySuffix()
protected TypeMappings handleGetLanguageMappings()
handleGetLanguageMappings
in class ModelElementFacadeLogic
ModelElementFacade.getLanguageMappings()
protected Object handleGetOwner()
ModelElementFacade.getPackage()
protected Collection handleGetOwnedElements()
ModelElementFacade.getPackage()
protected org.omg.uml.foundation.core.Namespace handleGetPackage()
ModelElementFacadeLogic
handleGetPackage
in class ModelElementFacadeLogic
ModelElementFacade.getPackage()
protected org.omg.uml.modelmanagement.UmlPackage handleGetRootPackage()
ModelElementFacadeLogic
handleGetRootPackage
in class ModelElementFacadeLogic
ModelElementFacade.getRootPackage()
protected Collection<DependencyFacade> handleGetSourceDependencies()
ModelElementFacadeLogic
handleGetSourceDependencies
in class ModelElementFacadeLogic
ModelElementFacade.getSourceDependencies()
protected Collection<DependencyFacade> handleGetTargetDependencies()
ModelElementFacadeLogic
handleGetTargetDependencies
in class ModelElementFacadeLogic
ModelElementFacade.getTargetDependencies()
protected Collection<StereotypeFacade> handleGetStereotypes()
ModelElementFacadeLogic
handleGetStereotypes
in class ModelElementFacadeLogic
ModelElementFacade.getStereotypes()
protected Object handleGetModel()
ModelElementFacadeLogic
handleGetModel
in class ModelElementFacadeLogic
ModelElementFacade.getModel()
protected Collection<ConstraintFacade> handleGetConstraints()
ModelElementFacadeLogic
handleGetConstraints
in class ModelElementFacadeLogic
ModelElementFacade.getConstraints()
protected Collection<ConstraintFacade> handleGetConstraints(String kind)
ModelElementFacadeLogic
handleGetConstraints
in class ModelElementFacadeLogic
ModelElementFacade.getConstraints(String)
protected String handleTranslateConstraint(String name, String translation)
ModelElementFacadeLogic
handleTranslateConstraint
in class ModelElementFacadeLogic
ModelElementFacade.translateConstraint(String, String)
protected String[] handleTranslateConstraints(String translation)
ModelElementFacadeLogic
handleTranslateConstraints
in class ModelElementFacadeLogic
ModelElementFacade.translateConstraints(String)
protected String[] handleTranslateConstraints(String kind, String translation)
ModelElementFacadeLogic
handleTranslateConstraints
in class ModelElementFacadeLogic
ModelElementFacade.translateConstraints(String, String)
protected org.omg.uml.behavioralelements.statemachines.StateMachine handleGetStateMachineContext()
ModelElementFacadeLogic
handleGetStateMachineContext
in class ModelElementFacadeLogic
ModelElementFacade.getStateMachineContext()
protected Collection handleGetTemplateParameters()
ModelElementFacadeLogic
handleGetTemplateParameters
in class ModelElementFacadeLogic
ModelElementFacade.getTemplateParameters()
public String getValidationName()
getValidationName
in interface ModelElementFacade
getValidationName
in class MetafacadeBase
MetafacadeBase.getValidationName()
protected boolean handleIsConstraintsPresent()
handleIsConstraintsPresent
in class ModelElementFacadeLogic
ModelElementFacade.isConstraintsPresent()
protected boolean handleIsBindingDependenciesPresent()
handleIsBindingDependenciesPresent
in class ModelElementFacadeLogic
ModelElementFacade.isBindingDependenciesPresent()
protected boolean handleIsReservedWord()
handleIsReservedWord
in class ModelElementFacadeLogic
ModelElementFacade.isReservedWord()
protected boolean handleIsTemplateParametersPresent()
handleIsTemplateParametersPresent
in class ModelElementFacadeLogic
ModelElementFacade.isTemplateParametersPresent()
protected void handleCopyTaggedValues(ModelElementFacade element)
ModelElementFacadeLogic
handleCopyTaggedValues
in class ModelElementFacadeLogic
ModelElementFacade.copyTaggedValues(org.andromda.metafacades.uml.ModelElementFacade)
protected TemplateParameterFacade handleGetTemplateParameter(String parameterName)
ModelElementFacadeLogic
handleGetTemplateParameter
in class ModelElementFacadeLogic
ModelElementFacade.getTemplateParameter(String)
protected String handleGetBindedFullyQualifiedName(ModelElementFacade bindedElement)
handleGetBindedFullyQualifiedName
in class ModelElementFacadeLogic
protected boolean handleIsValidIdentifierName()
handleIsValidIdentifierName
in class ModelElementFacadeLogic
ModelElementFacadeLogic.handleIsValidIdentifierName()
Copyright © 2003–2014 AndroMDA.org. All rights reserved.