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