org.andromda.cartridges.jsf.metafacades
Class JSFParameterLogicImpl

java.lang.Object
  extended by org.andromda.core.metafacade.MetafacadeBase
      extended by org.andromda.cartridges.jsf.metafacades.JSFParameterLogic
          extended by org.andromda.cartridges.jsf.metafacades.JSFParameterLogicImpl
All Implemented Interfaces:
JSFParameter, org.andromda.metafacades.uml.FrontEndParameter, org.andromda.metafacades.uml.ModelElementFacade, org.andromda.metafacades.uml.ParameterFacade

public class JSFParameterLogicImpl
extends JSFParameterLogic

MetafacadeLogic implementation for org.andromda.cartridges.jsf.metafacades.JSFParameter.

See Also:
JSFParameter

Field Summary
 
Fields inherited from class org.andromda.cartridges.jsf.metafacades.JSFParameterLogic
metaObject
 
Fields inherited from class org.andromda.core.metafacade.MetafacadeBase
contextRoot, logger
 
Constructor Summary
JSFParameterLogicImpl(java.lang.Object metaObject, java.lang.String context)
           
 
Method Summary
 java.lang.String getDefaultValue()
          Overridden to provide quotes around string types.
 java.util.Collection getTableColumns()
           
protected  java.util.Collection handleGetAttributes()
           
protected  java.lang.String handleGetBackingListName()
           
protected  java.lang.String handleGetBackingValueName()
           
protected  java.lang.String handleGetDateFormatter()
           
protected  java.lang.String handleGetDocumentationKey()
           
protected  java.lang.String handleGetDocumentationValue()
           
protected  java.lang.String handleGetDummyValue()
           
protected  java.lang.String handleGetFormat()
           
protected  java.lang.String handleGetFormAttributeSetProperty()
           
protected  java.lang.String handleGetInputTableIdentifierColumns()
           
protected  java.lang.String handleGetLabelListName()
           
protected  java.lang.String handleGetMessageKey()
           
protected  java.lang.String handleGetMessageValue()
           
protected  java.util.Collection handleGetNavigableAssociationEnds()
           
protected  java.util.List handleGetTableColumnActions(java.lang.String columnName)
           
protected  java.lang.String handleGetTableColumnMessageKey(java.lang.String columnName)
           
protected  java.lang.String handleGetTableColumnMessageValue(java.lang.String columnName)
           
protected  java.util.List handleGetTableFormActions()
           
protected  java.util.List handleGetTableHyperlinkActions()
           
protected  java.lang.String handleGetTableSortAscendingProperty()
           
protected  java.lang.String handleGetTableSortColumnProperty()
           
protected  java.lang.String handleGetTimeFormatter()
           
protected  java.util.Collection handleGetValidatorArgs(java.lang.String validatorType)
           
protected  java.util.Collection handleGetValidatorTypes()
           
protected  java.util.Collection handleGetValidatorVars()
           
protected  java.lang.String handleGetValidWhen()
           
protected  java.lang.String handleGetValueListDummyValue()
           
protected  java.lang.String handleGetValueListName()
           
protected  boolean handleIsBackingValueRequired()
           
protected  boolean handleIsComplex()
           
protected  boolean handleIsEqualValidator()
           
protected  boolean handleIsInputCheckbox()
           
protected  boolean handleIsInputFile()
           
protected  boolean handleIsInputHidden()
           
protected  boolean handleIsInputMultibox()
           
protected  boolean handleIsInputRadio()
           
protected  boolean handleIsInputSecret()
           
protected  boolean handleIsInputSelect()
           
protected  boolean handleIsInputTable()
           
protected  boolean handleIsInputText()
           
protected  boolean handleIsInputTextarea()
           
protected  boolean handleIsPageableTable()
           
protected  boolean handleIsPlaintext()
           
protected  boolean handleIsReadOnly()
           
protected  boolean handleIsReset()
           
protected  boolean handleIsSelectable()
           
protected  boolean handleIsStrictDateFormat()
           
protected  boolean handleIsValidationRequired()
           
 boolean isRequired()
          Overridden to have the same behavior as bpm4struts.
 boolean isTable()
          Overrridden to make sure its not an inputTable.
 
Methods inherited from class org.andromda.cartridges.jsf.metafacades.JSFParameterLogic
copyTaggedValues, findTaggedValue, findTaggedValues, getAction, getAttributes, getBackingListName, getBackingValueName, getConstraints, getConstraints, getControllerOperation, getDateFormatter, getDocumentation, getDocumentation, getDocumentation, getDocumentationKey, getDocumentationValue, getDummyValue, getEvent, getFormat, getFormAttributeSetProperty, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getGetterName, getId, getInputTableIdentifierColumns, getLabelListName, getLanguageMappings, getLower, getMessageKey, getMessageValue, getModel, getName, getNavigableAssociationEnds, getOperation, getPackage, getPackageName, getPackageName, getPackagePath, getRootPackage, getSetterName, getSourceDependencies, getStateMachineContext, getStereotypeNames, getStereotypes, getTableAttributeNames, getTableColumnActions, getTableColumnMessageKey, getTableColumnMessageValue, getTableColumnNames, getTableFormActions, getTableHyperlinkActions, getTableSortAscendingProperty, getTableSortColumnProperty, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getTimeFormatter, getType, getUpper, getValidationName, getValidationOwner, getValidatorArgs, getValidatorTypes, getValidatorVars, getValidWhen, getValueListDummyValue, getValueListName, getView, getVisibility, hasExactStereotype, hasStereotype, initialize, isActionParameter, isBackingValueRequired, isBindingDependenciesPresent, isComplex, isConstraintsPresent, isContainedInFrontEndUseCase, isControllerOperationArgument, isDefaultValuePresent, isEqualValidator, isFrontEndParameterMetaType, isInoutParameter, isInParameter, isInputCheckbox, isInputFile, isInputHidden, isInputMultibox, isInputRadio, isInputSecret, isInputSelect, isInputTable, isInputText, isInputTextarea, isJSFParameterMetaType, isModelElementFacadeMetaType, isOutParameter, isPageableTable, isParameterFacadeMetaType, isPlaintext, isReadable, isReadOnly, isReset, isReturn, isSelectable, isStrictDateFormat, isTemplateParametersPresent, isValidationRequired, isWritable, resetMetafacadeContext, toString, translateConstraint, translateConstraints, translateConstraints, validateInvariants
 
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
 

Constructor Detail

JSFParameterLogicImpl

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

isTable

public boolean isTable()
Overrridden to make sure its not an inputTable.

Specified by:
isTable in interface org.andromda.metafacades.uml.FrontEndParameter
Overrides:
isTable in class JSFParameterLogic
See Also:
FrontEndParameter.isTable()

handleIsPageableTable

protected boolean handleIsPageableTable()
Specified by:
handleIsPageableTable in class JSFParameterLogic
See Also:
JSFParameter.isPageableTable()

handleGetMessageKey

protected java.lang.String handleGetMessageKey()
Specified by:
handleGetMessageKey in class JSFParameterLogic
See Also:
JSFParameter.getMessageKey()

handleGetDocumentationKey

protected java.lang.String handleGetDocumentationKey()
Specified by:
handleGetDocumentationKey in class JSFParameterLogic
See Also:
JSFParameter.getDocumentationKey()

handleGetDocumentationValue

protected java.lang.String handleGetDocumentationValue()
Specified by:
handleGetDocumentationValue in class JSFParameterLogic
See Also:
org.andromda.cartridges.jsf.metafacades.JSFParameter#getDocumentationValue(()

getDefaultValue

public java.lang.String getDefaultValue()
Overridden to provide quotes around string types.

Specified by:
getDefaultValue in interface org.andromda.metafacades.uml.ParameterFacade
Overrides:
getDefaultValue in class JSFParameterLogic
See Also:
ParameterFacade.getDefaultValue()

handleGetMessageValue

protected java.lang.String handleGetMessageValue()
Specified by:
handleGetMessageValue in class JSFParameterLogic
See Also:
JSFParameter.getMessageValue()

handleGetTableColumnMessageKey

protected java.lang.String handleGetTableColumnMessageKey(java.lang.String columnName)
Specified by:
handleGetTableColumnMessageKey in class JSFParameterLogic
See Also:
JSFParameter.getTableColumnMessageKey(String)

handleGetTableColumnMessageValue

protected java.lang.String handleGetTableColumnMessageValue(java.lang.String columnName)
Specified by:
handleGetTableColumnMessageValue in class JSFParameterLogic
See Also:
JSFParameter.getTableColumnMessageValue(String)

handleGetTableHyperlinkActions

protected java.util.List handleGetTableHyperlinkActions()
Specified by:
handleGetTableHyperlinkActions in class JSFParameterLogic
See Also:
JSFParameter.getTableHyperlinkActions()

handleGetTableFormActions

protected java.util.List handleGetTableFormActions()
Specified by:
handleGetTableFormActions in class JSFParameterLogic
See Also:
JSFParameter.getTableFormActions()

getTableColumns

public java.util.Collection getTableColumns()
Specified by:
getTableColumns in interface org.andromda.metafacades.uml.FrontEndParameter
Overrides:
getTableColumns in class JSFParameterLogic
See Also:
FrontEndParameter.getTableColumns()

handleGetFormat

protected java.lang.String handleGetFormat()
Specified by:
handleGetFormat in class JSFParameterLogic
See Also:
JSFParameter.getFormat()

handleIsStrictDateFormat

protected boolean handleIsStrictDateFormat()
Specified by:
handleIsStrictDateFormat in class JSFParameterLogic
See Also:
JSFParameter.isStrictDateFormat()

handleGetDateFormatter

protected java.lang.String handleGetDateFormatter()
Specified by:
handleGetDateFormatter in class JSFParameterLogic
See Also:
JSFParameter.getDateFormatter()

handleGetTimeFormatter

protected java.lang.String handleGetTimeFormatter()
Specified by:
handleGetTimeFormatter in class JSFParameterLogic
See Also:
JSFParameter.getTimeFormatter()

handleIsInputTextarea

protected boolean handleIsInputTextarea()
Specified by:
handleIsInputTextarea in class JSFParameterLogic
See Also:
JSFParameter.isInputTextarea()

handleIsInputSelect

protected boolean handleIsInputSelect()
Specified by:
handleIsInputSelect in class JSFParameterLogic
See Also:
JSFParameter.isInputSelect()

handleIsInputSecret

protected boolean handleIsInputSecret()
Specified by:
handleIsInputSecret in class JSFParameterLogic
See Also:
JSFParameter.isInputSecret()

handleIsInputHidden

protected boolean handleIsInputHidden()
Specified by:
handleIsInputHidden in class JSFParameterLogic
See Also:
JSFParameter.isInputHidden()

handleIsPlaintext

protected boolean handleIsPlaintext()
Specified by:
handleIsPlaintext in class JSFParameterLogic
See Also:
JSFParameter.isPlaintext()

handleIsInputTable

protected boolean handleIsInputTable()
Specified by:
handleIsInputTable in class JSFParameterLogic
See Also:
JSFParameter.isInputTable()

handleIsInputRadio

protected boolean handleIsInputRadio()
Specified by:
handleIsInputRadio in class JSFParameterLogic
See Also:
JSFParameter.isInputRadio()

handleIsInputText

protected boolean handleIsInputText()
Specified by:
handleIsInputText in class JSFParameterLogic
See Also:
JSFParameter.isInputText()

handleIsInputMultibox

protected boolean handleIsInputMultibox()
Specified by:
handleIsInputMultibox in class JSFParameterLogic
See Also:
JSFParameter.isInputMultibox()

handleIsInputCheckbox

protected boolean handleIsInputCheckbox()
Specified by:
handleIsInputCheckbox in class JSFParameterLogic
See Also:
JSFParameter.isInputCheckbox()

handleIsInputFile

protected boolean handleIsInputFile()
Specified by:
handleIsInputFile in class JSFParameterLogic
See Also:
JSFParameter.isInputFile()

handleGetBackingListName

protected java.lang.String handleGetBackingListName()
Specified by:
handleGetBackingListName in class JSFParameterLogic
See Also:
JSFParameter.getBackingListName()

handleGetBackingValueName

protected java.lang.String handleGetBackingValueName()
Specified by:
handleGetBackingValueName in class JSFParameterLogic
See Also:
JSFParameter.getBackingValueName()

handleGetValueListName

protected java.lang.String handleGetValueListName()
Specified by:
handleGetValueListName in class JSFParameterLogic
See Also:
JSFParameter.getValueListName()

handleGetLabelListName

protected java.lang.String handleGetLabelListName()
Specified by:
handleGetLabelListName in class JSFParameterLogic
See Also:
JSFParameter.getLabelListName()

handleIsSelectable

protected boolean handleIsSelectable()
Specified by:
handleIsSelectable in class JSFParameterLogic
See Also:
JSFParameter.isSelectable()

handleGetValueListDummyValue

protected java.lang.String handleGetValueListDummyValue()
Specified by:
handleGetValueListDummyValue in class JSFParameterLogic
See Also:
JSFParameter.getValueListDummyValue()

handleGetDummyValue

protected java.lang.String handleGetDummyValue()
Specified by:
handleGetDummyValue in class JSFParameterLogic
See Also:
JSFParameter.getDummyValue()

handleGetTableSortColumnProperty

protected java.lang.String handleGetTableSortColumnProperty()
Specified by:
handleGetTableSortColumnProperty in class JSFParameterLogic
See Also:
JSFParameter.getTableSortColumnProperty()

handleGetTableSortAscendingProperty

protected java.lang.String handleGetTableSortAscendingProperty()
Specified by:
handleGetTableSortAscendingProperty in class JSFParameterLogic
See Also:
JSFParameter.getTableSortAscendingProperty()

handleGetFormAttributeSetProperty

protected java.lang.String handleGetFormAttributeSetProperty()
Specified by:
handleGetFormAttributeSetProperty in class JSFParameterLogic
See Also:
JSFParameter.getFormAttributeSetProperty()

handleIsValidationRequired

protected boolean handleIsValidationRequired()
Specified by:
handleIsValidationRequired in class JSFParameterLogic
See Also:
JSFParameter.isValidationRequired()

handleGetValidatorTypes

protected java.util.Collection handleGetValidatorTypes()
Specified by:
handleGetValidatorTypes in class JSFParameterLogic
See Also:
JSFParameter.getValidatorTypes()

handleGetValidWhen

protected java.lang.String handleGetValidWhen()
Specified by:
handleGetValidWhen in class JSFParameterLogic
See Also:
JSFParameter.getValidWhen()

isRequired

public boolean isRequired()
Overridden to have the same behavior as bpm4struts.

Specified by:
isRequired in interface org.andromda.metafacades.uml.ParameterFacade
Overrides:
isRequired in class JSFParameterLogic
See Also:
ParameterFacade.isRequired()

handleIsReadOnly

protected boolean handleIsReadOnly()
Specified by:
handleIsReadOnly in class JSFParameterLogic
See Also:
JSFParameter.isReadOnly()

handleGetValidatorArgs

protected java.util.Collection handleGetValidatorArgs(java.lang.String validatorType)
Specified by:
handleGetValidatorArgs in class JSFParameterLogic
See Also:
JSFParameter.getValidatorArgs(java.lang.String)

handleGetValidatorVars

protected java.util.Collection handleGetValidatorVars()
Specified by:
handleGetValidatorVars in class JSFParameterLogic
See Also:
JSFParameter.getValidatorVars()

handleIsReset

protected boolean handleIsReset()
Specified by:
handleIsReset in class JSFParameterLogic
See Also:
JSFParameter.isReset()

handleIsComplex

protected boolean handleIsComplex()
Specified by:
handleIsComplex in class JSFParameterLogic
See Also:
JSFParameter.isComplex()

handleGetAttributes

protected java.util.Collection handleGetAttributes()
Specified by:
handleGetAttributes in class JSFParameterLogic
See Also:
JSFParameter.getAttributes()

handleGetNavigableAssociationEnds

protected java.util.Collection handleGetNavigableAssociationEnds()
Specified by:
handleGetNavigableAssociationEnds in class JSFParameterLogic
See Also:
JSFParameter.getNavigableAssociationEnds()

handleIsEqualValidator

protected boolean handleIsEqualValidator()
Specified by:
handleIsEqualValidator in class JSFParameterLogic
See Also:
JSFParameter.isEqualValidator()

handleIsBackingValueRequired

protected boolean handleIsBackingValueRequired()
Specified by:
handleIsBackingValueRequired in class JSFParameterLogic
See Also:
JSFParameter.isEqualValidator()

handleGetInputTableIdentifierColumns

protected java.lang.String handleGetInputTableIdentifierColumns()
Specified by:
handleGetInputTableIdentifierColumns in class JSFParameterLogic
See Also:
JSFParameter.getInputTableIdentifierColumns()

handleGetTableColumnActions

protected java.util.List handleGetTableColumnActions(java.lang.String columnName)
Specified by:
handleGetTableColumnActions in class JSFParameterLogic
See Also:
JSFParameter.getTableColumnActions(java.lang.String)


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