|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.andromda.core.metafacade.MetafacadeBase
org.andromda.cartridges.jsf.metafacades.JSFActionLogic
public abstract class JSFActionLogic
MetafacadeLogic for org.andromda.cartridges.jsf.metafacades.JSFAction
JSFAction| Field Summary | |
|---|---|
protected java.lang.Object |
metaObject
|
| Fields inherited from class org.andromda.core.metafacade.MetafacadeBase |
|---|
contextRoot, logger |
| Constructor Summary | |
|---|---|
JSFActionLogic(java.lang.Object metaObject,
java.lang.String context)
|
|
| Method Summary | |
|---|---|
void |
copyTaggedValues(org.andromda.metafacades.uml.ModelElementFacade element)
|
org.andromda.metafacades.uml.ParameterFacade |
findParameter(java.lang.String name)
|
java.lang.Object |
findTaggedValue(java.lang.String tagName)
|
java.util.Collection |
findTaggedValues(java.lang.String tagName)
|
java.lang.String |
getActionClassName()
The name of the action class that executes this action. |
java.util.List |
getActionForwards()
|
java.lang.String |
getActionMethodName()
|
java.util.List |
getActions()
|
java.util.List |
getActionStates()
|
java.util.Collection |
getConstraints()
|
java.util.Collection |
getConstraints(java.lang.String kind)
|
org.andromda.metafacades.uml.FrontEndController |
getController()
|
java.lang.String |
getControllerAction()
The name of the action on the controller that executions this action. |
java.util.List |
getDecisionTransitions()
|
org.andromda.metafacades.uml.FrontEndEvent |
getDecisionTrigger()
|
java.util.List |
getDeferredOperations()
|
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 action''s documentation. |
java.lang.String |
getDocumentationValue()
The resource messsage value suited for the action''s documentation. |
org.andromda.metafacades.uml.ActionFacade |
getEffect()
|
java.lang.String |
getFormBeanName()
The name of the bean under which the form is stored. |
java.util.List |
getFormFields()
|
java.lang.String |
getFormImplementationGetter()
The signature of the accessor method that returns the form implementation instance. |
java.lang.String |
getFormImplementationInterfaceList()
A comma seperated list of all the form interfaces which the form implementation implements. |
java.lang.String |
getFormImplementationName()
The name of the form implementation. |
java.lang.String |
getFormKey()
The key that stores the form in which information is passed from one action to another. |
java.lang.String |
getFormScope()
The scope of the JSF form (request, session,application,etc). |
java.lang.String |
getFormSerialVersionUID()
The calcuated serial version UID for this action's form. |
java.util.List |
getForwardParameters()
|
java.lang.String |
getFromOutcome()
The name that corresponds to the from-outcome in an navigational rule. |
org.andromda.metafacades.uml.FrontEndActivityGraph |
getFrontEndActivityGraph()
|
java.lang.String |
getFullyQualifiedActionClassName()
The fully qualified name of the action class that execute this action. |
java.lang.String |
getFullyQualifiedActionClassPath()
The fully qualified path to the action class that execute this action. |
java.lang.String |
getFullyQualifiedFormImplementationName()
The fully qualified name of the form implementation. |
java.lang.String |
getFullyQualifiedFormImplementationPath()
The fully qualified path of the form implementation. |
java.lang.String |
getFullyQualifiedName()
|
java.lang.String |
getFullyQualifiedName(boolean modelName)
|
java.lang.String |
getFullyQualifiedNamePath()
|
org.andromda.metafacades.uml.GuardFacade |
getGuard()
|
java.util.List |
getHiddenParameters()
All parameters that are of hidden input type. |
java.lang.String |
getId()
|
org.andromda.metafacades.uml.FrontEndView |
getInput()
|
org.andromda.metafacades.uml.TypeMappings |
getLanguageMappings()
|
java.lang.String |
getMessageKey()
The default resource message key for this action. |
org.andromda.metafacades.uml.ModelFacade |
getModel()
|
java.lang.String |
getName()
|
org.andromda.metafacades.uml.FrontEndControllerOperation |
getOperationCall()
|
org.andromda.metafacades.uml.ModelElementFacade |
getPackage()
|
java.lang.String |
getPackageName()
|
java.lang.String |
getPackageName(boolean modelName)
|
java.lang.String |
getPackagePath()
|
java.util.List |
getParameters()
|
java.lang.String |
getPath()
The path to this action. |
java.lang.String |
getPathRoot()
The path's root. |
org.andromda.metafacades.uml.PackageFacade |
getRootPackage()
|
org.andromda.metafacades.uml.StateVertexFacade |
getSource()
|
java.util.Collection |
getSourceDependencies()
|
org.andromda.metafacades.uml.StateMachineFacade |
getStateMachineContext()
|
java.util.Collection |
getStereotypeNames()
|
java.util.Collection |
getStereotypes()
|
java.util.Map |
getSuccessMessages()
Messages used to indicate successful execution. |
java.lang.String |
getTableLinkColumnName()
The name of the column targetted by this action. |
java.lang.String |
getTableLinkName()
The name of the table link specified for this action. |
JSFParameter |
getTableLinkParameter()
If the action is a table link then this property represents the table to which is being linked. |
java.util.Collection |
getTaggedValues()
|
org.andromda.metafacades.uml.StateVertexFacade |
getTarget()
|
java.util.Collection |
getTargetDependencies()
|
java.util.List |
getTargetViews()
|
java.lang.Object |
getTemplateParameter(java.lang.String parameterName)
|
java.util.Collection |
getTemplateParameters()
|
java.util.List |
getTransitions()
|
org.andromda.metafacades.uml.EventFacade |
getTrigger()
|
java.lang.String |
getTriggerName()
The name of the trigger that triggers that action. |
org.andromda.metafacades.uml.FrontEndUseCase |
getUseCase()
|
java.lang.String |
getValidationName()
|
java.lang.Object |
getValidationOwner()
|
java.lang.String |
getViewFragmentPath()
The path to the view fragment corresponding to this action |
java.lang.String |
getVisibility()
|
java.util.Map |
getWarningMessages()
Any messages used to indicate a warning. |
protected abstract java.lang.String |
handleGetActionClassName()
|
protected abstract java.lang.String |
handleGetControllerAction()
|
protected abstract java.lang.String |
handleGetDocumentationKey()
|
protected abstract java.lang.String |
handleGetDocumentationValue()
|
protected abstract java.lang.String |
handleGetFormBeanName()
|
protected abstract java.lang.String |
handleGetFormImplementationGetter()
|
protected abstract java.lang.String |
handleGetFormImplementationInterfaceList()
|
protected abstract java.lang.String |
handleGetFormImplementationName()
|
protected abstract java.lang.String |
handleGetFormKey()
|
protected abstract java.lang.String |
handleGetFormScope()
|
protected abstract java.lang.String |
handleGetFormSerialVersionUID()
|
protected abstract java.lang.String |
handleGetFromOutcome()
|
protected abstract java.lang.String |
handleGetFullyQualifiedActionClassName()
|
protected abstract java.lang.String |
handleGetFullyQualifiedActionClassPath()
|
protected abstract java.lang.String |
handleGetFullyQualifiedFormImplementationName()
|
protected abstract java.lang.String |
handleGetFullyQualifiedFormImplementationPath()
|
protected abstract java.util.List |
handleGetHiddenParameters()
|
protected abstract java.lang.String |
handleGetMessageKey()
|
protected abstract java.lang.String |
handleGetPath()
|
protected abstract java.lang.String |
handleGetPathRoot()
|
protected abstract java.util.Map |
handleGetSuccessMessages()
|
protected abstract java.lang.String |
handleGetTableLinkColumnName()
|
protected abstract java.lang.String |
handleGetTableLinkName()
|
protected abstract java.lang.Object |
handleGetTableLinkParameter()
|
protected abstract java.lang.String |
handleGetTriggerName()
|
protected abstract java.lang.String |
handleGetViewFragmentPath()
|
protected abstract java.util.Map |
handleGetWarningMessages()
|
protected abstract boolean |
handleIsFinalStateTarget()
|
protected abstract boolean |
handleIsFormReset()
|
protected abstract boolean |
handleIsFormResetRequired()
|
protected abstract boolean |
handleIsHyperlink()
|
protected abstract boolean |
handleIsPopup()
|
protected abstract boolean |
handleIsResettable()
|
protected abstract boolean |
handleIsSuccessMessagesPresent()
|
protected abstract boolean |
handleIsTableAction()
|
protected abstract boolean |
handleIsTableLink()
|
protected abstract boolean |
handleIsValidationRequired()
|
protected abstract boolean |
handleIsWarningMessagesPresent()
|
boolean |
hasExactStereotype(java.lang.String stereotypeName)
|
boolean |
hasStereotype(java.lang.String stereotypeName)
|
void |
initialize()
|
boolean |
isBindingDependenciesPresent()
|
boolean |
isConstraintsPresent()
|
boolean |
isContainedInFrontEndUseCase()
|
boolean |
isEnteringActionState()
|
boolean |
isEnteringDecisionPoint()
|
boolean |
isEnteringFinalState()
|
boolean |
isEnteringView()
|
boolean |
isExitingActionState()
|
boolean |
isExitingDecisionPoint()
|
boolean |
isExitingInitialState()
|
boolean |
isExitingView()
|
boolean |
isFinalStateTarget()
Indicates whether or not a final state is the target of this action. |
boolean |
isFormReset()
Whether or not the entire form should be reset (all action parameters on the form). |
boolean |
isFormResetRequired()
Indicates if at least one parameter on the form requires being reset. |
boolean |
isFrontEndActionMetaType()
|
boolean |
isFrontEndForwardMetaType()
|
boolean |
isHyperlink()
Indicates whether or not this action is represented by clicking on a hyperlink. |
boolean |
isJSFActionMetaType()
Indicates the metafacade type (used for metafacade mappings). |
boolean |
isModelElementFacadeMetaType()
|
boolean |
isPopup()
Indicates if this action forwards to a popup (this is determed when the targetted view is a popup). |
boolean |
isResettable()
Indicates whether or not the values passed along with this action can be reset or not. |
boolean |
isSuccessMessagesPresent()
Indicates whether or not any success messags are present. |
boolean |
isTableAction()
Indicates that this action works on all rows of the table from the table link relation. |
boolean |
isTableLink()
Indicates if a table link name has been specified and it properly targets a table page-variable from the input page. |
boolean |
isTemplateParametersPresent()
|
boolean |
isTransitionFacadeMetaType()
|
boolean |
isTriggerPresent()
|
boolean |
isUseCaseStart()
|
boolean |
isValidationRequired()
Indicates whether or not at least one parameter on this action requires validation. |
boolean |
isWarningMessagesPresent()
Whether or not any warning messages are present. |
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 |
|---|
protected java.lang.Object metaObject
| Constructor Detail |
|---|
public JSFActionLogic(java.lang.Object metaObject,
java.lang.String context)
| Method Detail |
|---|
public void resetMetafacadeContext(java.lang.String context)
resetMetafacadeContext in class org.andromda.core.metafacade.MetafacadeBaseMetafacadeBasepublic boolean isJSFActionMetaType()
JSFAction
isJSFActionMetaType in interface JSFActiontrueJSFActionprotected abstract java.lang.String handleGetFormImplementationName()
JSFAction.getFormImplementationName()public final java.lang.String getFormImplementationName()
JSFActionThe name of the form implementation.
getFormImplementationName in interface JSFActionprotected abstract java.lang.String handleGetFormBeanName()
JSFAction.getFormBeanName()public final java.lang.String getFormBeanName()
JSFActionThe name of the bean under which the form is stored.
getFormBeanName in interface JSFActionprotected abstract java.lang.String handleGetFullyQualifiedFormImplementationName()
JSFAction.getFullyQualifiedFormImplementationName()public final java.lang.String getFullyQualifiedFormImplementationName()
JSFActionThe fully qualified name of the form implementation.
getFullyQualifiedFormImplementationName in interface JSFActionprotected abstract java.lang.String handleGetFullyQualifiedFormImplementationPath()
JSFAction.getFullyQualifiedFormImplementationPath()public final java.lang.String getFullyQualifiedFormImplementationPath()
JSFActionThe fully qualified path of the form implementation.
getFullyQualifiedFormImplementationPath in interface JSFActionprotected abstract java.lang.String handleGetFormScope()
JSFAction.getFormScope()public final java.lang.String getFormScope()
JSFActionThe scope of the JSF form (request, session,application,etc).
getFormScope in interface JSFActionprotected abstract java.lang.String handleGetFormImplementationInterfaceList()
JSFAction.getFormImplementationInterfaceList()public final java.lang.String getFormImplementationInterfaceList()
JSFActionA comma seperated list of all the form interfaces which the form implementation implements.
getFormImplementationInterfaceList in interface JSFActionprotected abstract java.lang.String handleGetPath()
JSFAction.getPath()public final java.lang.String getPath()
JSFActionThe path to this action.
getPath in interface JSFActionprotected abstract java.lang.String handleGetPathRoot()
JSFAction.getPathRoot()public final java.lang.String getPathRoot()
JSFActionThe path's root.
getPathRoot in interface JSFActionprotected abstract java.lang.String handleGetMessageKey()
JSFAction.getMessageKey()public final java.lang.String getMessageKey()
JSFActionThe default resource message key for this action.
getMessageKey in interface JSFActionprotected abstract java.lang.String handleGetDocumentationKey()
JSFAction.getDocumentationKey()public final java.lang.String getDocumentationKey()
JSFActionA resource message key suited for the action''s documentation.
getDocumentationKey in interface JSFActionprotected abstract java.lang.String handleGetDocumentationValue()
JSFAction.getDocumentationValue()public final java.lang.String getDocumentationValue()
JSFActionThe resource messsage value suited for the action''s documentation.
getDocumentationValue in interface JSFActionprotected abstract java.lang.String handleGetTriggerName()
JSFAction.getTriggerName()public final java.lang.String getTriggerName()
JSFActionThe name of the trigger that triggers that action.
getTriggerName in interface JSFActionprotected abstract java.lang.String handleGetViewFragmentPath()
JSFAction.getViewFragmentPath()public final java.lang.String getViewFragmentPath()
JSFActionThe path to the view fragment corresponding to this action
getViewFragmentPath in interface JSFActionprotected abstract java.lang.String handleGetTableLinkName()
JSFAction.getTableLinkName()public final java.lang.String getTableLinkName()
JSFActionThe name of the table link specified for this action.
getTableLinkName in interface JSFActionprotected abstract java.lang.String handleGetTableLinkColumnName()
JSFAction.getTableLinkColumnName()public final java.lang.String getTableLinkColumnName()
JSFActionThe name of the column targetted by this action.
getTableLinkColumnName in interface JSFActionprotected abstract boolean handleIsTableLink()
JSFAction.isTableLink()public final boolean isTableLink()
JSFActionIndicates if a table link name has been specified and it properly targets a table page-variable from the input page.
isTableLink in interface JSFActionprotected abstract boolean handleIsHyperlink()
JSFAction.isHyperlink()public final boolean isHyperlink()
JSFActionIndicates whether or not this action is represented by clicking on a hyperlink.
isHyperlink in interface JSFActionprotected abstract java.lang.String handleGetActionClassName()
JSFAction.getActionClassName()public final java.lang.String getActionClassName()
JSFActionThe name of the action class that executes this action.
getActionClassName in interface JSFActionprotected abstract java.lang.String handleGetFullyQualifiedActionClassPath()
JSFAction.getFullyQualifiedActionClassPath()public final java.lang.String getFullyQualifiedActionClassPath()
JSFActionThe fully qualified path to the action class that execute this action.
getFullyQualifiedActionClassPath in interface JSFActionprotected abstract java.lang.String handleGetControllerAction()
JSFAction.getControllerAction()public final java.lang.String getControllerAction()
JSFActionThe name of the action on the controller that executions this action.
getControllerAction in interface JSFActionprotected abstract java.lang.String handleGetFullyQualifiedActionClassName()
JSFAction.getFullyQualifiedActionClassName()public final java.lang.String getFullyQualifiedActionClassName()
JSFActionThe fully qualified name of the action class that execute this action.
getFullyQualifiedActionClassName in interface JSFActionprotected abstract boolean handleIsResettable()
JSFAction.isResettable()public final boolean isResettable()
JSFActionIndicates whether or not the values passed along with this action can be reset or not.
isResettable in interface JSFActionprotected abstract java.lang.String handleGetFormKey()
JSFAction.getFormKey()public final java.lang.String getFormKey()
JSFActionThe key that stores the form in which information is passed from one action to another.
getFormKey in interface JSFActionprotected abstract boolean handleIsTableAction()
JSFAction.isTableAction()public final boolean isTableAction()
JSFActionIndicates that this action works on all rows of the table from the table link relation.
isTableAction in interface JSFActionprotected abstract boolean handleIsValidationRequired()
JSFAction.isValidationRequired()public final boolean isValidationRequired()
JSFActionIndicates whether or not at least one parameter on this action requires validation.
isValidationRequired in interface JSFActionprotected abstract boolean handleIsPopup()
JSFAction.isPopup()public final boolean isPopup()
JSFActionIndicates if this action forwards to a popup (this is determed when the targetted view is a popup).
isPopup in interface JSFActionprotected abstract boolean handleIsFormResetRequired()
JSFAction.isFormResetRequired()public final boolean isFormResetRequired()
JSFActionIndicates if at least one parameter on the form requires being reset.
isFormResetRequired in interface JSFActionprotected abstract boolean handleIsFormReset()
JSFAction.isFormReset()public final boolean isFormReset()
JSFActionWhether or not the entire form should be reset (all action parameters on the form).
isFormReset in interface JSFActionprotected abstract java.lang.String handleGetFormImplementationGetter()
JSFAction.getFormImplementationGetter()public final java.lang.String getFormImplementationGetter()
JSFActionThe signature of the accessor method that returns the form implementation instance.
getFormImplementationGetter in interface JSFActionprotected abstract java.lang.String handleGetFormSerialVersionUID()
JSFAction.getFormSerialVersionUID()public final java.lang.String getFormSerialVersionUID()
JSFActionThe calcuated serial version UID for this action's form.
getFormSerialVersionUID in interface JSFActionprotected abstract boolean handleIsFinalStateTarget()
JSFAction.isFinalStateTarget()public final boolean isFinalStateTarget()
JSFActionIndicates whether or not a final state is the target of this action.
isFinalStateTarget in interface JSFActionprotected abstract java.lang.String handleGetFromOutcome()
JSFAction.getFromOutcome()public final java.lang.String getFromOutcome()
JSFActionThe name that corresponds to the from-outcome in an navigational rule.
getFromOutcome in interface JSFActionprotected abstract boolean handleIsWarningMessagesPresent()
JSFAction.isWarningMessagesPresent()public final boolean isWarningMessagesPresent()
JSFActionWhether or not any warning messages are present.
isWarningMessagesPresent in interface JSFActionprotected abstract java.util.Map handleGetWarningMessages()
JSFAction.getWarningMessages()public final java.util.Map getWarningMessages()
JSFActionAny messages used to indicate a warning.
getWarningMessages in interface JSFActionprotected abstract boolean handleIsSuccessMessagesPresent()
JSFAction.isSuccessMessagesPresent()public final boolean isSuccessMessagesPresent()
JSFActionIndicates whether or not any success messags are present.
isSuccessMessagesPresent in interface JSFActionprotected abstract java.util.Map handleGetSuccessMessages()
JSFAction.getSuccessMessages()public final java.util.Map getSuccessMessages()
JSFActionMessages used to indicate successful execution.
getSuccessMessages in interface JSFActionpublic final JSFParameter getTableLinkParameter()
JSFActionIf the action is a table link then this property represents the table to which is being linked.
getTableLinkParameter in interface JSFActionprotected abstract java.lang.Object handleGetTableLinkParameter()
public final java.util.List getHiddenParameters()
JSFActionAll parameters that are of hidden input type.
getHiddenParameters in interface JSFActionprotected abstract java.util.List handleGetHiddenParameters()
public boolean isFrontEndActionMetaType()
isFrontEndActionMetaType in interface org.andromda.metafacades.uml.FrontEndActionFrontEndActionpublic boolean isFrontEndForwardMetaType()
isFrontEndForwardMetaType in interface org.andromda.metafacades.uml.FrontEndForwardFrontEndForwardpublic boolean isTransitionFacadeMetaType()
isTransitionFacadeMetaType in interface org.andromda.metafacades.uml.TransitionFacadeTransitionFacadepublic boolean isModelElementFacadeMetaType()
isModelElementFacadeMetaType in interface org.andromda.metafacades.uml.ModelElementFacadeModelElementFacadepublic org.andromda.metafacades.uml.ParameterFacade findParameter(java.lang.String name)
findParameter in interface org.andromda.metafacades.uml.FrontEndActionpublic java.util.List getActionForwards()
getActionForwards in interface org.andromda.metafacades.uml.FrontEndActionpublic java.util.List getActionStates()
getActionStates in interface org.andromda.metafacades.uml.FrontEndActionpublic org.andromda.metafacades.uml.FrontEndController getController()
getController in interface org.andromda.metafacades.uml.FrontEndActionpublic java.util.List getDecisionTransitions()
getDecisionTransitions in interface org.andromda.metafacades.uml.FrontEndActionpublic java.util.List getDeferredOperations()
getDeferredOperations in interface org.andromda.metafacades.uml.FrontEndActionpublic java.util.List getFormFields()
getFormFields in interface org.andromda.metafacades.uml.FrontEndActionpublic org.andromda.metafacades.uml.FrontEndView getInput()
getInput in interface org.andromda.metafacades.uml.FrontEndActionpublic java.util.List getParameters()
getParameters in interface org.andromda.metafacades.uml.FrontEndActionpublic java.util.List getTargetViews()
getTargetViews in interface org.andromda.metafacades.uml.FrontEndActionpublic java.util.List getTransitions()
getTransitions in interface org.andromda.metafacades.uml.FrontEndActionpublic boolean isUseCaseStart()
isUseCaseStart in interface org.andromda.metafacades.uml.FrontEndActionpublic java.lang.String getActionMethodName()
getActionMethodName in interface org.andromda.metafacades.uml.FrontEndForwardpublic java.util.List getActions()
getActions in interface org.andromda.metafacades.uml.FrontEndForwardpublic org.andromda.metafacades.uml.FrontEndEvent getDecisionTrigger()
getDecisionTrigger in interface org.andromda.metafacades.uml.FrontEndForwardpublic java.util.List getForwardParameters()
getForwardParameters in interface org.andromda.metafacades.uml.FrontEndForwardpublic org.andromda.metafacades.uml.FrontEndActivityGraph getFrontEndActivityGraph()