|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JSFAttribute
Represents an attribute on a classifier used by a JSF application.
Metafacade interface to be used by AndroMDA cartridges.
| Method Summary | |
|---|---|
java.lang.String |
getBackingListName(org.andromda.metafacades.uml.ParameterFacade ownerParameter)
Gets backing list name for this attribute. |
java.lang.String |
getBackingValueName(org.andromda.metafacades.uml.ParameterFacade ownerParameter)
Constructs and returns the backing value name given the 'ownerParameter'. |
java.lang.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). |
java.lang.String |
getDummyValue()
The dummy value to give the attribute when creating a dummy instance of this attribute's owner. |
java.lang.String |
getFormat()
If this attributes represents a date or time this method will return the format in which it must be represented. |
java.lang.String |
getFormPropertyId(org.andromda.metafacades.uml.ParameterFacade ownerParameter)
Gets the unique id of this attribute on the form. |
java.lang.String |
getFormPropertyName(org.andromda.metafacades.uml.ParameterFacade ownerParameter)
Retrieves the name of the form property for this attribute by taking the name of the owner property. |
java.lang.String |
getInputTableIdentifierColumns()
A comma seperated list of the input table identifier columns (these are the columns that uniquely define a row in an input table). |
java.lang.String |
getLabelListName(org.andromda.metafacades.uml.ParameterFacade ownerParameter)
Gets the name of the label list for this parameter. |
java.lang.String |
getMessageKey()
The message key for this attribute. |
java.lang.String |
getMessageValue()
The default value for the message key. |
java.lang.String |
getTimeFormatter(JSFParameter ownerParameter)
Gets the name of the time formatter (if this parameter represents a time). |
java.util.Collection |
getValidatorArgs(java.lang.String validatorType)
Gets the arguments for this parameter's validators. |
java.util.Collection |
getValidatorTypes()
All validator types for this attribute. |
java.util.Collection |
getValidatorVars(JSFParameter ownerParameter)
Gets the validator args for this attribute |
java.lang.String |
getValidWhen()
The validator's 'validwhen' value, this is useful when the validation of a parameter depends on the validation of others. |
java.lang.String |
getValueListDummyValue()
The dummy value for a value list. |
java.lang.String |
getValueListName(org.andromda.metafacades.uml.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(org.andromda.metafacades.uml.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 |
isReset()
|
boolean |
isSelectable(org.andromda.metafacades.uml.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). |
| Methods inherited from interface org.andromda.metafacades.uml.AttributeFacade |
|---|
findTaggedValue, getDefaultValue, getEnumeration, getEnumerationLiteralParameters, getEnumerationValue, getGetterName, getGetterSetterTypeName, getLower, getOwner, getSetterName, getType, getUpper, isAddOnly, isAttributeFacadeMetaType, isChangeable, isDefaultValuePresent, isEnumerationLiteral, isEnumerationLiteralParametersExist, isEnumerationMember, isMany, isOrdered, isReadOnly, isRequired, isStatic |
| Methods inherited from interface org.andromda.metafacades.uml.ModelElementFacade |
|---|
copyTaggedValues, findTaggedValue, findTaggedValues, getConstraints, getConstraints, getDocumentation, getDocumentation, getDocumentation, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getId, getLanguageMappings, getModel, getName, getPackage, getPackageName, getPackageName, getPackagePath, getRootPackage, getSourceDependencies, getStateMachineContext, getStereotypeNames, getStereotypes, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getValidationName, getValidationOwner, getVisibility, hasExactStereotype, hasStereotype, initialize, isBindingDependenciesPresent, isConstraintsPresent, isModelElementFacadeMetaType, isTemplateParametersPresent, translateConstraint, translateConstraints, translateConstraints, validateInvariants |
| Method Detail |
|---|
boolean isJSFAttributeMetaType()
truejava.lang.String getBackingListName(org.andromda.metafacades.uml.ParameterFacade ownerParameter)
Gets backing list name for this attribute. This is useful if you want to be able to select the attribute value from a list (i.e. a drop-down select input type).
java.lang.String getBackingValueName(org.andromda.metafacades.uml.ParameterFacade ownerParameter)
Constructs and returns the backing value name given the 'ownerParameter'.
java.lang.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).
java.lang.String getDummyValue()
The dummy value to give the attribute when creating a dummy instance of this attribute's owner.
java.lang.String getFormPropertyId(org.andromda.metafacades.uml.ParameterFacade ownerParameter)
Gets the unique id of this attribute on the form.
java.lang.String getFormPropertyName(org.andromda.metafacades.uml.ParameterFacade ownerParameter)
Retrieves the name of the form property for this attribute by taking the name of the owner property.
java.lang.String getFormat()
If this attributes represents a date or time this method will return the format in which it must be represented. In the event this format has not been specified by the any tagged value the default will be used.
java.lang.String getInputTableIdentifierColumns()
A comma seperated list of the input table identifier columns (these are the columns that uniquely define a row in an input table).
java.lang.String getLabelListName(org.andromda.metafacades.uml.ParameterFacade ownerParameter)
Gets the name of the label list for this parameter. The label list name is the name of the list storing the labels for the possible values of this attribute (typically used for the labels of a drop-down select lists).
java.lang.String getMessageKey()
The message key for this attribute.
java.lang.String getMessageValue()
The default value for the message key.
java.lang.String getTimeFormatter(JSFParameter ownerParameter)
Gets the name of the time formatter (if this parameter represents a time).
java.lang.String getValidWhen()
The validator's 'validwhen' value, this is useful when the validation of a parameter depends on the validation of others. See the apache commons-validator documentation for more information.
java.util.Collection getValidatorArgs(java.lang.String validatorType)
Gets the arguments for this parameter's validators.
java.util.Collection getValidatorTypes()
All validator types for this attribute.
java.util.Collection getValidatorVars(JSFParameter ownerParameter)
Gets the validator args for this attribute
java.lang.String getValueListDummyValue()
The dummy value for a value list.
java.lang.String getValueListName(org.andromda.metafacades.uml.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(org.andromda.metafacades.uml.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. password).
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 isPlaintext()
Indicates whether or not this attribute's value should be rendered as plain text (not as a widget).
boolean isReset()
boolean isSelectable(org.andromda.metafacades.uml.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. Otherwise the date formatter used for the representation of this date is to be set to lenient.
boolean isValidationRequired()
Indicates whether or not this attribute requires some kind of validation (the collection of validator types is not empty).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||