public class JSFAttributeLogicImpl extends JSFAttributeLogic
JSFAttribute
,
Serialized FormmetaObject
contextRoot, logger
Constructor and Description |
---|
JSFAttributeLogicImpl(Object metaObject,
String context) |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultValue()
Overridden to provide quotes around string types.
|
protected String |
handleGetBackingListName(ParameterFacade ownerParameter)
Method to be implemented in descendants
Gets backing list name for this attribute.
|
protected String |
handleGetBackingValueName(ParameterFacade ownerParameter)
Method to be implemented in descendants
Constructs and returns the backing value name given the 'ownerParameter'.
|
protected String |
handleGetDateFormatter(JSFParameter ownerParameter)
Method to be implemented in descendants
Gets the name of the date formatter for this attribute by constructing the name from the
'ownerParameter' (if this attribute represents a date).
|
protected String |
handleGetDummyValue() |
protected String |
handleGetFormat() |
protected String |
handleGetFormPropertyId(ParameterFacade ownerParameter)
Method to be implemented in descendants
Gets the unique id of this attribute on the form.
|
protected String |
handleGetFormPropertyName(ParameterFacade ownerParameter)
Method to be implemented in descendants
Retrieves the name of the form property for this attribute by taking the name of the owner
property.
|
protected String |
handleGetInputTableIdentifierColumns() |
protected String |
handleGetLabelListName(ParameterFacade ownerParameter)
Method to be implemented in descendants
Gets the name of the label list for this parameter.
|
protected String |
handleGetMaxLength() |
protected String |
handleGetMessageKey() |
protected String |
handleGetMessageValue() |
protected String |
handleGetTimeFormatter(JSFParameter ownerParameter)
Method to be implemented in descendants
Gets the name of the time formatter (if this parameter represents a time).
|
protected Collection |
handleGetValidatorArgs(String validatorType)
Method to be implemented in descendants
Gets the arguments for this parameter's validators.
|
protected Collection<String> |
handleGetValidatorTypes() |
protected Collection<List<String>> |
handleGetValidatorVars(JSFParameter ownerParameter)
Method to be implemented in descendants
Gets the validator args for this attribute
|
protected String |
handleGetValidWhen() |
protected String |
handleGetValueListDummyValue() |
protected String |
handleGetValueListName(ParameterFacade ownerParameter)
Method to be implemented in descendants
Gets the name of the value list for this parameter; this list stores the possible values that
this attribute may be (typically used for the values of a drop-down select list).
|
protected boolean |
handleIsBackingValueRequired(FrontEndParameter ownerParameter)
Method to be implemented in descendants
Indicates whether or not the backing value is required for this attribute (depending on the
'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 |
handleIsSelectable(FrontEndParameter ownerParameter)
Method to be implemented in descendants
Indicates whether or not this attribute is selectable according to its 'ownerParameter'.
|
protected boolean |
handleIsStrictDateFormat() |
protected boolean |
handleIsValidationRequired() |
boolean |
isReadOnly()
Overridden to provide consistent behavior with
JSFParameter.isReadOnly() . |
copyTaggedValues, findTaggedValue, findTaggedValue, findTaggedValues, getBackingListName, getBackingValueName, getBindedFullyQualifiedName, getConstraints, getConstraints, getDateFormatter, getDocumentation, getDocumentation, getDocumentation, getDummyValue, getEnumeration, getEnumerationLiteralParameters, getEnumerationValue, getFormat, getFormPropertyId, getFormPropertyName, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getGetterName, getGetterSetterTypeName, getId, getInputTableIdentifierColumns, getKeywords, getLabel, getLabelListName, getLanguageMappings, getLower, getMaxLength, getMessageKey, getMessageValue, getModel, getName, getOwner, getPackage, getPackageName, getPackageName, getPackagePath, getQualifiedName, getRootPackage, getSetterName, getSourceDependencies, getStateMachineContext, getStereotypeNames, getStereotypes, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getTimeFormatter, getType, getUpper, getValidationName, getValidationOwner, getValidatorArgs, getValidatorTypes, getValidatorVars, getValidWhen, getValueListDummyValue, getValueListName, getVisibility, hasExactStereotype, hasKeyword, hasStereotype, initialize, isAddOnly, isAttributeFacadeMetaType, isBackingValueRequired, isBindingDependenciesPresent, isChangeable, isConstraintsPresent, isDefaultValuePresent, isDerived, isDocumentationPresent, isEnumerationLiteral, isEnumerationLiteralParametersExist, isEnumerationMember, isEqualValidator, isInputCheckbox, isInputFile, isInputHidden, isInputMultibox, isInputRadio, isInputSecret, isInputSelect, isInputTable, isInputText, isInputTextarea, isInputTypePresent, isJSFAttributeMetaType, isLeaf, isMany, isModelElementFacadeMetaType, isOrdered, isPlaintext, isRequired, isReservedWord, isSelectable, isStatic, isStrictDateFormat, isTemplateParametersPresent, isUnique, isValidationRequired, isValidIdentifierName, resetMetafacadeContext, toString, translateConstraint, translateConstraints, translateConstraints, validateInvariants
compareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, hashCode, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validate
public JSFAttributeLogicImpl(Object metaObject, String context)
metaObject
- context
- protected String handleGetMessageKey()
handleGetMessageKey
in class JSFAttributeLogic
JSFAttribute.getMessageKey()
protected String handleGetMessageValue()
handleGetMessageValue
in class JSFAttributeLogic
JSFAttribute.getMessageValue()
protected String handleGetFormat()
handleGetFormat
in class JSFAttributeLogic
JSFAttribute.getFormat()
protected String handleGetDummyValue()
handleGetDummyValue
in class JSFAttributeLogic
JSFAttribute.getDummyValue()
protected String handleGetFormPropertyName(ParameterFacade ownerParameter)
JSFAttributeLogic
handleGetFormPropertyName
in class JSFAttributeLogic
ownerParameter
- JSFAttribute.getFormPropertyName(org.andromda.metafacades.uml.ParameterFacade)
protected String handleGetBackingListName(ParameterFacade ownerParameter)
JSFAttributeLogic
handleGetBackingListName
in class JSFAttributeLogic
ownerParameter
- JSFAttribute.getBackingListName(org.andromda.metafacades.uml.ParameterFacade)
protected String handleGetBackingValueName(ParameterFacade ownerParameter)
JSFAttributeLogic
handleGetBackingValueName
in class JSFAttributeLogic
ownerParameter
- JSFAttribute.getBackingValueName(org.andromda.metafacades.uml.ParameterFacade)
protected String handleGetLabelListName(ParameterFacade ownerParameter)
JSFAttributeLogic
handleGetLabelListName
in class JSFAttributeLogic
ownerParameter
- JSFAttribute.getLabelListName(org.andromda.metafacades.uml.ParameterFacade)
protected String handleGetValueListName(ParameterFacade ownerParameter)
JSFAttributeLogic
handleGetValueListName
in class JSFAttributeLogic
ownerParameter
- JSFAttribute.getValueListName(org.andromda.metafacades.uml.ParameterFacade)
protected String handleGetFormPropertyId(ParameterFacade ownerParameter)
JSFAttributeLogic
handleGetFormPropertyId
in class JSFAttributeLogic
ownerParameter
- JSFAttribute.getFormPropertyId(ParameterFacade)
protected boolean handleIsSelectable(FrontEndParameter ownerParameter)
JSFAttributeLogic
handleIsSelectable
in class JSFAttributeLogic
ownerParameter
- JSFAttribute.isSelectable(org.andromda.metafacades.uml.FrontEndParameter)
protected boolean handleIsValidationRequired()
handleIsValidationRequired
in class JSFAttributeLogic
JSFAttribute.isValidationRequired()
protected Collection<String> handleGetValidatorTypes()
handleGetValidatorTypes
in class JSFAttributeLogic
JSFAttribute.getValidatorTypes()
protected Collection<List<String>> handleGetValidatorVars(JSFParameter ownerParameter)
JSFAttributeLogic
handleGetValidatorVars
in class JSFAttributeLogic
ownerParameter
- JSFAttribute.getValidatorVars(JSFParameter)
protected String handleGetValidWhen()
handleGetValidWhen
in class JSFAttributeLogic
JSFAttribute.getValidWhen()
protected boolean handleIsInputTextarea()
handleIsInputTextarea
in class JSFAttributeLogic
JSFAttribute.isInputTextarea()
protected boolean handleIsInputSelect()
handleIsInputSelect
in class JSFAttributeLogic
JSFAttribute.isInputSelect()
protected boolean handleIsInputSecret()
handleIsInputSecret
in class JSFAttributeLogic
JSFAttribute.isInputSecret()
protected boolean handleIsInputHidden()
handleIsInputHidden
in class JSFAttributeLogic
JSFAttribute.isInputHidden()
protected boolean handleIsPlaintext()
handleIsPlaintext
in class JSFAttributeLogic
JSFAttribute.isPlaintext()
protected boolean handleIsInputRadio()
handleIsInputRadio
in class JSFAttributeLogic
JSFAttribute.isInputRadio()
protected boolean handleIsInputText()
handleIsInputText
in class JSFAttributeLogic
JSFAttribute.isInputText()
protected boolean handleIsInputMultibox()
handleIsInputMultibox
in class JSFAttributeLogic
JSFAttribute.isInputMultibox()
protected boolean handleIsInputTable()
handleIsInputTable
in class JSFAttributeLogic
JSFAttribute.isInputTable()
protected boolean handleIsInputCheckbox()
handleIsInputCheckbox
in class JSFAttributeLogic
JSFAttribute.isInputCheckbox()
protected boolean handleIsInputFile()
handleIsInputFile
in class JSFAttributeLogic
JSFAttribute.isInputFile()
public boolean isReadOnly()
JSFParameter.isReadOnly()
.isReadOnly
in interface AttributeFacade
isReadOnly
in class JSFAttributeLogic
AttributeFacade.isReadOnly()
protected String handleGetValueListDummyValue()
handleGetValueListDummyValue
in class JSFAttributeLogic
JSFAttribute.getValueListDummyValue()
protected Collection handleGetValidatorArgs(String validatorType)
JSFAttributeLogic
handleGetValidatorArgs
in class JSFAttributeLogic
validatorType
- JSFAttribute.getValidatorArgs(String)
protected boolean handleIsStrictDateFormat()
handleIsStrictDateFormat
in class JSFAttributeLogic
JSFAttribute.isStrictDateFormat()
protected String handleGetDateFormatter(JSFParameter ownerParameter)
JSFAttributeLogic
handleGetDateFormatter
in class JSFAttributeLogic
ownerParameter
- JSFAttribute.getDateFormatter(org.andromda.cartridges.jsf.metafacades.JSFParameter)
protected String handleGetTimeFormatter(JSFParameter ownerParameter)
JSFAttributeLogic
handleGetTimeFormatter
in class JSFAttributeLogic
ownerParameter
- JSFAttribute.getTimeFormatter(org.andromda.cartridges.jsf.metafacades.JSFParameter)
public String getDefaultValue()
getDefaultValue
in interface AttributeFacade
getDefaultValue
in class JSFAttributeLogic
AttributeFacade.getDefaultValue()
protected boolean handleIsEqualValidator()
handleIsEqualValidator
in class JSFAttributeLogic
JSFAttribute.isEqualValidator()
protected boolean handleIsBackingValueRequired(FrontEndParameter ownerParameter)
JSFAttributeLogic
handleIsBackingValueRequired
in class JSFAttributeLogic
ownerParameter
- JSFAttribute.isBackingValueRequired(org.andromda.metafacades.uml.FrontEndParameter)
protected boolean handleIsInputTypePresent()
handleIsInputTypePresent
in class JSFAttributeLogic
JSFAttribute.isInputTypePresent()
protected String handleGetInputTableIdentifierColumns()
handleGetInputTableIdentifierColumns
in class JSFAttributeLogic
JSFAttribute.getInputTableIdentifierColumns()
protected String handleGetMaxLength()
handleGetMaxLength
in class JSFAttributeLogic
JSFAttribute.getMaxLength()
Copyright © 2003–2014 AndroMDA.org. All rights reserved.