public interface JSFAttribute extends AttributeFacade
Modifier and Type | Method and Description |
---|---|
String |
getBackingListName(ParameterFacade ownerParameter)
Gets backing list name for this attribute.
|
String |
getBackingValueName(ParameterFacade ownerParameter)
Constructs and returns the backing value name given the 'ownerParameter'.
|
String |
getDateFormatter(JSFParameter ownerParameter)
Gets the name of the date formatter for this attribute by constructing the name from the
'ownerParameter' (if this attribute represents a date).
|
String |
getDummyValue()
The dummy value to give the attribute when creating a dummy instance of this attribute's
owner.
|
String |
getFormat()
If this attributes represents a date or time this method will return the format in which it
must be represented.
|
String |
getFormPropertyId(ParameterFacade ownerParameter)
Gets the unique id of this attribute on the form.
|
String |
getFormPropertyName(ParameterFacade ownerParameter)
Retrieves the name of the form property for this attribute by taking the name of the owner
property.
|
String |
getInputTableIdentifierColumns()
A comma separated list of the input table identifier columns (these are the columns that
uniquely define a row in an input table).
|
String |
getLabelListName(ParameterFacade ownerParameter)
Gets the name of the label list for this parameter.
|
String |
getMaxLength()
The max length allowed in the input component
|
String |
getMessageKey()
The message key for this attribute.
|
String |
getMessageValue()
The default value for the message key.
|
String |
getTimeFormatter(JSFParameter ownerParameter)
Gets the name of the time formatter (if this parameter represents a time).
|
Collection |
getValidatorArgs(String validatorType)
Gets the arguments for this parameter's validators.
|
Collection |
getValidatorTypes()
All validator types for this attribute.
|
Collection |
getValidatorVars(JSFParameter ownerParameter)
Gets the validator args for this attribute
|
String |
getValidWhen()
The validator's 'validwhen' value, this is useful when the validation of a parameter depends
on the validation of others.
|
String |
getValueListDummyValue()
The dummy value for a value list.
|
String |
getValueListName(ParameterFacade ownerParameter)
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).
|
boolean |
isBackingValueRequired(FrontEndParameter ownerParameter)
Indicates whether or not the backing value is required for this attribute (depending on the
'ownerParameter').
|
boolean |
isEqualValidator()
Indicates whether or not this parameter uses the equal validator.
|
boolean |
isInputCheckbox()
Indicates if this parameter represents a checkbox widget.
|
boolean |
isInputFile()
Indicates whether or not this is a file input type.
|
boolean |
isInputHidden()
Indicates whether or not this parameter represents a hidden input widget.
|
boolean |
isInputMultibox()
Indicates whether or not this type represents an input multibox.
|
boolean |
isInputRadio()
Indicates whether or not this parameter should be rendered as an input radio widget.
|
boolean |
isInputSecret()
Indicates whether or not this parameter represents an input "secret" widget (i.e.
|
boolean |
isInputSelect()
Indicates whether or not this parameter represents an input select widget.
|
boolean |
isInputTable()
Indicates whether or not this is an table input type.
|
boolean |
isInputText()
Indicates whether or not this parameter should be rendered as a text input widget.
|
boolean |
isInputTextarea()
Indicates if this parameter represents as an input text area widget.
|
boolean |
isInputTypePresent()
Indicates whether or not there is an input type defined for this attribute.
|
boolean |
isJSFAttributeMetaType()
Indicates the metafacade type (used for metafacade mappings).
|
boolean |
isPlaintext()
Indicates whether or not this attribute's value should be rendered as plain text (not as a
widget).
|
boolean |
isSelectable(FrontEndParameter ownerParameter)
Indicates whether or not this attribute is selectable according to its 'ownerParameter'.
|
boolean |
isStrictDateFormat()
Indicates where or not the date format is to be strictly respected.
|
boolean |
isValidationRequired()
Indicates whether or not this attribute requires some kind of validation (the collection of
validator types is not empty).
|
findTaggedValue, getDefaultValue, getEnumeration, getEnumerationLiteralParameters, getEnumerationValue, getGetterName, getGetterSetterTypeName, getLower, getOwner, getSetterName, getType, getUpper, isAddOnly, isAttributeFacadeMetaType, isChangeable, isDefaultValuePresent, isDerived, isEnumerationLiteral, isEnumerationLiteralParametersExist, isEnumerationMember, isLeaf, isMany, isOrdered, isReadOnly, isRequired, isStatic, isUnique
copyTaggedValues, findTaggedValue, findTaggedValues, getBindedFullyQualifiedName, getConstraints, getConstraints, getDocumentation, getDocumentation, getDocumentation, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getId, getKeywords, getLabel, getLanguageMappings, getModel, getName, getPackage, getPackageName, getPackageName, getPackagePath, getQualifiedName, getRootPackage, getSourceDependencies, getStateMachineContext, getStereotypeNames, getStereotypes, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getValidationName, getValidationOwner, getVisibility, hasExactStereotype, hasKeyword, hasStereotype, initialize, isBindingDependenciesPresent, isConstraintsPresent, isDocumentationPresent, isModelElementFacadeMetaType, isReservedWord, isTemplateParametersPresent, isValidIdentifierName, translateConstraint, translateConstraints, translateConstraints, validateInvariants
boolean isJSFAttributeMetaType()
true
String getBackingListName(ParameterFacade ownerParameter)
ownerParameter
- ParameterFacadeString getBackingValueName(ParameterFacade ownerParameter)
ownerParameter
- ParameterFacadeString getDateFormatter(JSFParameter ownerParameter)
ownerParameter
- JSFParameterString getDummyValue()
String getFormPropertyId(ParameterFacade ownerParameter)
ownerParameter
- ParameterFacadeString getFormPropertyName(ParameterFacade ownerParameter)
ownerParameter
- ParameterFacadeString getFormat()
String getInputTableIdentifierColumns()
String getLabelListName(ParameterFacade ownerParameter)
ownerParameter
- ParameterFacadeString getMaxLength()
String getMessageKey()
String getMessageValue()
String getTimeFormatter(JSFParameter ownerParameter)
ownerParameter
- JSFParameterString getValidWhen()
Collection getValidatorArgs(String validatorType)
validatorType
- StringCollection getValidatorTypes()
Collection getValidatorVars(JSFParameter ownerParameter)
ownerParameter
- JSFParameterString getValueListDummyValue()
String getValueListName(ParameterFacade ownerParameter)
ownerParameter
- ParameterFacadeboolean isBackingValueRequired(FrontEndParameter ownerParameter)
ownerParameter
- FrontEndParameterboolean isEqualValidator()
boolean isInputCheckbox()
boolean isInputFile()
boolean isInputHidden()
boolean isInputMultibox()
boolean isInputRadio()
boolean isInputSecret()
boolean isInputSelect()
boolean isInputTable()
boolean isInputText()
boolean isInputTextarea()
boolean isInputTypePresent()
boolean isPlaintext()
boolean isSelectable(FrontEndParameter ownerParameter)
ownerParameter
- FrontEndParameterboolean isStrictDateFormat()
boolean isValidationRequired()
Copyright © 2003–2014 AndroMDA.org. All rights reserved.