org.andromda.cartridges.jsf.metafacades
Class JSFAttributeLogicImpl

java.lang.Object
  extended by org.andromda.core.metafacade.MetafacadeBase
      extended by org.andromda.cartridges.jsf.metafacades.JSFAttributeLogic
          extended by org.andromda.cartridges.jsf.metafacades.JSFAttributeLogicImpl
All Implemented Interfaces:
JSFAttribute, org.andromda.metafacades.uml.AttributeFacade, org.andromda.metafacades.uml.ModelElementFacade

public class JSFAttributeLogicImpl
extends JSFAttributeLogic

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

See Also:
JSFAttribute

Field Summary
 
Fields inherited from class org.andromda.cartridges.jsf.metafacades.JSFAttributeLogic
metaObject
 
Fields inherited from class org.andromda.core.metafacade.MetafacadeBase
contextRoot, logger
 
Constructor Summary
JSFAttributeLogicImpl(java.lang.Object metaObject, java.lang.String context)
           
 
Method Summary
 java.lang.String getDefaultValue()
          Overridden to provide quotes around string types.
protected  java.lang.String handleGetBackingListName(org.andromda.metafacades.uml.ParameterFacade ownerParameter)
           
protected  java.lang.String handleGetBackingValueName(org.andromda.metafacades.uml.ParameterFacade ownerParameter)
           
protected  java.lang.String handleGetDateFormatter(JSFParameter ownerParameter)
           
protected  java.lang.String handleGetDummyValue()
           
protected  java.lang.String handleGetFormat()
           
protected  java.lang.String handleGetFormPropertyId(org.andromda.metafacades.uml.ParameterFacade ownerParameter)
           
protected  java.lang.String handleGetFormPropertyName(org.andromda.metafacades.uml.ParameterFacade ownerParameter)
           
protected  java.lang.String handleGetInputTableIdentifierColumns()
           
protected  java.lang.String handleGetLabelListName(org.andromda.metafacades.uml.ParameterFacade ownerParameter)
           
protected  java.lang.String handleGetMessageKey()
           
protected  java.lang.String handleGetMessageValue()
           
protected  java.lang.String handleGetTimeFormatter(JSFParameter ownerParameter)
           
protected  java.util.Collection handleGetValidatorArgs(java.lang.String validatorType)
           
protected  java.util.Collection handleGetValidatorTypes()
           
protected  java.util.Collection handleGetValidatorVars(JSFParameter ownerParameter)
           
protected  java.lang.String handleGetValidWhen()
           
protected  java.lang.String handleGetValueListDummyValue()
           
protected  java.lang.String handleGetValueListName(org.andromda.metafacades.uml.ParameterFacade ownerParameter)
           
protected  boolean handleIsBackingValueRequired(org.andromda.metafacades.uml.FrontEndParameter ownerParameter)
           
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 handleIsInputTypePresent()
           
protected  boolean handleIsPlaintext()
           
protected  boolean handleIsReset()
           
protected  boolean handleIsSelectable(org.andromda.metafacades.uml.FrontEndParameter ownerParameter)
           
protected  boolean handleIsStrictDateFormat()
           
protected  boolean handleIsValidationRequired()
           
 boolean isReadOnly()
          Overridden to provide consistent behavior with JSFParameter.isReadOnly().
 
Methods inherited from class org.andromda.cartridges.jsf.metafacades.JSFAttributeLogic
copyTaggedValues, findTaggedValue, findTaggedValue, findTaggedValues, getBackingListName, getBackingValueName, getConstraints, getConstraints, getDateFormatter, getDocumentation, getDocumentation, getDocumentation, getDummyValue, getEnumeration, getEnumerationLiteralParameters, getEnumerationValue, getFormat, getFormPropertyId, getFormPropertyName, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getGetterName, getGetterSetterTypeName, getId, getInputTableIdentifierColumns, getLabelListName, getLanguageMappings, getLower, getMessageKey, getMessageValue, getModel, getName, getOwner, getPackage, getPackageName, getPackageName, getPackagePath, getRootPackage, getSetterName, getSourceDependencies, getStateMachineContext, getStereotypeNames, getStereotypes, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getTimeFormatter, getType, getUpper, getValidationName, getValidationOwner, getValidatorArgs, getValidatorTypes, getValidatorVars, getValidWhen, getValueListDummyValue, getValueListName, getVisibility, hasExactStereotype, hasStereotype, initialize, isAddOnly, isAttributeFacadeMetaType, isBackingValueRequired, isBindingDependenciesPresent, isChangeable, isConstraintsPresent, isDefaultValuePresent, isEnumerationLiteral, isEnumerationLiteralParametersExist, isEnumerationMember, isEqualValidator, isInputCheckbox, isInputFile, isInputHidden, isInputMultibox, isInputRadio, isInputSecret, isInputSelect, isInputTable, isInputText, isInputTextarea, isInputTypePresent, isJSFAttributeMetaType, isMany, isModelElementFacadeMetaType, isOrdered, isPlaintext, isRequired, isReset, isSelectable, isStatic, isStrictDateFormat, isTemplateParametersPresent, isValidationRequired, 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

JSFAttributeLogicImpl

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

handleGetMessageKey

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

handleGetMessageValue

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

handleGetFormat

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

handleGetDummyValue

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

handleGetFormPropertyName

protected java.lang.String handleGetFormPropertyName(org.andromda.metafacades.uml.ParameterFacade ownerParameter)
Specified by:
handleGetFormPropertyName in class JSFAttributeLogic
See Also:
JSFAttribute.getFormPropertyName(org.andromda.metafacades.uml.ParameterFacade)

handleGetBackingListName

protected java.lang.String handleGetBackingListName(org.andromda.metafacades.uml.ParameterFacade ownerParameter)
Specified by:
handleGetBackingListName in class JSFAttributeLogic
See Also:
JSFAttribute.getBackingListName(org.andromda.metafacades.uml.ParameterFacade)

handleGetBackingValueName

protected java.lang.String handleGetBackingValueName(org.andromda.metafacades.uml.ParameterFacade ownerParameter)
Specified by:
handleGetBackingValueName in class JSFAttributeLogic
See Also:
JSFAttribute.getBackingValueName(org.andromda.metafacades.uml.ParameterFacade)

handleGetLabelListName

protected java.lang.String handleGetLabelListName(org.andromda.metafacades.uml.ParameterFacade ownerParameter)
Specified by:
handleGetLabelListName in class JSFAttributeLogic
See Also:
JSFAttribute.getLabelListName(org.andromda.metafacades.uml.ParameterFacade)

handleGetValueListName

protected java.lang.String handleGetValueListName(org.andromda.metafacades.uml.ParameterFacade ownerParameter)
Specified by:
handleGetValueListName in class JSFAttributeLogic
See Also:
JSFAttribute.getValueListName(org.andromda.metafacades.uml.ParameterFacade)

handleGetFormPropertyId

protected java.lang.String handleGetFormPropertyId(org.andromda.metafacades.uml.ParameterFacade ownerParameter)
Specified by:
handleGetFormPropertyId in class JSFAttributeLogic
See Also:
org.andromda.cartridges.jsf.metafacades.JSFAttribute#getFormPropertyId(java.lang.String)

handleIsSelectable

protected boolean handleIsSelectable(org.andromda.metafacades.uml.FrontEndParameter ownerParameter)
Specified by:
handleIsSelectable in class JSFAttributeLogic
See Also:
JSFAttribute.isSelectable(org.andromda.metafacades.uml.FrontEndParameter)

handleIsValidationRequired

protected boolean handleIsValidationRequired()
Specified by:
handleIsValidationRequired in class JSFAttributeLogic
See Also:
JSFAttribute.isValidationRequired()

handleGetValidatorTypes

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

handleGetValidatorVars

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

handleGetValidWhen

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

handleIsInputTextarea

protected boolean handleIsInputTextarea()
Specified by:
handleIsInputTextarea in class JSFAttributeLogic
See Also:
JSFAttribute.isInputTextarea()

handleIsInputSelect

protected boolean handleIsInputSelect()
Specified by:
handleIsInputSelect in class JSFAttributeLogic
See Also:
JSFAttribute.isInputSelect()

handleIsInputSecret

protected boolean handleIsInputSecret()
Specified by:
handleIsInputSecret in class JSFAttributeLogic
See Also:
JSFAttribute.isInputSecret()

handleIsInputHidden

protected boolean handleIsInputHidden()
Specified by:
handleIsInputHidden in class JSFAttributeLogic
See Also:
JSFAttribute.isInputHidden()

handleIsPlaintext

protected boolean handleIsPlaintext()
Specified by:
handleIsPlaintext in class JSFAttributeLogic
See Also:
JSFAttribute.isPlaintext()

handleIsInputRadio

protected boolean handleIsInputRadio()
Specified by:
handleIsInputRadio in class JSFAttributeLogic
See Also:
JSFAttribute.isInputRadio()

handleIsInputText

protected boolean handleIsInputText()
Specified by:
handleIsInputText in class JSFAttributeLogic
See Also:
JSFAttribute.isInputText()

handleIsInputMultibox

protected boolean handleIsInputMultibox()
Specified by:
handleIsInputMultibox in class JSFAttributeLogic
See Also:
JSFAttribute.isInputMultibox()

handleIsInputTable

protected boolean handleIsInputTable()
Specified by:
handleIsInputTable in class JSFAttributeLogic
See Also:
JSFAttribute.isInputTable()

handleIsInputCheckbox

protected boolean handleIsInputCheckbox()
Specified by:
handleIsInputCheckbox in class JSFAttributeLogic
See Also:
JSFAttribute.isInputCheckbox()

handleIsInputFile

protected boolean handleIsInputFile()
Specified by:
handleIsInputFile in class JSFAttributeLogic
See Also:
JSFAttribute.isInputFile()

isReadOnly

public boolean isReadOnly()
Overridden to provide consistent behavior with JSFParameter.isReadOnly().

Specified by:
isReadOnly in interface org.andromda.metafacades.uml.AttributeFacade
Overrides:
isReadOnly in class JSFAttributeLogic
See Also:
AttributeFacade.isReadOnly()

handleGetValueListDummyValue

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

handleGetValidatorArgs

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

handleIsStrictDateFormat

protected boolean handleIsStrictDateFormat()
Specified by:
handleIsStrictDateFormat in class JSFAttributeLogic
See Also:
JSFAttribute.isStrictDateFormat()

handleGetDateFormatter

protected java.lang.String handleGetDateFormatter(JSFParameter ownerParameter)
Specified by:
handleGetDateFormatter in class JSFAttributeLogic
See Also:
JSFAttribute.getDateFormatter(org.andromda.cartridges.jsf.metafacades.JSFParameter)

handleGetTimeFormatter

protected java.lang.String handleGetTimeFormatter(JSFParameter ownerParameter)
Specified by:
handleGetTimeFormatter in class JSFAttributeLogic
See Also:
JSFAttribute.getTimeFormatter(org.andromda.cartridges.jsf.metafacades.JSFParameter)

getDefaultValue

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

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

handleIsEqualValidator

protected boolean handleIsEqualValidator()
Specified by:
handleIsEqualValidator in class JSFAttributeLogic
See Also:
JSFAttribute.isEqualValidator()

handleIsBackingValueRequired

protected boolean handleIsBackingValueRequired(org.andromda.metafacades.uml.FrontEndParameter ownerParameter)
Specified by:
handleIsBackingValueRequired in class JSFAttributeLogic
See Also:
JSFAttribute.isBackingValueRequired(org.andromda.metafacades.uml.FrontEndParameter)

handleIsInputTypePresent

protected boolean handleIsInputTypePresent()
Specified by:
handleIsInputTypePresent in class JSFAttributeLogic
See Also:
JSFAttribute.isInputTypePresent()

handleGetInputTableIdentifierColumns

protected java.lang.String handleGetInputTableIdentifierColumns()
Specified by:
handleGetInputTableIdentifierColumns in class JSFAttributeLogic
See Also:
org.andromda.cartridges.jsf.metafacades.JSFAttributer#getInputTableIdentifierColumns()

handleIsReset

protected boolean handleIsReset()
Specified by:
handleIsReset in class JSFAttributeLogic
See Also:
org.andromda.cartridges.jsf.metafacades.JSFAttributer#isReset()


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