public interface TemplateParameterFacade
Modifier and Type | Method and Description |
---|---|
Collection<ClassifierFacade> |
getConstrainingClassifiers()
UML2 only: Returns the list of classifiers (Classes) which constrain the parameter type.
|
ModelElementFacade |
getDefaultElement()
Return the default element for the template parameter
|
String |
getDocumentation(String indent)
Gets the documentation for the model element, The indent argument is prefixed to each line.
|
String |
getDocumentation(String indent,
int lineLength)
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.
|
String |
getDocumentation(String indent,
int lineLength,
boolean htmlStyle)
TODO: Model Documentation for
org.andromda.metafacades.uml.TemplateParameterFacade.getDocumentation
|
String |
getFullyQualifiedName()
Return the fully qualified name of the template parameter: package + class + parameter name
|
String |
getGetterName()
get + capitalized parameter name
|
String |
getGetterSetterTypeName()
The type of the template parameter.
|
String |
getName()
TODO: Model Documentation for org.andromda.metafacades.uml.TemplateParameterFacade.name
|
ModelElementFacade |
getOwner()
The ModelElement that owns this parameter.
|
ModelElementFacade |
getParameter()
Returns the parameter value for the template parameter.
|
String |
getSetterName()
set + capitalized parameter name
|
ClassifierFacade |
getType()
TemplateParameter may be of type Classifier, PackageableElement,
Operation or Property.
|
String |
getValidationName()
Gets the name of the metafacade used within validation messages.
|
Object |
getValidationOwner()
Gets the metafacade that acts as the
owner of this metafacade. |
void |
initialize()
Provides any required initialization of the metafacade.
|
boolean |
isTemplateParameterFacadeMetaType()
Indicates the metafacade type (used for metafacade mappings).
|
void |
validateInvariants(Collection<ModelValidationMessage> validationMessages)
Performs validation of any invariants found on this model element
and stores the messages within the
validationMessages
collection. |
boolean isTemplateParameterFacadeMetaType()
true
void initialize()
Object getValidationOwner()
owner
of this metafacade.
(for example: an operation is an owner of its parameters, etc). This is used
by AndroMDA's validation framework to provide more context as to where the
error has occurred.String getValidationName()
void validateInvariants(Collection<ModelValidationMessage> validationMessages)
validationMessages
collection.validationMessages
- the collection of messages to which additional
validation messages will be added if invariants are broken.Collection<ClassifierFacade> getConstrainingClassifiers()
ModelElementFacade getDefaultElement()
String getDocumentation(String indent)
getDocumentation(indent, 64)
.indent
- StringString getDocumentation(String indent, int lineLength)
getDocumentation(indent, lineLength, true)
.indent
- StringlineLength
- intString getDocumentation(String indent, int lineLength, boolean htmlStyle)
indent
- StringlineLength
- inthtmlStyle
- booleanString getFullyQualifiedName()
String getGetterName()
String getGetterSetterTypeName()
String getName()
ModelElementFacade getOwner()
ModelElementFacade getParameter()
String getSetterName()
ClassifierFacade getType()
Copyright © 2003–2014 AndroMDA.org. All rights reserved.