org.andromda.metafacades.uml
Interface TemplateArgumentFacade


public interface TemplateArgumentFacade

Represents a UML template argument.

Metafacade interface to be used by AndroMDA cartridges.


Method Summary
 ModelElementFacade getElement()
           
 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 isTemplateArgumentFacadeMetaType()
          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

isTemplateArgumentFacadeMetaType

boolean isTemplateArgumentFacadeMetaType()
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.

getElement

ModelElementFacade getElement()


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