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()
           
 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 validationMessages)
          Performs validation of any invariants found on this model element and stores the messages within the validationMessages collection.
 

Method Detail

isTemplateParameterFacadeMetaType

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

Returns:
always true

initialize

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


getValidationOwner

public 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

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


validateInvariants

public void validateInvariants(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

public ModelElementFacade getDefaultElement()

getParameter

public ModelElementFacade getParameter()


Copyright © 2003-2006 The AndroMDA Team. All Rights Reserved.