org.andromda.cartridges.jsf.metafacades
Class JSFViewLogic

java.lang.Object
  extended by org.andromda.core.metafacade.MetafacadeBase
      extended by org.andromda.cartridges.jsf.metafacades.JSFViewLogic
All Implemented Interfaces:
JSFView, org.andromda.metafacades.uml.ActionStateFacade, org.andromda.metafacades.uml.FrontEndActionState, org.andromda.metafacades.uml.FrontEndView, org.andromda.metafacades.uml.ModelElementFacade, org.andromda.metafacades.uml.StateFacade, org.andromda.metafacades.uml.StateVertexFacade
Direct Known Subclasses:
JSFViewLogicImpl

public abstract class JSFViewLogic
extends org.andromda.core.metafacade.MetafacadeBase
implements JSFView

MetafacadeLogic for org.andromda.cartridges.jsf.metafacades.JSFView

See Also:
JSFView

Field Summary
protected  java.lang.Object metaObject
           
 
Fields inherited from class org.andromda.core.metafacade.MetafacadeBase
contextRoot, logger
 
Constructor Summary
JSFViewLogic(java.lang.Object metaObject, java.lang.String context)
           
 
Method Summary
 void copyTaggedValues(org.andromda.metafacades.uml.ModelElementFacade element)
           
 java.lang.Object findTaggedValue(java.lang.String tagName)
           
 java.util.Collection findTaggedValues(java.lang.String tagName)
           
 java.util.List getActionForwards()
           All those forwards that are actions.
 java.lang.String getActionMethodName()
           
 java.util.List getActions()
           
 java.util.List getAllActionParameters()
           
 java.util.List getAllFormFields()
           
 java.util.List getBackingValueVariables()
           All variables that have backing value.
 java.util.Collection getConstraints()
           
 java.util.Collection getConstraints(java.lang.String kind)
           
 org.andromda.metafacades.uml.StateFacade getContainer()
           
 java.util.List getContainerActions()
           
 java.util.List getControllerCalls()
           
 java.util.Collection getDeferrableEvents()
           
 java.lang.String getDocumentation(java.lang.String indent)
           
 java.lang.String getDocumentation(java.lang.String indent, int lineLength)
           
 java.lang.String getDocumentation(java.lang.String indent, int lineLength, boolean htmlStyle)
           
 java.lang.String getDocumentationKey()
           A resource message key suited for the page's documentation.
 java.lang.String getDocumentationValue()
           A resource message value suited for the view's documentation.
 org.andromda.metafacades.uml.ActionFacade getEntry()
           
 java.util.List getExceptions()
           
 java.util.List getFormActions()
           All actions that have forms associated with them.
 java.lang.String getFormKey()
           The key that stores the form in which information is passed from one action to another.
 org.andromda.metafacades.uml.FrontEndForward getForward()
           
 java.util.List getForwards()
           Gets the forwards which can be targgeted from this view.
 java.lang.String getFromOutcome()
           The name that corresponds to the from-outcome in an navigational rule.
 java.lang.String getFullyQualifiedName()
           
 java.lang.String getFullyQualifiedName(boolean modelName)
           
 java.lang.String getFullyQualifiedNamePath()
           
 java.lang.String getFullyQualifiedPopulator()
           The fully qualified name of this view's form populator.
 java.lang.String getId()
           
 java.util.Collection getIncoming()
           
 org.andromda.metafacades.uml.TypeMappings getLanguageMappings()
           
 java.lang.String getMessageKey()
           The default resource message key for this view.
 java.lang.String getMessageValue()
           A displayable version of this view's name.
 org.andromda.metafacades.uml.ModelFacade getModel()
           
 java.lang.String getName()
           
 java.util.Collection getOutgoing()
           
 org.andromda.metafacades.uml.ModelElementFacade getPackage()
           
 java.lang.String getPackageName()
           
 java.lang.String getPackageName(boolean modelName)
           
 java.lang.String getPackagePath()
           
 org.andromda.metafacades.uml.PartitionFacade getPartition()
           
 java.lang.String getPath()
           The full path of the view resources (i.e.
 java.lang.String getPopulator()
           The name of the form populator for this view.
 java.lang.String getPopulatorPath()
           The path to the form populator.
 org.andromda.metafacades.uml.PackageFacade getRootPackage()
           
 java.util.Collection getSourceDependencies()
           
 org.andromda.metafacades.uml.StateMachineFacade getStateMachine()
           
 org.andromda.metafacades.uml.StateMachineFacade getStateMachineContext()
           
 java.util.Collection getStereotypeNames()
           
 java.util.Collection getStereotypes()
           
 java.util.List getTables()
           
 java.util.Collection getTaggedValues()
           
 java.util.Collection getTargetDependencies()
           
 java.lang.Object getTemplateParameter(java.lang.String parameterName)
           
 java.util.Collection getTemplateParameters()
           
 java.lang.String getTitleKey()
           A resource message key suited for the view's title.
 java.lang.String getTitleValue()
           A default resource message value suited for the page's title.
 org.andromda.metafacades.uml.FrontEndUseCase getUseCase()
           
 java.lang.String getValidationName()
           
 java.lang.Object getValidationOwner()
           
 java.util.List getVariables()
           
 java.lang.String getVisibility()
           
protected abstract  java.util.List handleGetActionForwards()
           
protected abstract  java.util.List handleGetBackingValueVariables()
           
protected abstract  java.lang.String handleGetDocumentationKey()
           
protected abstract  java.lang.String handleGetDocumentationValue()
           
protected abstract  java.util.List handleGetFormActions()
           
protected abstract  java.lang.String handleGetFormKey()
           
protected abstract  java.util.List handleGetForwards()
           
protected abstract  java.lang.String handleGetFromOutcome()
           
protected abstract  java.lang.String handleGetFullyQualifiedPopulator()
           
protected abstract  java.lang.String handleGetMessageKey()
           
protected abstract  java.lang.String handleGetMessageValue()
           
protected abstract  java.lang.String handleGetPath()
           
protected abstract  java.lang.String handleGetPopulator()
           
protected abstract  java.lang.String handleGetPopulatorPath()
           
protected abstract  java.lang.String handleGetTitleKey()
           
protected abstract  java.lang.String handleGetTitleValue()
           
protected abstract  boolean handleIsHasNameOfUseCase()
           
protected abstract  boolean handleIsNonTableVariablesPresent()
           
protected abstract  boolean handleIsPopulatorRequired()
           
protected abstract  boolean handleIsPopup()
           
protected abstract  boolean handleIsValidationRequired()
           
 boolean hasExactStereotype(java.lang.String stereotypeName)
           
 boolean hasStereotype(java.lang.String stereotypeName)
           
 void initialize()
           
 boolean isActionStateFacadeMetaType()
           
 boolean isBindingDependenciesPresent()
           
 boolean isConstraintsPresent()
           
 boolean isContainedInFrontEndUseCase()
           
 boolean isFrontEndActionStateMetaType()
           
 boolean isFrontEndView()
           
 boolean isFrontEndViewMetaType()
           
 boolean isHasNameOfUseCase()
           Indicates whether or not this view has the same name as the use case in which it is contained.
 boolean isJSFViewMetaType()
          Indicates the metafacade type (used for metafacade mappings).
 boolean isModelElementFacadeMetaType()
           
 boolean isNonTableVariablesPresent()
           Indicates whether or not any non-table view variables are present in this view.
 boolean isPopulatorRequired()
           Indicates if a populator is required for this view.
 boolean isPopup()
           Indicates if this view represents a popup.
 boolean isServerSide()
           
 boolean isStateFacadeMetaType()
           
 boolean isStateVertexFacadeMetaType()
           
 boolean isTemplateParametersPresent()
           
 boolean isValidationRequired()
           Indicates whether or not at least one parameter of an outgoing action in this view requires validation.
 void resetMetafacadeContext(java.lang.String context)
           
 java.lang.String toString()
           
 java.lang.String translateConstraint(java.lang.String name, java.lang.String translation)
           
 java.lang.String[] translateConstraints(java.lang.String translation)
           
 java.lang.String[] translateConstraints(java.lang.String kind, java.lang.String translation)
           
 void validateInvariants(java.util.Collection validationMessages)
           
 
Methods inherited from class org.andromda.core.metafacade.MetafacadeBase
equals, getConfiguredProperty, getMetafacadeContext, getMetaObject, hashCode, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

metaObject

protected java.lang.Object metaObject
Constructor Detail

JSFViewLogic

public JSFViewLogic(java.lang.Object metaObject,
                    java.lang.String context)
Method Detail

resetMetafacadeContext

public void resetMetafacadeContext(java.lang.String context)
Overrides:
resetMetafacadeContext in class org.andromda.core.metafacade.MetafacadeBase
See Also:
MetafacadeBase

isJSFViewMetaType

public boolean isJSFViewMetaType()
Description copied from interface: JSFView
Indicates the metafacade type (used for metafacade mappings).

Specified by:
isJSFViewMetaType in interface JSFView
Returns:
always true
See Also:
JSFView

handleGetPath

protected abstract java.lang.String handleGetPath()
See Also:
JSFView.getPath()

getPath

public final java.lang.String getPath()
Description copied from interface: JSFView

The full path of the view resources (i.e. the JSP page).

Specified by:
getPath in interface JSFView

handleGetTitleKey

protected abstract java.lang.String handleGetTitleKey()
See Also:
JSFView.getTitleKey()

getTitleKey

public final java.lang.String getTitleKey()
Description copied from interface: JSFView

A resource message key suited for the view's title.

Specified by:
getTitleKey in interface JSFView

handleGetTitleValue

protected abstract java.lang.String handleGetTitleValue()
See Also:
JSFView.getTitleValue()

getTitleValue

public final java.lang.String getTitleValue()
Description copied from interface: JSFView

A default resource message value suited for the page's title.

Specified by:
getTitleValue in interface JSFView

handleGetMessageKey

protected abstract java.lang.String handleGetMessageKey()
See Also:
JSFView.getMessageKey()

getMessageKey

public final java.lang.String getMessageKey()
Description copied from interface: JSFView

The default resource message key for this view.

Specified by:
getMessageKey in interface JSFView

handleGetDocumentationKey

protected abstract java.lang.String handleGetDocumentationKey()
See Also:
JSFView.getDocumentationKey()

getDocumentationKey

public final java.lang.String getDocumentationKey()
Description copied from interface: JSFView

A resource message key suited for the page's documentation.

Specified by:
getDocumentationKey in interface JSFView

handleGetDocumentationValue

protected abstract java.lang.String handleGetDocumentationValue()
See Also:
JSFView.getDocumentationValue()

getDocumentationValue

public final java.lang.String getDocumentationValue()
Description copied from interface: JSFView

A resource message value suited for the view's documentation.

Specified by:
getDocumentationValue in interface JSFView

handleGetMessageValue

protected abstract java.lang.String handleGetMessageValue()
See Also:
JSFView.getMessageValue()

getMessageValue

public final java.lang.String getMessageValue()
Description copied from interface: JSFView

A displayable version of this view's name.

Specified by:
getMessageValue in interface JSFView

handleGetFullyQualifiedPopulator

protected abstract java.lang.String handleGetFullyQualifiedPopulator()
See Also:
JSFView.getFullyQualifiedPopulator()

getFullyQualifiedPopulator

public final java.lang.String getFullyQualifiedPopulator()
Description copied from interface: JSFView

The fully qualified name of this view's form populator.

Specified by:
getFullyQualifiedPopulator in interface JSFView

handleGetPopulator

protected abstract java.lang.String handleGetPopulator()
See Also:
JSFView.getPopulator()

getPopulator

public final java.lang.String getPopulator()
Description copied from interface: JSFView

The name of the form populator for this view.

Specified by:
getPopulator in interface JSFView

handleGetPopulatorPath

protected abstract java.lang.String handleGetPopulatorPath()
See Also:
JSFView.getPopulatorPath()

getPopulatorPath

public final java.lang.String getPopulatorPath()
Description copied from interface: JSFView

The path to the form populator.

Specified by:
getPopulatorPath in interface JSFView

handleIsPopulatorRequired

protected abstract boolean handleIsPopulatorRequired()
See Also:
JSFView.isPopulatorRequired()

isPopulatorRequired

public final boolean isPopulatorRequired()
Description copied from interface: JSFView

Indicates if a populator is required for this view.

Specified by:
isPopulatorRequired in interface JSFView

handleIsValidationRequired

protected abstract boolean handleIsValidationRequired()
See Also:
JSFView.isValidationRequired()

isValidationRequired

public final boolean isValidationRequired()
Description copied from interface: JSFView

Indicates whether or not at least one parameter of an outgoing action in this view requires validation.

Specified by:
isValidationRequired in interface JSFView

handleIsPopup

protected abstract boolean handleIsPopup()
See Also:
JSFView.isPopup()

isPopup

public final boolean isPopup()
Description copied from interface: JSFView

Indicates if this view represents a popup.

Specified by:
isPopup in interface JSFView

handleIsNonTableVariablesPresent

protected abstract boolean handleIsNonTableVariablesPresent()
See Also:
JSFView.isNonTableVariablesPresent()

isNonTableVariablesPresent

public final boolean isNonTableVariablesPresent()
Description copied from interface: JSFView

Indicates whether or not any non-table view variables are present in this view.

Specified by:
isNonTableVariablesPresent in interface JSFView

handleIsHasNameOfUseCase

protected abstract boolean handleIsHasNameOfUseCase()
See Also:
JSFView.isHasNameOfUseCase()

isHasNameOfUseCase

public final boolean isHasNameOfUseCase()
Description copied from interface: JSFView

Indicates whether or not this view has the same name as the use case in which it is contained.

Specified by:
isHasNameOfUseCase in interface JSFView

handleGetFormKey

protected abstract java.lang.String handleGetFormKey()
See Also:
JSFView.getFormKey()

getFormKey

public final java.lang.String getFormKey()
Description copied from interface: JSFView

The key that stores the form in which information is passed from one action to another.

Specified by:
getFormKey in interface JSFView

handleGetFromOutcome

protected abstract java.lang.String handleGetFromOutcome()
See Also:
JSFView.getFromOutcome()

getFromOutcome

public final java.lang.String getFromOutcome()
Description copied from interface: JSFView

The name that corresponds to the from-outcome in an navigational rule.

Specified by:
getFromOutcome in interface JSFView

getForwards

public final java.util.List getForwards()
Description copied from interface: JSFView

Gets the forwards which can be targgeted from this view.

Specified by:
getForwards in interface JSFView

handleGetForwards

protected abstract java.util.List handleGetForwards()

getActionForwards

public final java.util.List getActionForwards()
Description copied from interface: JSFView

All those forwards that are actions.

Specified by:
getActionForwards in interface JSFView

handleGetActionForwards

protected abstract java.util.List handleGetActionForwards()

getFormActions

public final java.util.List getFormActions()
Description copied from interface: JSFView

All actions that have forms associated with them.

Specified by:
getFormActions in interface JSFView

handleGetFormActions

protected abstract java.util.List handleGetFormActions()

getBackingValueVariables

public final java.util.List getBackingValueVariables()
Description copied from interface: JSFView

All variables that have backing value.

Specified by:
getBackingValueVariables in interface JSFView

handleGetBackingValueVariables

protected abstract java.util.List handleGetBackingValueVariables()

isFrontEndViewMetaType

public boolean isFrontEndViewMetaType()
Specified by:
isFrontEndViewMetaType in interface org.andromda.metafacades.uml.FrontEndView
See Also:
FrontEndView

isFrontEndActionStateMetaType

public boolean isFrontEndActionStateMetaType()
Specified by:
isFrontEndActionStateMetaType in interface org.andromda.metafacades.uml.FrontEndActionState
See Also:
FrontEndActionState

isActionStateFacadeMetaType

public boolean isActionStateFacadeMetaType()
Specified by:
isActionStateFacadeMetaType in interface org.andromda.metafacades.uml.ActionStateFacade
See Also:
ActionStateFacade

isStateFacadeMetaType

public boolean isStateFacadeMetaType()
Specified by:
isStateFacadeMetaType in interface org.andromda.metafacades.uml.StateFacade
See Also:
StateFacade

isStateVertexFacadeMetaType

public boolean isStateVertexFacadeMetaType()
Specified by:
isStateVertexFacadeMetaType in interface org.andromda.metafacades.uml.StateVertexFacade
See Also:
StateVertexFacade

isModelElementFacadeMetaType

public boolean isModelElementFacadeMetaType()
Specified by:
isModelElementFacadeMetaType in interface org.andromda.metafacades.uml.ModelElementFacade
See Also:
ModelElementFacade

getEntry

public org.andromda.metafacades.uml.ActionFacade getEntry()
Specified by:
getEntry in interface org.andromda.metafacades.uml.ActionStateFacade

getActionMethodName

public java.lang.String getActionMethodName()
Specified by:
getActionMethodName in interface org.andromda.metafacades.uml.FrontEndActionState

getContainerActions

public java.util.List getContainerActions()
Specified by:
getContainerActions in interface org.andromda.metafacades.uml.FrontEndActionState

getControllerCalls

public java.util.List getControllerCalls()
Specified by:
getControllerCalls in interface org.andromda.metafacades.uml.FrontEndActionState

getExceptions

public java.util.List getExceptions()
Specified by:
getExceptions in interface org.andromda.metafacades.uml.FrontEndActionState

getForward

public org.andromda.metafacades.uml.FrontEndForward getForward()
Specified by:
getForward in interface org.andromda.metafacades.uml.FrontEndActionState

isContainedInFrontEndUseCase

public boolean isContainedInFrontEndUseCase()
Specified by:
isContainedInFrontEndUseCase in interface org.andromda.metafacades.uml.FrontEndActionState

isServerSide

public boolean isServerSide()
Specified by:
isServerSide in interface org.andromda.metafacades.uml.FrontEndActionState

getActions

public java.util.List getActions()
Specified by:
getActions in interface org.andromda.metafacades.uml.FrontEndView

getAllActionParameters

public java.util.List getAllActionParameters()
Specified by:
getAllActionParameters in interface org.andromda.metafacades.uml.FrontEndView

getAllFormFields

public java.util.List getAllFormFields()
Specified by:
getAllFormFields in interface org.andromda.metafacades.uml.FrontEndView

getTables

public java.util.List getTables()
Specified by:
getTables in interface org.andromda.metafacades.uml.FrontEndView

getUseCase

public org.andromda.metafacades.uml.FrontEndUseCase getUseCase()
Specified by:
getUseCase in interface org.andromda.metafacades.uml.FrontEndView

getVariables

public java.util.List getVariables()
Specified by:
getVariables in interface org.andromda.metafacades.uml.FrontEndView

isFrontEndView

public boolean isFrontEndView()
Specified by:
isFrontEndView in interface org.andromda.metafacades.uml.FrontEndView

copyTaggedValues

public void copyTaggedValues(org.andromda.metafacades.uml.ModelElementFacade element)
Specified by:
copyTaggedValues in interface org.andromda.metafacades.uml.ModelElementFacade

findTaggedValue

public java.lang.Object findTaggedValue(java.lang.String tagName)
Specified by:
findTaggedValue in interface org.andromda.metafacades.uml.ModelElementFacade

findTaggedValues

public java.util.Collection findTaggedValues(java.lang.String tagName)
Specified by:
findTaggedValues in interface org.andromda.metafacades.uml.ModelElementFacade

getConstraints

public java.util.Collection getConstraints()
Specified by:
getConstraints in interface org.andromda.metafacades.uml.ModelElementFacade

getConstraints

public java.util.Collection getConstraints(java.lang.String kind)
Specified by:
getConstraints in interface org.andromda.metafacades.uml.ModelElementFacade

getDocumentation

public java.lang.String getDocumentation(java.lang.String indent,
                                         int lineLength)
Specified by:
getDocumentation in interface org.andromda.metafacades.uml.ModelElementFacade

getDocumentation

public java.lang.String getDocumentation(java.lang.String indent,
                                         int lineLength,
                                         boolean htmlStyle)
Specified by:
getDocumentation in interface org.andromda.metafacades.uml.ModelElementFacade

getDocumentation

public java.lang.String getDocumentation(java.lang.String indent)
Specified by:
getDocumentation in interface org.andromda.metafacades.uml.ModelElementFacade

getFullyQualifiedName

public java.lang.String getFullyQualifiedName(boolean modelName)
Specified by:
getFullyQualifiedName in interface org.andromda.metafacades.uml.ModelElementFacade

getFullyQualifiedName

public java.lang.String getFullyQualifiedName()
Specified by:
getFullyQualifiedName in interface org.andromda.metafacades.uml.ModelElementFacade

getFullyQualifiedNamePath

public java.lang.String getFullyQualifiedNamePath()
Specified by:
getFullyQualifiedNamePath in interface org.andromda.metafacades.uml.ModelElementFacade

getId

public java.lang.String getId()
Specified by:
getId in interface org.andromda.metafacades.uml.ModelElementFacade

getLanguageMappings

public org.andromda.metafacades.uml.TypeMappings getLanguageMappings()
Specified by:
getLanguageMappings in interface org.andromda.metafacades.uml.ModelElementFacade

getModel

public org.andromda.metafacades.uml.ModelFacade getModel()
Specified by:
getModel in interface org.andromda.metafacades.uml.ModelElementFacade

getName

public java.lang.String getName()
Specified by:
getName in interface org.andromda.metafacades.uml.ModelElementFacade

getPackage

public org.andromda.metafacades.uml.ModelElementFacade getPackage()
Specified by:
getPackage in interface org.andromda.metafacades.uml.ModelElementFacade

getPackageName

public java.lang.String getPackageName(boolean modelName)
Specified by:
getPackageName in interface org.andromda.metafacades.uml.ModelElementFacade

getPackageName

public java.lang.String getPackageName()
Specified by:
getPackageName in interface org.andromda.metafacades.uml.ModelElementFacade

getPackagePath

public java.lang.String getPackagePath()
Specified by:
getPackagePath in interface org.andromda.metafacades.uml.ModelElementFacade

getRootPackage

public org.andromda.metafacades.uml.PackageFacade getRootPackage()
Specified by:
getRootPackage in interface org.andromda.metafacades.uml.ModelElementFacade

getSourceDependencies

public java.util.Collection getSourceDependencies()
Specified by:
getSourceDependencies in interface org.andromda.metafacades.uml.ModelElementFacade

getStateMachineContext

public org.andromda.metafacades.uml.StateMachineFacade getStateMachineContext()
Specified by:
getStateMachineContext in interface org.andromda.metafacades.uml.ModelElementFacade

getStereotypeNames

public java.util.Collection getStereotypeNames()
Specified by:
getStereotypeNames in interface org.andromda.metafacades.uml.ModelElementFacade

getStereotypes

public java.util.Collection getStereotypes()
Specified by:
getStereotypes in interface org.andromda.metafacades.uml.ModelElementFacade

getTaggedValues

public java.util.Collection getTaggedValues()
Specified by:
getTaggedValues in interface org.andromda.metafacades.uml.ModelElementFacade

getTargetDependencies

public java.util.Collection getTargetDependencies()
Specified by:
getTargetDependencies in interface org.andromda.metafacades.uml.ModelElementFacade

getTemplateParameter

public java.lang.Object getTemplateParameter(java.lang.String parameterName)
Specified by:
getTemplateParameter in interface org.andromda.metafacades.uml.ModelElementFacade

getTemplateParameters

public java.util.Collection getTemplateParameters()
Specified by:
getTemplateParameters in interface org.andromda.metafacades.uml.ModelElementFacade

getVisibility

public java.lang.String getVisibility()
Specified by:
getVisibility in interface org.andromda.metafacades.uml.ModelElementFacade

hasExactStereotype

public boolean hasExactStereotype(java.lang.String stereotypeName)
Specified by:
hasExactStereotype in interface org.andromda.metafacades.uml.ModelElementFacade

hasStereotype

public boolean hasStereotype(java.lang.String stereotypeName)
Specified by:
hasStereotype in interface org.andromda.metafacades.uml.ModelElementFacade

isBindingDependenciesPresent

public boolean isBindingDependenciesPresent()
Specified by:
isBindingDependenciesPresent in interface org.andromda.metafacades.uml.ModelElementFacade

isConstraintsPresent

public boolean isConstraintsPresent()
Specified by:
isConstraintsPresent in interface org.andromda.metafacades.uml.ModelElementFacade

isTemplateParametersPresent

public boolean isTemplateParametersPresent()
Specified by:
isTemplateParametersPresent in interface org.andromda.metafacades.uml.ModelElementFacade

translateConstraint

public java.lang.String translateConstraint(java.lang.String name,
                                            java.lang.String translation)
Specified by:
translateConstraint in interface org.andromda.metafacades.uml.ModelElementFacade

translateConstraints

public java.lang.String[] translateConstraints(java.lang.String translation)
Specified by:
translateConstraints in interface org.andromda.metafacades.uml.ModelElementFacade

translateConstraints

public java.lang.String[] translateConstraints(java.lang.String kind,
                                               java.lang.String translation)
Specified by:
translateConstraints in interface org.andromda.metafacades.uml.ModelElementFacade

getDeferrableEvents

public java.util.Collection getDeferrableEvents()
Specified by:
getDeferrableEvents in interface org.andromda.metafacades.uml.StateFacade

getContainer

public org.andromda.metafacades.uml.StateFacade getContainer()
Specified by:
getContainer in interface org.andromda.metafacades.uml.StateVertexFacade

getIncoming

public java.util.Collection getIncoming()
Specified by:
getIncoming in interface org.andromda.metafacades.uml.StateVertexFacade

getOutgoing

public java.util.Collection getOutgoing()
Specified by:
getOutgoing in interface org.andromda.metafacades.uml.StateVertexFacade

getPartition

public org.andromda.metafacades.uml.PartitionFacade getPartition()
Specified by:
getPartition in interface org.andromda.metafacades.uml.StateVertexFacade

getStateMachine

public org.andromda.metafacades.uml.StateMachineFacade getStateMachine()
Specified by:
getStateMachine in interface org.andromda.metafacades.uml.StateVertexFacade

initialize

public void initialize()
Specified by:
initialize in interface org.andromda.metafacades.uml.ModelElementFacade
Overrides:
initialize in class org.andromda.core.metafacade.MetafacadeBase
See Also:
MetafacadeBase.initialize()

getValidationOwner

public java.lang.Object getValidationOwner()
Specified by:
getValidationOwner in interface org.andromda.metafacades.uml.ModelElementFacade
Overrides:
getValidationOwner in class org.andromda.core.metafacade.MetafacadeBase
See Also:
MetafacadeBase.getValidationOwner()

getValidationName

public java.lang.String getValidationName()
Specified by:
getValidationName in interface org.andromda.metafacades.uml.ModelElementFacade
Overrides:
getValidationName in class org.andromda.core.metafacade.MetafacadeBase
See Also:
MetafacadeBase.getValidationName()

validateInvariants

public void validateInvariants(java.util.Collection validationMessages)
Specified by:
validateInvariants in interface org.andromda.metafacades.uml.ModelElementFacade
Overrides:
validateInvariants in class org.andromda.core.metafacade.MetafacadeBase
See Also:
MetafacadeBase.validateInvariants(java.util.Collection)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


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