|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.andromda.core.metafacade.MetafacadeBase
org.andromda.cartridges.jsf.metafacades.JSFParameterLogic
public abstract class JSFParameterLogic
MetafacadeLogic for org.andromda.cartridges.jsf.metafacades.JSFParameter
JSFParameter| Field Summary | |
|---|---|
protected java.lang.Object |
metaObject
|
| Fields inherited from class org.andromda.core.metafacade.MetafacadeBase |
|---|
contextRoot, logger |
| Constructor Summary | |
|---|---|
JSFParameterLogic(java.lang.Object metaObject,
java.lang.String context)
|
|
| Method Summary | |
|---|---|
void |
copyTaggedValues(org.andromda.metafacades.uml.ModelElementFacade element)
|
java.lang.Object |
findTaggedValue(java.lang.String tagName)
|
java.util.Collection |
findTaggedValues(java.lang.String tagName)
|
org.andromda.metafacades.uml.FrontEndAction |
getAction()
|
java.util.Collection |
getAttributes()
All attributes belonging to this parameter's type. |
java.lang.String |
getBackingListName()
The backing list name for this parameter. |
java.lang.String |
getBackingValueName()
The name of the backing value for this parameter (only used with collections and arrays that are input type table). |
java.util.Collection |
getConstraints()
|
java.util.Collection |
getConstraints(java.lang.String kind)
|
org.andromda.metafacades.uml.FrontEndControllerOperation |
getControllerOperation()
|
java.lang.String |
getDateFormatter()
The name of the date formatter for this parameter (if this parameter represents a date). |
java.lang.String |
getDefaultValue()
|
java.lang.String |
getDocumentation(java.lang.String indent)
|
java.lang.String |
getDocumentation(java.lang.String indent,
int lineLength)
|
java.lang.String |
getDocumentation(java.lang.String indent,
int lineLength,
boolean htmlStyle)
|
java.lang.String |
getDocumentationKey()
A resource message key suited for the parameter's documentation. |
java.lang.String |
getDocumentationValue()
A resource message value suited for the parameter's documentation. |
java.lang.String |
getDummyValue()
The dummy value for this parameter. |
org.andromda.metafacades.uml.EventFacade |
getEvent()
|
java.lang.String |
getFormat()
If this parameter represents a date or time this method will return the format in which it must be represented. |
java.lang.String |
getFormAttributeSetProperty()
The name of the property used for indicating whether or not a form attribute has been set at least once. |
java.lang.String |
getFullyQualifiedName()
|
java.lang.String |
getFullyQualifiedName(boolean modelName)
|
java.lang.String |
getFullyQualifiedNamePath()
|
java.lang.String |
getGetterName()
|
java.lang.String |
getId()
|
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()
The name of the label list for this parameter. |
org.andromda.metafacades.uml.TypeMappings |
getLanguageMappings()
|
int |
getLower()
|
java.lang.String |
getMessageKey()
The default message key for this parameter. |
java.lang.String |
getMessageValue()
The default message value for this parameter. |
org.andromda.metafacades.uml.ModelFacade |
getModel()
|
java.lang.String |
getName()
|
java.util.Collection |
getNavigableAssociationEnds()
All navigation association ends belonging to this parameter's type. |
org.andromda.metafacades.uml.OperationFacade |
getOperation()
|
org.andromda.metafacades.uml.ModelElementFacade |
getPackage()
|
java.lang.String |
getPackageName()
|
java.lang.String |
getPackageName(boolean modelName)
|
java.lang.String |
getPackagePath()
|
org.andromda.metafacades.uml.PackageFacade |
getRootPackage()
|
java.lang.String |
getSetterName()
|
java.util.Collection |
getSourceDependencies()
|
org.andromda.metafacades.uml.StateMachineFacade |
getStateMachineContext()
|
java.util.Collection |
getStereotypeNames()
|
java.util.Collection |
getStereotypes()
|
java.util.Collection |
getTableAttributeNames()
|
java.util.List |
getTableColumnActions(java.lang.String columnName)
Those actions that are targetting the given column, only makes sense when this parameter represents a table view-variable. |
java.lang.String |
getTableColumnMessageKey(java.lang.String columnName)
|
java.lang.String |
getTableColumnMessageValue(java.lang.String columnName)
|
java.util.Collection |
getTableColumnNames()
|
java.util.Collection |
getTableColumns()
|
java.util.List |
getTableFormActions()
Actions used when submitting forms for this table. |
java.util.List |
getTableHyperlinkActions()
Actions that are working with this table and are to be represented as hyperlinks. |
java.lang.String |
getTableSortAscendingProperty()
The name of the property that Indicates whether or not the table should be sorted ascending (if this parameter represents a table). |
java.lang.String |
getTableSortColumnProperty()
The name of the property storing the column to sort by if this parameter represents a table. |
java.util.Collection |
getTaggedValues()
|
java.util.Collection |
getTargetDependencies()
|
java.lang.Object |
getTemplateParameter(java.lang.String parameterName)
|
java.util.Collection |
getTemplateParameters()
|
java.lang.String |
getTimeFormatter()
The name of the time formatter (if this parameter represents a time). |
org.andromda.metafacades.uml.ClassifierFacade |
getType()
|
int |
getUpper()
|
java.lang.String |
getValidationName()
|
java.lang.Object |
getValidationOwner()
|
java.util.Collection |
getValidatorArgs(java.lang.String validatorType)
Gets the arguments for this parameter's validators. |
java.util.Collection |
getValidatorTypes()
All the validator types for this parameter. |
java.util.Collection |
getValidatorVars()
The validator variables. |
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()
Stores the name of the value list for this parameter; this list stores the possible values that this parameter may be (typically used for the values of a drop-down select list). |
org.andromda.metafacades.uml.FrontEndView |
getView()
|
java.lang.String |
getVisibility()
|
protected abstract java.util.Collection |
handleGetAttributes()
|
protected abstract java.lang.String |
handleGetBackingListName()
|
protected abstract java.lang.String |
handleGetBackingValueName()
|
protected abstract java.lang.String |
handleGetDateFormatter()
|
protected abstract java.lang.String |
handleGetDocumentationKey()
|
protected abstract java.lang.String |
handleGetDocumentationValue()
|
protected abstract java.lang.String |
handleGetDummyValue()
|
protected abstract java.lang.String |
handleGetFormat()
|
protected abstract java.lang.String |
handleGetFormAttributeSetProperty()
|
protected abstract java.lang.String |
handleGetInputTableIdentifierColumns()
|
protected abstract java.lang.String |
handleGetLabelListName()
|
protected abstract java.lang.String |
handleGetMessageKey()
|
protected abstract java.lang.String |
handleGetMessageValue()
|
protected abstract java.util.Collection |
handleGetNavigableAssociationEnds()
|
protected abstract java.util.List |
handleGetTableColumnActions(java.lang.String columnName)
|
protected abstract java.lang.String |
handleGetTableColumnMessageKey(java.lang.String columnName)
|
protected abstract java.lang.String |
handleGetTableColumnMessageValue(java.lang.String columnName)
|
protected abstract java.util.List |
handleGetTableFormActions()
|
protected abstract java.util.List |
handleGetTableHyperlinkActions()
|
protected abstract java.lang.String |
handleGetTableSortAscendingProperty()
|
protected abstract java.lang.String |
handleGetTableSortColumnProperty()
|
protected abstract java.lang.String |
handleGetTimeFormatter()
|
protected abstract java.util.Collection |
handleGetValidatorArgs(java.lang.String validatorType)
|
protected abstract java.util.Collection |
handleGetValidatorTypes()
|
protected abstract java.util.Collection |
handleGetValidatorVars()
|
protected abstract java.lang.String |
handleGetValidWhen()
|
protected abstract java.lang.String |
handleGetValueListDummyValue()
|
protected abstract java.lang.String |
handleGetValueListName()
|
protected abstract boolean |
handleIsBackingValueRequired()
|
protected abstract boolean |
handleIsComplex()
|
protected abstract boolean |
handleIsEqualValidator()
|
protected abstract boolean |
handleIsInputCheckbox()
|
protected abstract boolean |
handleIsInputFile()
|
protected abstract boolean |
handleIsInputHidden()
|
protected abstract boolean |
handleIsInputMultibox()
|
protected abstract boolean |
handleIsInputRadio()
|
protected abstract boolean |
handleIsInputSecret()
|
protected abstract boolean |
handleIsInputSelect()
|
protected abstract boolean |
handleIsInputTable()
|
protected abstract boolean |
handleIsInputText()
|
protected abstract boolean |
handleIsInputTextarea()
|
protected abstract boolean |
handleIsPageableTable()
|
protected abstract boolean |
handleIsPlaintext()
|
protected abstract boolean |
handleIsReadOnly()
|
protected abstract boolean |
handleIsReset()
|
protected abstract boolean |
handleIsSelectable()
|
protected abstract boolean |
handleIsStrictDateFormat()
|
protected abstract boolean |
handleIsValidationRequired()
|
boolean |
hasExactStereotype(java.lang.String stereotypeName)
|
boolean |
hasStereotype(java.lang.String stereotypeName)
|
void |
initialize()
|
boolean |
isActionParameter()
|
boolean |
isBackingValueRequired()
Indicates if a backing value is required for this parameter. |
boolean |
isBindingDependenciesPresent()
|
boolean |
isComplex()
Indicates if this parameter is 'complex', that is: its of a complex type (has at least one attribute or association). |
boolean |
isConstraintsPresent()
|
boolean |
isContainedInFrontEndUseCase()
|
boolean |
isControllerOperationArgument()
|
boolean |
isDefaultValuePresent()
|
boolean |
isEqualValidator()
Indicates whether or not this parameter uses the equal validator. |
boolean |
isFrontEndParameterMetaType()
|
boolean |
isInoutParameter()
|
boolean |
isInParameter()
|
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 |
isJSFParameterMetaType()
Indicates the metafacade type (used for metafacade mappings). |
boolean |
isModelElementFacadeMetaType()
|
boolean |
isOutParameter()
|
boolean |
isPageableTable()
Whether or not the parameter is a "pageable table", that is a table that supports paging (i.e. |
boolean |
isParameterFacadeMetaType()
|
boolean |
isPlaintext()
Indicates whether or not this field should be rendered as plain text (not as a widget). |
boolean |
isReadable()
|
boolean |
isReadOnly()
Indicates if this parameter can only be read and not modified. |
boolean |
isRequired()
|
boolean |
isReset()
Indicates if this parameter's value should be reset or not after an action has been performed with this parameter. |
boolean |
isReturn()
|
boolean |
isSelectable()
Indicates whether or not this parameter is selectable or not (that is: it can be selected from a list of values). |
boolean |
isStrictDateFormat()
Indicates where or not the date format is to be strictly respected. |
boolean |
isTable()
|
boolean |
isTemplateParametersPresent()
|
boolean |
isValidationRequired()
Indicates whether or not this parameter requires some kind of validation (the collection of validator types is not empty). |
boolean |
isWritable()
|
void |
resetMetafacadeContext(java.lang.String context)
|
java.lang.String |
toString()
|
java.lang.String |
translateConstraint(java.lang.String name,
java.lang.String translation)
|
java.lang.String[] |
translateConstraints(java.lang.String translation)
|
java.lang.String[] |
translateConstraints(java.lang.String kind,
java.lang.String translation)
|
void |
validateInvariants(java.util.Collection validationMessages)
|
| 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 |
| Field Detail |
|---|
protected java.lang.Object metaObject
| Constructor Detail |
|---|
public JSFParameterLogic(java.lang.Object metaObject,
java.lang.String context)
| Method Detail |
|---|
public void resetMetafacadeContext(java.lang.String context)
resetMetafacadeContext in class org.andromda.core.metafacade.MetafacadeBaseMetafacadeBasepublic boolean isJSFParameterMetaType()
JSFParameter
isJSFParameterMetaType in interface JSFParametertrueJSFParameterprotected abstract java.lang.String handleGetMessageKey()
JSFParameter.getMessageKey()public final java.lang.String getMessageKey()
JSFParameterThe default message key for this parameter.
getMessageKey in interface JSFParameterprotected abstract java.lang.String handleGetMessageValue()
JSFParameter.getMessageValue()public final java.lang.String getMessageValue()
JSFParameterThe default message value for this parameter.
getMessageValue in interface JSFParameterprotected abstract java.lang.String handleGetDocumentationKey()
JSFParameter.getDocumentationKey()public final java.lang.String getDocumentationKey()
JSFParameterA resource message key suited for the parameter's documentation.
getDocumentationKey in interface JSFParameterprotected abstract java.lang.String handleGetDocumentationValue()
JSFParameter.getDocumentationValue()public final java.lang.String getDocumentationValue()
JSFParameterA resource message value suited for the parameter's documentation.
getDocumentationValue in interface JSFParameterprotected abstract java.lang.String handleGetFormat()
JSFParameter.getFormat()public final java.lang.String getFormat()
JSFParameterIf this parameter 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.
getFormat in interface JSFParameterprotected abstract boolean handleIsStrictDateFormat()
JSFParameter.isStrictDateFormat()public final boolean isStrictDateFormat()
JSFParameterIndicates 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.
isStrictDateFormat in interface JSFParameterprotected abstract java.lang.String handleGetDateFormatter()
JSFParameter.getDateFormatter()public final java.lang.String getDateFormatter()
JSFParameterThe name of the date formatter for this parameter (if this parameter represents a date).
getDateFormatter in interface JSFParameterprotected abstract java.lang.String handleGetTimeFormatter()
JSFParameter.getTimeFormatter()public final java.lang.String getTimeFormatter()
JSFParameterThe name of the time formatter (if this parameter represents a time).
getTimeFormatter in interface JSFParameterprotected abstract boolean handleIsInputCheckbox()
JSFParameter.isInputCheckbox()public final boolean isInputCheckbox()
JSFParameterIndicates if this parameter represents a checkbox widget.
isInputCheckbox in interface JSFParameterprotected abstract boolean handleIsInputTextarea()
JSFParameter.isInputTextarea()public final boolean isInputTextarea()
JSFParameterIndicates if this parameter represents as an input text area widget.
isInputTextarea in interface JSFParameterprotected abstract boolean handleIsInputSelect()
JSFParameter.isInputSelect()public final boolean isInputSelect()
JSFParameterIndicates whether or not this parameter represents an input select widget.
isInputSelect in interface JSFParameterprotected abstract boolean handleIsInputSecret()
JSFParameter.isInputSecret()public final boolean isInputSecret()
JSFParameterIndicates whether or not this parameter represents an input "secret" widget (i.e. password).
isInputSecret in interface JSFParameterprotected abstract boolean handleIsInputHidden()
JSFParameter.isInputHidden()public final boolean isInputHidden()
JSFParameterIndicates whether or not this parameter represents a hidden input widget.
isInputHidden in interface JSFParameterprotected abstract boolean handleIsPlaintext()
JSFParameter.isPlaintext()public final boolean isPlaintext()
JSFParameterIndicates whether or not this field should be rendered as plain text (not as a widget).
isPlaintext in interface JSFParameterprotected abstract boolean handleIsInputRadio()
JSFParameter.isInputRadio()public final boolean isInputRadio()
JSFParameterIndicates whether or not this parameter should be rendered as an input radio widget.
isInputRadio in interface JSFParameterprotected abstract boolean handleIsInputText()
JSFParameter.isInputText()public final boolean isInputText()
JSFParameterIndicates whether or not this parameter should be rendered as a text input widget.
isInputText in interface JSFParameterprotected abstract java.lang.String handleGetBackingListName()
JSFParameter.getBackingListName()public final java.lang.String getBackingListName()
JSFParameterThe backing list name for this parameter. This is useful if you want to be able to select the parameter value from a list (i.e. a drop-down select input type).
getBackingListName in interface JSFParameterprotected abstract java.lang.String handleGetLabelListName()
JSFParameter.getLabelListName()public final java.lang.String getLabelListName()
JSFParameterThe 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 parameter (typically used for the labels of a drop-down select lists).
getLabelListName in interface JSFParameterprotected abstract java.lang.String handleGetValueListName()
JSFParameter.getValueListName()public final java.lang.String getValueListName()
JSFParameterStores the name of the value list for this parameter; this list stores the possible values that this parameter may be (typically used for the values of a drop-down select list).
getValueListName in interface JSFParameterprotected abstract boolean handleIsSelectable()
JSFParameter.isSelectable()public final boolean isSelectable()
JSFParameterIndicates whether or not this parameter is selectable or not (that is: it can be selected from a list of values).
isSelectable in interface JSFParameterprotected abstract java.lang.String handleGetDummyValue()
JSFParameter.getDummyValue()public final java.lang.String getDummyValue()
JSFParameterThe dummy value for this parameter. The dummy value is used for setting the dummy information when dummyData is enabled.
getDummyValue in interface JSFParameterprotected abstract java.lang.String handleGetValueListDummyValue()
JSFParameter.getValueListDummyValue()public final java.lang.String getValueListDummyValue()
JSFParameterThe dummy value for a value list.
getValueListDummyValue in interface JSFParameterprotected abstract java.lang.String handleGetTableSortColumnProperty()
JSFParameter.getTableSortColumnProperty()public final java.lang.String getTableSortColumnProperty()
JSFParameterThe name of the property storing the column to sort by if this parameter represents a table.
getTableSortColumnProperty in interface JSFParameterprotected abstract java.lang.String handleGetTableSortAscendingProperty()
JSFParameter.getTableSortAscendingProperty()public final java.lang.String getTableSortAscendingProperty()
JSFParameterThe name of the property that Indicates whether or not the table should be sorted ascending (if this parameter represents a table).
getTableSortAscendingProperty in interface JSFParameterprotected abstract java.lang.String handleGetFormAttributeSetProperty()
JSFParameter.getFormAttributeSetProperty()public final java.lang.String getFormAttributeSetProperty()
JSFParameterThe name of the property used for indicating whether or not a form attribute has been set at least once.
getFormAttributeSetProperty in interface JSFParameterprotected abstract boolean handleIsReadOnly()
JSFParameter.isReadOnly()public final boolean isReadOnly()
JSFParameterIndicates if this parameter can only be read and not modified.
isReadOnly in interface JSFParameterprotected abstract boolean handleIsValidationRequired()
JSFParameter.isValidationRequired()public final boolean isValidationRequired()
JSFParameterIndicates whether or not this parameter requires some kind of validation (the collection of validator types is not empty).
isValidationRequired in interface JSFParameterprotected abstract java.util.Collection handleGetValidatorTypes()
JSFParameter.getValidatorTypes()public final java.util.Collection getValidatorTypes()
JSFParameterAll the validator types for this parameter.
getValidatorTypes in interface JSFParameterprotected abstract java.lang.String handleGetValidWhen()
JSFParameter.getValidWhen()public final java.lang.String getValidWhen()
JSFParameterThe 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.
getValidWhen in interface JSFParameterprotected abstract boolean handleIsInputFile()
JSFParameter.isInputFile()public final boolean isInputFile()
JSFParameterIndicates whether or not this is a file input type.
isInputFile in interface JSFParameterprotected abstract java.util.Collection handleGetValidatorVars()
JSFParameter.getValidatorVars()public final java.util.Collection getValidatorVars()
JSFParameterThe validator variables.
getValidatorVars in interface JSFParameterprotected abstract boolean handleIsInputMultibox()
JSFParameter.isInputMultibox()public final boolean isInputMultibox()
JSFParameterIndicates whether or not this type represents an input multibox.
isInputMultibox in interface JSFParameterprotected abstract boolean handleIsReset()
JSFParameter.isReset()public final boolean isReset()
JSFParameterIndicates if this parameter's value should be reset or not after an action has been performed with this parameter.
isReset in interface JSFParameterprotected abstract boolean handleIsComplex()
JSFParameter.isComplex()public final boolean isComplex()
JSFParameterIndicates if this parameter is 'complex', that is: its of a complex type (has at least one attribute or association).
isComplex in interface JSFParameterprotected abstract java.util.Collection handleGetAttributes()
JSFParameter.getAttributes()public final java.util.Collection getAttributes()
JSFParameterAll attributes belonging to this parameter's type.
getAttributes in interface JSFParameterprotected abstract java.util.Collection handleGetNavigableAssociationEnds()
JSFParameter.getNavigableAssociationEnds()public final java.util.Collection getNavigableAssociationEnds()
JSFParameterAll navigation association ends belonging to this parameter's type.
getNavigableAssociationEnds in interface JSFParameterprotected abstract boolean handleIsEqualValidator()
JSFParameter.isEqualValidator()public final boolean isEqualValidator()
JSFParameterIndicates whether or not this parameter uses the equal validator.
isEqualValidator in interface JSFParameterprotected abstract java.lang.String handleGetBackingValueName()
JSFParameter.getBackingValueName()public final java.lang.String getBackingValueName()
JSFParameterThe name of the backing value for this parameter (only used with collections and arrays that are input type table).
getBackingValueName in interface JSFParameterprotected abstract boolean handleIsInputTable()
JSFParameter.isInputTable()publi