public abstract class TemplateParameterFacadeLogic extends MetafacadeBase implements TemplateParameterFacade
TemplateParameterFacade,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected org.omg.uml.foundation.core.TemplateParameter |
metaObject
The underlying UML object
|
contextRoot| Modifier | Constructor and Description |
|---|---|
protected |
TemplateParameterFacadeLogic(org.omg.uml.foundation.core.TemplateParameter metaObjectIn,
String context)
Create Metafacade implementation instance using the MetafacadeFactory from the context
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ClassifierFacade> |
getConstrainingClassifiers()
Represents a UML template parameter.
|
ModelElementFacade |
getDefaultElement()
Represents a UML 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
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 TemplateParameterFacade.name
|
ModelElementFacade |
getOwner()
The ModelElement that owns this parameter.
|
ModelElementFacade |
getParameter()
Represents a UML template parameter.
|
String |
getSetterName()
set + capitalized parameter name
|
ClassifierFacade |
getType()
TemplateParameter may be of type Classifier, PackageableElement,
Operation or Property.
|
protected abstract Collection |
handleGetConstrainingClassifiers()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Object |
handleGetDefaultElement()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract 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 abstract 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 abstract String |
handleGetDocumentation(String indent,
int lineLength,
boolean htmlStyle)
Method to be implemented in descendants
TODO: Model Documentation for
TemplateParameterFacade.getDocumentation
|
protected abstract String |
handleGetFullyQualifiedName() |
protected abstract String |
handleGetGetterName() |
protected abstract String |
handleGetGetterSetterTypeName() |
protected abstract String |
handleGetName() |
protected abstract ModelElementFacade |
handleGetOwner() |
protected abstract Object |
handleGetParameter()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract String |
handleGetSetterName() |
protected abstract ClassifierFacade |
handleGetType() |
boolean |
isTemplateParameterFacadeMetaType() |
void |
resetMetafacadeContext(String context)
Reset context only for non-root metafacades
|
String |
toString() |
void |
validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::metafacades::uml::TemplateParameterFacade::template parameter type must be specified
|
compareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, getValidationName, getValidationOwner, hashCode, initialize, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetValidationName, getValidationOwner, initializeprotected org.omg.uml.foundation.core.TemplateParameter metaObject
TemplateParameterprotected TemplateParameterFacadeLogic(org.omg.uml.foundation.core.TemplateParameter metaObjectIn, String context)
metaObjectIn - context - public void resetMetafacadeContext(String context)
resetMetafacadeContext in class MetafacadeBasecontext - public boolean isTemplateParameterFacadeMetaType()
isTemplateParameterFacadeMetaType in interface TemplateParameterFacadeTemplateParameterFacadeprotected abstract ClassifierFacade handleGetType()
TemplateParameterFacade.getType()public final ClassifierFacade getType()
getType in interface TemplateParameterFacadeprotected abstract String handleGetName()
TemplateParameterFacade.getName()public final String getName()
getName in interface TemplateParameterFacadeprotected abstract String handleGetFullyQualifiedName()
TemplateParameterFacade.getFullyQualifiedName()public final String getFullyQualifiedName()
getFullyQualifiedName in interface TemplateParameterFacadeprotected abstract String handleGetGetterSetterTypeName()
TemplateParameterFacade.getGetterSetterTypeName()public final String getGetterSetterTypeName()
getGetterSetterTypeName in interface TemplateParameterFacadeprotected abstract String handleGetGetterName()
TemplateParameterFacade.getGetterName()public final String getGetterName()
getGetterName in interface TemplateParameterFacadeprotected abstract String handleGetSetterName()
TemplateParameterFacade.getSetterName()public final String getSetterName()
getSetterName in interface TemplateParameterFacadeprotected abstract ModelElementFacade handleGetOwner()
TemplateParameterFacade.getOwner()public final ModelElementFacade getOwner()
getOwner in interface TemplateParameterFacadeprotected abstract String handleGetDocumentation(String indent)
getDocumentation(indent, 64).indent - public String getDocumentation(String indent)
getDocumentation(indent, 64).getDocumentation in interface TemplateParameterFacadeindent - String
Specifies the amount to indent by.
protected abstract String handleGetDocumentation(String indent, int lineLength)
getDocumentation(indent, lineLength, true).indent - lineLength - public String getDocumentation(String indent, int lineLength)
getDocumentation(indent, lineLength, true).getDocumentation in interface TemplateParameterFacadeindent - String
TODO: Model Documentation for
TemplateParameterFacade.getDocumentation(indent)lineLength - int
TODO: Model Documentation for
TemplateParameterFacade.getDocumentation(lineLength)protected abstract String handleGetDocumentation(String indent, int lineLength, boolean htmlStyle)
indent - lineLength - htmlStyle - public String getDocumentation(String indent, int lineLength, boolean htmlStyle)
getDocumentation in interface TemplateParameterFacadeindent - String
TODO: Model Documentation for
TemplateParameterFacade.getDocumentation(indent)lineLength - int
TODO: Model Documentation for
TemplateParameterFacade.getDocumentation(lineLength)htmlStyle - boolean
TODO: Model Documentation for
TemplateParameterFacade.getDocumentation(htmlStyle)public final ModelElementFacade getDefaultElement()
getDefaultElement in interface TemplateParameterFacadeprotected abstract Object handleGetDefaultElement()
public final ModelElementFacade getParameter()
getParameter in interface TemplateParameterFacadeprotected abstract Object handleGetParameter()
public final Collection<ClassifierFacade> getConstrainingClassifiers()
getConstrainingClassifiers in interface TemplateParameterFacadeprotected abstract Collection handleGetConstrainingClassifiers()
public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::metafacades::uml::TemplateParameterFacade::template parameter type must be specified
Error: Template Parameter type must be specified.
OCL: context TemplateParameterFacade inv: type.name->notEmpty()
validateInvariants in interface TemplateParameterFacadevalidateInvariants in class MetafacadeBasevalidationMessages - CollectionMetafacadeBase.validateInvariants(Collection validationMessages)public String toString()
toString in class MetafacadeBaseObject.toString()Copyright © 2003–2014 AndroMDA.org. All rights reserved.