org.andromda.metafacades.uml
Interface TemplateParameterFacade


public interface TemplateParameterFacade

Represents a UML template parameter.

Metafacade interface to be used by AndroMDA cartridges.


Method Summary
 ModelElementFacade getDefaultElement()
           
 ModelElementFacade getParameter()
           
 java.lang.String getValidationName()
          Gets the name of the metafacade used within validation messages.
 java.lang.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(java.util.Collection validationMessages)
          Performs validation of any invariants found on this model element and stores the messages within the validationMessages collection.
 

Method Detail

isTemplateParameterFacadeMetaType

boolean isTemplateParameterFacadeMetaType()
Indicates the metafacade type (used for metafacade mappings).

Returns:
always true

initialize

void initialize()
Provides any required initialization of the metafacade.


getValidationOwner

java.lang.Object getValidationOwner()
Gets the metafacade that acts as the 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.


getValidationName

java.lang.String getValidationName()
Gets the name of the metafacade used within validation messages. This provides the full name of the metafacade.


validateInvariants

void validateInvariants(java.util.Collection validationMessages)
Performs validation of any invariants found on this model element and stores the messages within the validationMessages collection.

Parameters:
validationMessages - the collection of messages to which additional validation messages will be added if invariants are broken.

getDefaultElement

ModelElementFacade getDefaultElement()

getParameter

ModelElementFacade getParameter()


Copyright © 2003-2009 AndroMDA.org. All Rights Reserved.