org.andromda.cartridges.jsf.metafacades
Class JSFFinalStateLogic

java.lang.Object
  extended by org.andromda.core.metafacade.MetafacadeBase
      extended by org.andromda.cartridges.jsf.metafacades.JSFFinalStateLogic
All Implemented Interfaces:
JSFFinalState, org.andromda.metafacades.uml.FinalStateFacade, org.andromda.metafacades.uml.FrontEndFinalState, org.andromda.metafacades.uml.ModelElementFacade, org.andromda.metafacades.uml.StateFacade, org.andromda.metafacades.uml.StateVertexFacade
Direct Known Subclasses:
JSFFinalStateLogicImpl

public abstract class JSFFinalStateLogic
extends org.andromda.core.metafacade.MetafacadeBase
implements JSFFinalState

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

See Also:
JSFFinalState

Field Summary
protected  java.lang.Object metaObject
           
 
Fields inherited from class org.andromda.core.metafacade.MetafacadeBase
contextRoot, logger
 
Constructor Summary
JSFFinalStateLogic(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.Collection getConstraints()
           
 java.util.Collection getConstraints(java.lang.String kind)
           
 org.andromda.metafacades.uml.StateFacade getContainer()
           
 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 getFullyQualifiedName()
           
 java.lang.String getFullyQualifiedName(boolean modelName)
           
 java.lang.String getFullyQualifiedNamePath()
           
 java.lang.String getId()
           
 java.util.Collection getIncoming()
           
 java.util.List getInterUseCaseParameters()
           
 org.andromda.metafacades.uml.TypeMappings getLanguageMappings()
           
 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 path to which this final state points.
 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.Collection getTaggedValues()
           
 java.util.Collection getTargetDependencies()
           
 org.andromda.metafacades.uml.FrontEndUseCase getTargetUseCase()
           
 java.lang.Object getTemplateParameter(java.lang.String parameterName)
           
 java.util.Collection getTemplateParameters()
           
 java.lang.String getValidationName()
           
 java.lang.Object getValidationOwner()
           
 java.lang.String getVisibility()
           
protected abstract  java.lang.String handleGetPath()
           
 boolean hasExactStereotype(java.lang.String stereotypeName)
           
 boolean hasStereotype(java.lang.String stereotypeName)
           
 void initialize()
           
 boolean isBindingDependenciesPresent()
           
 boolean isConstraintsPresent()
           
 boolean isContainedInFrontEndUseCase()
           
 boolean isFinalStateFacadeMetaType()
           
 boolean isFrontEndFinalStateMetaType()
           
 boolean isJSFFinalStateMetaType()
          Indicates the metafacade type (used for metafacade mappings).
 boolean isModelElementFacadeMetaType()
           
 boolean isStateFacadeMetaType()
           
 boolean isStateVertexFacadeMetaType()
           
 boolean isTemplateParametersPresent()
           
 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

JSFFinalStateLogic

public JSFFinalStateLogic(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

isJSFFinalStateMetaType

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

Specified by:
isJSFFinalStateMetaType in interface JSFFinalState
Returns:
always true
See Also:
JSFFinalState

handleGetPath

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

getPath

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

The path to which this final state points.

Specified by:
getPath in interface JSFFinalState

isFrontEndFinalStateMetaType

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

isFinalStateFacadeMetaType

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

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

getInterUseCaseParameters

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

getTargetUseCase

public org.andromda.metafacades.uml.FrontEndUseCase getTargetUseCase()
Specified by:
getTargetUseCase in interface org.andromda.metafacades.uml.FrontEndFinalState

isContainedInFrontEndUseCase

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

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,
                                         boolean htmlStyle)
Specified by:
getDocumentation 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)
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.