|
||||||||||
| 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.JSFViewLogic
public abstract class JSFViewLogic
MetafacadeLogic for org.andromda.cartridges.jsf.metafacades.JSFView
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 |
|---|
protected java.lang.Object metaObject
| Constructor Detail |
|---|
public JSFViewLogic(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 isJSFViewMetaType()
JSFView
isJSFViewMetaType in interface JSFViewtrueJSFViewprotected abstract java.lang.String handleGetPath()
JSFView.getPath()public final java.lang.String getPath()
JSFViewThe full path of the view resources (i.e. the JSP page).
getPath in interface JSFViewprotected abstract java.lang.String handleGetTitleKey()
JSFView.getTitleKey()public final java.lang.String getTitleKey()
JSFViewA resource message key suited for the view's title.
getTitleKey in interface JSFViewprotected abstract java.lang.String handleGetTitleValue()
JSFView.getTitleValue()public final java.lang.String getTitleValue()
JSFViewA default resource message value suited for the page's title.
getTitleValue in interface JSFViewprotected abstract java.lang.String handleGetMessageKey()
JSFView.getMessageKey()public final java.lang.String getMessageKey()
JSFViewThe default resource message key for this view.
getMessageKey in interface JSFViewprotected abstract java.lang.String handleGetDocumentationKey()
JSFView.getDocumentationKey()public final java.lang.String getDocumentationKey()
JSFViewA resource message key suited for the page's documentation.
getDocumentationKey in interface JSFViewprotected abstract java.lang.String handleGetDocumentationValue()
JSFView.getDocumentationValue()public final java.lang.String getDocumentationValue()
JSFViewA resource message value suited for the view's documentation.
getDocumentationValue in interface JSFViewprotected abstract java.lang.String handleGetMessageValue()
JSFView.getMessageValue()public final java.lang.String getMessageValue()
JSFViewA displayable version of this view's name.
getMessageValue in interface JSFViewprotected abstract java.lang.String handleGetFullyQualifiedPopulator()
JSFView.getFullyQualifiedPopulator()public final java.lang.String getFullyQualifiedPopulator()
JSFViewThe fully qualified name of this view's form populator.
getFullyQualifiedPopulator in interface JSFViewprotected abstract java.lang.String handleGetPopulator()
JSFView.getPopulator()public final java.lang.String getPopulator()
JSFViewThe name of the form populator for this view.
getPopulator in interface JSFViewprotected abstract java.lang.String handleGetPopulatorPath()
JSFView.getPopulatorPath()public final java.lang.String getPopulatorPath()
JSFViewThe path to the form populator.
getPopulatorPath in interface JSFViewprotected abstract boolean handleIsPopulatorRequired()
JSFView.isPopulatorRequired()public final boolean isPopulatorRequired()
JSFViewIndicates if a populator is required for this view.
isPopulatorRequired in interface JSFViewprotected abstract boolean handleIsValidationRequired()
JSFView.isValidationRequired()public final boolean isValidationRequired()
JSFViewIndicates whether or not at least one parameter of an outgoing action in this view requires validation.
isValidationRequired in interface JSFViewprotected abstract boolean handleIsPopup()
JSFView.isPopup()public final boolean isPopup()
JSFViewIndicates if this view represents a popup.
isPopup in interface JSFViewprotected abstract boolean handleIsNonTableVariablesPresent()
JSFView.isNonTableVariablesPresent()public final boolean isNonTableVariablesPresent()
JSFViewIndicates whether or not any non-table view variables are present in this view.
isNonTableVariablesPresent in interface JSFViewprotected abstract boolean handleIsHasNameOfUseCase()
JSFView.isHasNameOfUseCase()public final boolean isHasNameOfUseCase()
JSFViewIndicates whether or not this view has the same name as the use case in which it is contained.
isHasNameOfUseCase in interface JSFViewprotected abstract java.lang.String handleGetFormKey()
JSFView.getFormKey()public final java.lang.String getFormKey()
JSFViewThe key that stores the form in which information is passed from one action to another.
getFormKey in interface JSFViewprotected abstract java.lang.String handleGetFromOutcome()
JSFView.getFromOutcome()public final java.lang.String getFromOutcome()
JSFViewThe name that corresponds to the from-outcome in an navigational rule.
getFromOutcome in interface JSFViewpublic final java.util.List getForwards()
JSFViewGets the forwards which can be targgeted from this view.
getForwards in interface JSFViewprotected abstract java.util.List handleGetForwards()
public final java.util.List getActionForwards()
JSFViewAll those forwards that are actions.
getActionForwards in interface JSFViewprotected abstract java.util.List handleGetActionForwards()
public final java.util.List getFormActions()
JSFViewAll actions that have forms associated with them.
getFormActions in interface JSFViewprotected abstract java.util.List handleGetFormActions()
public final java.util.List getBackingValueVariables()
JSFViewAll variables that have backing value.
getBackingValueVariables in interface JSFViewprotected abstract java.util.List handleGetBackingValueVariables()
public boolean isFrontEndViewMetaType()
isFrontEndViewMetaType in interface org.andromda.metafacades.uml.FrontEndViewFrontEndViewpublic boolean isFrontEndActionStateMetaType()
isFrontEndActionStateMetaType in interface org.andromda.metafacades.uml.FrontEndActionStateFrontEndActionStatepublic boolean isActionStateFacadeMetaType()
isActionStateFacadeMetaType in interface org.andromda.metafacades.uml.ActionStateFacadeActionStateFacadepublic boolean isStateFacadeMetaType()
isStateFacadeMetaType in interface org.andromda.metafacades.uml.StateFacadeStateFacadepublic boolean isStateVertexFacadeMetaType()
isStateVertexFacadeMetaType in interface org.andromda.metafacades.uml.StateVertexFacadeStateVertexFacadepublic boolean isModelElementFacadeMetaType()
isModelElementFacadeMetaType in interface org.andromda.metafacades.uml.ModelElementFacadeModelElementFacadepublic org.andromda.metafacades.uml.ActionFacade getEntry()
getEntry in interface org.andromda.metafacades.uml.ActionStateFacadepublic java.lang.String getActionMethodName()
getActionMethodName in interface org.andromda.metafacades.uml.FrontEndActionStatepublic java.util.List getContainerActions()
getContainerActions in interface org.andromda.metafacades.uml.FrontEndActionStatepublic java.util.List getControllerCalls()
getControllerCalls in interface org.andromda.metafacades.uml.FrontEndActionStatepublic java.util.List getExceptions()
getExceptions in interface org.andromda.metafacades.uml.FrontEndActionStatepublic org.andromda.metafacades.uml.FrontEndForward getForward()
getForward in interface org.andromda.metafacades.uml.FrontEndActionStatepublic boolean isContainedInFrontEndUseCase()
isContainedInFrontEndUseCase in interface org.andromda.metafacades.uml.FrontEndActionStatepublic boolean isServerSide()
isServerSide in interface org.andromda.metafacades.uml.FrontEndActionStatepublic java.util.List getActions()
getActions in interface org.andromda.metafacades.uml.FrontEndViewpublic java.util.List getAllActionParameters()
getAllActionParameters in interface org.andromda.metafacades.uml.FrontEndViewpublic java.util.List getAllFormFields()
getAllFormFields in interface org.andromda.metafacades.uml.FrontEndViewpublic java.util.List getTables()
getTables in interface org.andromda.metafacades.uml.FrontEndViewpublic org.andromda.metafacades.uml.FrontEndUseCase getUseCase()
getUseCase in interface org.andromda.metafacades.uml.FrontEndViewpublic java.util.List getVariables()
getVariables in interface org.andromda.metafacades.uml.FrontEndViewpublic boolean isFrontEndView()
isFrontEndView in interface org.andromda.metafacades.uml.FrontEndViewpublic void copyTaggedValues(org.andromda.metafacades.uml.ModelElementFacade element)
copyTaggedValues in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.lang.Object findTaggedValue(java.lang.String tagName)
findTaggedValue in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.util.Collection findTaggedValues(java.lang.String tagName)
findTaggedValues in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.util.Collection getConstraints()
getConstraints in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.util.Collection getConstraints(java.lang.String kind)
getConstraints in interface org.andromda.metafacades.uml.ModelElementFacade
public java.lang.String getDocumentation(java.lang.String indent,
int lineLength)
getDocumentation in interface org.andromda.metafacades.uml.ModelElementFacade
public java.lang.String getDocumentation(java.lang.String indent,
int lineLength,
boolean htmlStyle)
getDocumentation in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.lang.String getDocumentation(java.lang.String indent)
getDocumentation in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.lang.String getFullyQualifiedName(boolean modelName)
getFullyQualifiedName in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.lang.String getFullyQualifiedName()
getFullyQualifiedName in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.lang.String getFullyQualifiedNamePath()
getFullyQualifiedNamePath in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.lang.String getId()
getId in interface org.andromda.metafacades.uml.ModelElementFacadepublic org.andromda.metafacades.uml.TypeMappings getLanguageMappings()
getLanguageMappings in interface org.andromda.metafacades.uml.ModelElementFacadepublic org.andromda.metafacades.uml.ModelFacade getModel()
getModel in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.lang.String getName()
getName in interface org.andromda.metafacades.uml.ModelElementFacadepublic org.andromda.metafacades.uml.ModelElementFacade getPackage()
getPackage in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.lang.String getPackageName(boolean modelName)
getPackageName in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.lang.String getPackageName()
getPackageName in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.lang.String getPackagePath()
getPackagePath in interface org.andromda.metafacades.uml.ModelElementFacadepublic org.andromda.metafacades.uml.PackageFacade getRootPackage()
getRootPackage in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.util.Collection getSourceDependencies()
getSourceDependencies in interface org.andromda.metafacades.uml.ModelElementFacadepublic org.andromda.metafacades.uml.StateMachineFacade getStateMachineContext()
getStateMachineContext in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.util.Collection getStereotypeNames()
getStereotypeNames in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.util.Collection getStereotypes()
getStereotypes in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.util.Collection getTaggedValues()
getTaggedValues in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.util.Collection getTargetDependencies()
getTargetDependencies in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.lang.Object getTemplateParameter(java.lang.String parameterName)
getTemplateParameter in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.util.Collection getTemplateParameters()
getTemplateParameters in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.lang.String getVisibility()
getVisibility in interface org.andromda.metafacades.uml.ModelElementFacadepublic boolean hasExactStereotype(java.lang.String stereotypeName)
hasExactStereotype in interface org.andromda.metafacades.uml.ModelElementFacadepublic boolean hasStereotype(java.lang.String stereotypeName)
hasStereotype in interface org.andromda.metafacades.uml.ModelElementFacadepublic boolean isBindingDependenciesPresent()
isBindingDependenciesPresent in interface org.andromda.metafacades.uml.ModelElementFacadepublic boolean isConstraintsPresent()
isConstraintsPresent in interface org.andromda.metafacades.uml.ModelElementFacadepublic boolean isTemplateParametersPresent()
isTemplateParametersPresent in interface org.andromda.metafacades.uml.ModelElementFacade
public java.lang.String translateConstraint(java.lang.String name,
java.lang.String translation)
translateConstraint in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.lang.String[] translateConstraints(java.lang.String translation)
translateConstraints in interface org.andromda.metafacades.uml.ModelElementFacade
public java.lang.String[] translateConstraints(java.lang.String kind,
java.lang.String translation)
translateConstraints in interface org.andromda.metafacades.uml.ModelElementFacadepublic java.util.Collection getDeferrableEvents()
getDeferrableEvents in interface org.andromda.metafacades.uml.StateFacadepublic org.andromda.metafacades.uml.StateFacade getContainer()
getContainer in interface org.andromda.metafacades.uml.StateVertexFacadepublic java.util.Collection getIncoming()
getIncoming in interface org.andromda.metafacades.uml.StateVertexFacadepublic java.util.Collection getOutgoing()
getOutgoing in interface org.andromda.metafacades.uml.StateVertexFacadepublic org.andromda.metafacades.uml.PartitionFacade getPartition()
getPartition in interface org.andromda.metafacades.uml.StateVertexFacadepublic org.andromda.metafacades.uml.StateMachineFacade getStateMachine()
getStateMachine in interface org.andromda.metafacades.uml.StateVertexFacadepublic void initialize()
initialize in interface org.andromda.metafacades.uml.ModelElementFacadeinitialize in class org.andromda.core.metafacade.MetafacadeBaseMetafacadeBase.initialize()public java.lang.Object getValidationOwner()
getValidationOwner in interface org.andromda.metafacades.uml.ModelElementFacadegetValidationOwner in class org.andromda.core.metafacade.MetafacadeBaseMetafacadeBase.getValidationOwner()public java.lang.String getValidationName()
getValidationName in interface org.andromda.metafacades.uml.ModelElementFacadegetValidationName in class org.andromda.core.metafacade.MetafacadeBaseMetafacadeBase.getValidationName()public void validateInvariants(java.util.Collection validationMessages)
validateInvariants in interface org.andromda.metafacades.uml.ModelElementFacadevalidateInvariants in class org.andromda.core.metafacade.MetafacadeBaseMetafacadeBase.validateInvariants(java.util.Collection)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||