public abstract class StrutsParameterLogic extends MetafacadeBase implements StrutsParameter
StrutsParameter
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected Object |
metaObject
The underlying UML object
|
contextRoot
Modifier | Constructor and Description |
---|---|
protected |
StrutsParameterLogic(Object metaObjectIn,
String context)
Create Metafacade implementation instance using the MetafacadeFactory from the context
|
Modifier and Type | Method and Description |
---|---|
void |
copyTaggedValues(ModelElementFacade element)
Copies all tagged values from the given ModelElementFacade to this model element facade.
|
Object |
findTaggedValue(String tagName)
Finds the tagged value with the specified 'tagName'.
|
Collection<Object> |
findTaggedValues(String tagName)
Returns all the values for the tagged value with the specified name.
|
FrontEndAction |
getAction()
The action to which this parameter belongs (if it belongs to an action), otherwise it returns
null.
|
String |
getBackingListName()
The backing list name for this parameter.
|
String |
getBindedFullyQualifiedName(ModelElementFacade bindedElement)
Returns the fully qualified name of the model element.
|
String |
getCollectionImplementationType()
If this parameter is a collection type, this property will represent the fully qualified name
of a class suitable for implementation.
|
Collection<ConstraintFacade> |
getConstraints()
Gets all constraints belonging to the model element.
|
Collection<ConstraintFacade> |
getConstraints(String kind)
Returns the constraints of the argument kind that have been placed onto this model.
|
FrontEndControllerOperation |
getControllerOperation()
Gets the controller operation to which this parameter belongs.
|
String |
getDateFormat()
If this parameter represents a date this method will return the format in which it must be
represented.
|
String |
getDefaultValue()
TODO: Model Documentation for org.andromda.metafacades.uml.ParameterFacade.defaultValue
|
String |
getDocumentation(String indent)
Gets the documentation for the model element, The indent argument is prefixed to each line.
|
String |
getDocumentation(String indent,
int lineLength)
This method returns the documentation for this model element, with the lines wrapped after
the specified number of characters, values of less than 1 will indicate no line wrapping is
required.
|
String |
getDocumentation(String indent,
int lineLength,
boolean htmlStyle)
This method returns the documentation for this model element, with the lines wrapped after
the specified number of characters, values of less than 1 will indicate no line wrapping is
required.
|
String |
getDocumentationKey()
The key to lookup the documentation for this parameter.
|
String |
getDocumentationValue()
The documentation for this parameter, formatted to be inserted into a resource bundle.
|
String |
getEffect()
UML2: A representation of the literals of the enumeration 'Parameter Effect Kind': CREATE,
READ, UPDATE, DELETE.
|
EventFacade |
getEvent()
If this parameter is located on an event, this will represent that event.
|
Integer |
getFieldColumnCount()
The number of columns for this field, null if default browser value is desired.
|
Integer |
getFieldRowCount()
The number of rows for this field, null if default browser value is desired.
|
List<StrutsParameter> |
getFormFields()
A Struts parameter is an object communicated between the client and the server.
|
String |
getFullyQualifiedName()
The fully qualified name of this model element.
|
String |
getFullyQualifiedName(boolean modelName)
Returns the fully qualified name of the model element.
|
String |
getFullyQualifiedNamePath()
Returns the fully qualified name as a path, the returned value always starts with out a slash
'/'.
|
String |
getGetterName()
The name to use for accessors getting this parameter from a bean.
|
String |
getGetterSetterTypeName()
Fully Qualified TypeName, determined in part by multiplicity (for UML2).
|
String |
getGetterSetterTypeNameImpl()
Fully Qualified implementation class of TypeName, determined in part by multiplicity (for
UML2).
|
String |
getId()
Gets the unique identifier of the underlying model element.
|
StrutsJsp |
getJsp()
A Struts parameter is an object communicated between the client and the server.
|
Collection<String> |
getKeywords()
UML2: Retrieves the keywords for this element.
|
String |
getLabel()
UML2: Retrieves a localized label for this named element.
|
String |
getLabelListName()
The name of the list holding the labels for this parameter.
|
TypeMappings |
getLanguageMappings()
The language mappings that have been set for this model element.
|
int |
getLower()
the lower value for the multiplicity
-only applicable for UML2
|
String |
getMessageKey()
The default message key for this parameter.
|
String |
getMessageValue()
The default message value for this parameter.
|
ModelFacade |
getModel()
Return the model containing this model element (multiple models may be loaded and processed
at the same time).
|
String |
getMultiboxPropertyName()
The name of the array to be used for the multibox, this only makes sense when this parameter
is actually a multibox.
|
String |
getName()
The name of the model element.
|
String |
getNullValue()
The null value for the type of this parameter.
|
String |
getOnlineHelpKey()
The key to lookup the online help documentation.
|
String |
getOnlineHelpValue()
The online help documentation.
|
OperationFacade |
getOperation()
If this parameter is located on an operation, this will represent that operation.
|
int |
getOptionCount()
In case this parameter represents an option set using radiobuttons, this attribute is a
positive integer and zero otherwise.
|
List |
getOptionKeys()
If this parameter is a choice between radio buttons, then you may use this method to retrieve
the message keys for the resource bundle.
|
List |
getOptionValues()
The values for the options.
|
ModelElementFacade |
getPackage()
Gets the package to which this model element belongs.
|
String |
getPackageName()
The name of this model element's package.
|
String |
getPackageName(boolean modelName)
Gets the package name (optionally providing the ability to retrieve the model name and not
the mapped name).
|
String |
getPackagePath()
Returns the package as a path, the returned value always starts with out a slash '/'.
|
String |
getQualifiedName()
UML2: Returns the value of the 'Qualified Name' attribute.
|
String |
getResetName()
The name of the operation that resets this parameter to its original value.
|
String |
getResetValue()
The reset value for this parameter.
|
PackageFacade |
getRootPackage()
Gets the root package for the model element.
|
String |
getSetterName()
The name to use for accessors getting this parameter in a bean.
|
Collection<DependencyFacade> |
getSourceDependencies()
Gets the dependencies for which this model element is the source.
|
StateMachineFacade |
getStateMachineContext()
If this model element is the context of an activity graph, this represents that activity
graph.
|
Collection<String> |
getStereotypeNames()
The collection of ALL stereotype names for this model element.
|
Collection<StereotypeFacade> |
getStereotypes()
Gets all stereotypes for this model element.
|
StrutsAction |
getStrutsAction()
A Struts parameter is an object communicated between the client and the server.
|
String |
getStyleId()
TODO: Model Documentation for
StrutsParameter.styleId
|
Collection<String> |
getTableAttributeNames()
A collection of all possible attribute names of a table (this will only work when your table
is modeled as an array..not a collection).
|
List |
getTableColumnActions(String columnName)
Those actions that are targetting this table's columns, only makes sense when this parameter
represents a table page-variable.
|
String |
getTableColumnMessageKey(String columnName)
Returns the resource bundle key for this table's column, only returns a value when this
parameter is a table.
|
String |
getTableColumnMessageValue(String columnName)
Returns the resource bundle value for this table's column, only returns a value when this
parameter is a table.
|
Collection<String> |
getTableColumnNames()
All the columns for this parameter if it represents a table variable.
|
Collection<String> |
getTableColumns()
A list of all attributes which make up the table columns of this table (this only contains
attributes when the table is represented by an array).
|
String |
getTableDecoratorClassName()
The class name of the decorator to use for the table.
|
String |
getTableDecoratorFullPath()
The full path to the decorator class.
|
String |
getTableDecoratorFullyQualifiedName()
The complete table decorator classname.
|
String |
getTableDecoratorPackageName()
The package name of the decorator to use for the table.
|
String |
getTableExportTypes()
Tthe available types of export in a single String instance.
|
List<StrutsAction> |
getTableFormActions()
Returns all parameters transported in this action.
|
StrutsParameter |
getTableGlobalActionParameter()
A Struts parameter is an object communicated between the client and the server.
|
Collection<StrutsAction> |
getTableGlobalActions()
A Struts parameter is an object communicated between the client and the server.
|
List<StrutsAction> |
getTableHyperlinkActions()
If the action is a table link then this property represents the table to which is being
linked.
|
int |
getTableMaxRows()
The maximum number of rows to be displayed in the table at the same time.
|
Collection<TaggedValueFacade> |
getTaggedValues()
Return the TaggedValues associated with this model element, under all stereotypes.
|
Collection<DependencyFacade> |
getTargetDependencies()
Gets the dependencies for which this model element is the target.
|
Object |
getTemplateParameter(String parameterName)
Get the template parameter for this model element having the parameterName
|
Collection<TemplateParameterFacade> |
getTemplateParameters()
Get the template parameters for this model element
|
String |
getTimeFormat()
The time format for this parameter (if this parameter stores time).
|
String |
getTitleKey()
TODO: Model Documentation for
StrutsParameter.titleKey
|
String |
getTitleValue()
TODO: Model Documentation for
StrutsParameter.titleValue
|
ClassifierFacade |
getType()
A Classifier is a classification of instances - it describes a set of instances that have
features
in common.
|
int |
getUpper()
the upper value of the multiplicity (will be -1 for *)
-only applicable for UML2
|
String |
getValidationName() |
Object |
getValidationOwner() |
Collection |
getValidatorArgs(String validatorType)
Returns the arguments for this parameter's validators.
|
String |
getValidatorMsgKey()
The message key for this parameter, equivalent to getMessageKey().
|
Collection |
getValidatorTypes()
A collection of all the validator types for this parameter.
|
Collection |
getValidatorVars()
The validator arguments.
|
String |
getValidWhen()
The validator's 'validwhen' value, this is useful when the validation of a parameter depends
on the validation of others.
|
String |
getValueListName()
The name of the list holding the values for this parameter.
|
String |
getValueListResetValue()
The reset value for this parameter's value list.
|
FrontEndView |
getView()
Represents the view in which this parameter will be used.
|
String |
getVisibility()
The visibility (i.e.
|
String |
getWidgetType()
The widget type for this parameter, this value is the tagname for the Struts HTML taglib.
|
protected abstract String |
handleGetBackingListName() |
protected abstract String |
handleGetCollectionImplementationType() |
protected abstract String |
handleGetDateFormat() |
protected abstract String |
handleGetDocumentationKey() |
protected abstract String |
handleGetDocumentationValue() |
protected abstract Integer |
handleGetFieldColumnCount() |
protected abstract Integer |
handleGetFieldRowCount() |
protected abstract List |
handleGetFormFields()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Object |
handleGetJsp()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract String |
handleGetLabelListName() |
protected abstract String |
handleGetMessageKey() |
protected abstract String |
handleGetMessageValue() |
protected abstract String |
handleGetMultiboxPropertyName() |
protected abstract String |
handleGetNullValue() |
protected abstract String |
handleGetOnlineHelpKey() |
protected abstract String |
handleGetOnlineHelpValue() |
protected abstract int |
handleGetOptionCount() |
protected abstract List |
handleGetOptionKeys() |
protected abstract List |
handleGetOptionValues() |
protected abstract String |
handleGetResetName() |
protected abstract String |
handleGetResetValue() |
protected abstract Object |
handleGetStrutsAction()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract String |
handleGetStyleId() |
protected abstract List |
handleGetTableColumnActions(String columnName)
Method to be implemented in descendants
Those actions that are targetting this table's columns, only makes sense when this parameter
represents a table page-variable.
|
protected abstract String |
handleGetTableColumnMessageKey(String columnName)
Method to be implemented in descendants
Returns the resource bundle key for this table's column, only returns a value when this
parameter is a table.
|
protected abstract String |
handleGetTableColumnMessageValue(String columnName)
Method to be implemented in descendants
Returns the resource bundle value for this table's column, only returns a value when this
parameter is a table.
|
protected abstract String |
handleGetTableDecoratorClassName() |
protected abstract String |
handleGetTableDecoratorFullPath() |
protected abstract String |
handleGetTableDecoratorFullyQualifiedName() |
protected abstract String |
handleGetTableDecoratorPackageName() |
protected abstract String |
handleGetTableExportTypes() |
protected abstract List |
handleGetTableFormActions()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Object |
handleGetTableGlobalActionParameter()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Collection |
handleGetTableGlobalActions()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetTableHyperlinkActions()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract int |
handleGetTableMaxRows() |
protected abstract String |
handleGetTimeFormat() |
protected abstract String |
handleGetTitleKey() |
protected abstract String |
handleGetTitleValue() |
protected abstract Collection |
handleGetValidatorArgs(String validatorType)
Method to be implemented in descendants
Returns the arguments for this parameter's validators.
|
protected abstract String |
handleGetValidatorMsgKey() |
protected abstract Collection |
handleGetValidatorTypes() |
protected abstract Collection |
handleGetValidatorVars() |
protected abstract String |
handleGetValidWhen() |
protected abstract String |
handleGetValueListName() |
protected abstract String |
handleGetValueListResetValue() |
protected abstract String |
handleGetWidgetType() |
protected abstract boolean |
handleIsAllGlobalTableActionsHaveSameParameter() |
protected abstract boolean |
handleIsCalendarRequired() |
protected abstract boolean |
handleIsCheckbox() |
protected abstract boolean |
handleIsCombobox() |
protected abstract boolean |
handleIsDate() |
protected abstract boolean |
handleIsFile() |
protected abstract boolean |
handleIsHiddenField() |
protected abstract boolean |
handleIsHyperlink() |
protected abstract boolean |
handleIsMultibox() |
protected abstract boolean |
handleIsMultiple() |
protected abstract boolean |
handleIsPassword() |
protected abstract boolean |
handleIsRadioButton() |
protected abstract boolean |
handleIsReadOnly() |
protected abstract boolean |
handleIsResetRequired() |
protected abstract boolean |
handleIsSafeNamePresent() |
protected abstract boolean |
handleIsSelectable() |
protected abstract boolean |
handleIsShouldReset() |
protected abstract boolean |
handleIsSortableBy() |
protected abstract boolean |
handleIsStrictDateFormat() |
protected abstract boolean |
handleIsTableDecoratorRequired() |
protected abstract boolean |
handleIsTableExportable() |
protected abstract boolean |
handleIsTableFormActionSharingWidgets() |
protected abstract boolean |
handleIsTableHyperlinkColumn() |
protected abstract boolean |
handleIsTableSortable() |
protected abstract boolean |
handleIsTextArea() |
protected abstract boolean |
handleIsTextField() |
protected abstract boolean |
handleIsTime() |
protected abstract boolean |
handleIsValidationRequired() |
boolean |
hasExactStereotype(String stereotypeName)
Returns true if the model element has the exact stereotype (meaning no stereotype inheritance
is taken into account when searching for the stereotype), false otherwise.
|
boolean |
hasKeyword(String keywordName)
Does the UML Element contain the named Keyword? Keywords can be separated by space, comma,
pipe, semicolon, or << >>
|
boolean |
hasStereotype(String stereotypeName)
Returns true if the model element has the specified stereotype.
|
void |
initialize() |
boolean |
isActionParameter()
Indicates whether or not this is an action parameter or not.
|
boolean |
isAllGlobalTableActionsHaveSameParameter()
This property is used in model validation.
|
boolean |
isBindingDependenciesPresent()
True if there are target dependencies from this element that are instances of BindingFacade.
|
boolean |
isCalendarRequired()
True if this parameter is a date and it requires a calendar popup.
|
boolean |
isCheckbox()
TODO: Model Documentation for
StrutsParameter.checkbox
|
boolean |
isCombobox()
TODO: Model Documentation for
StrutsParameter.combobox
|
boolean |
isConstraintsPresent()
Indicates if any constraints are present on this model element.
|
boolean |
isContainedInFrontEndUseCase()
Indicates if this parameter is contained in a "front-end" use case.
|
boolean |
isControllerOperationArgument()
Indicates whether or not this parameter is an argument of a controller operation.
|
boolean |
isDate()
True if the type of this parameter represents a date.
|
boolean |
isDefaultValuePresent()
Indicates if the default value is present.
|
boolean |
isDocumentationPresent()
Indicates if any documentation is present on this model element.
|
boolean |
isException()
UML2: Returns the value of the 'Is Exception' attribute.
|
boolean |
isFile()
TODO: Model Documentation for
StrutsParameter.file
|
boolean |
isFrontEndParameterMetaType() |
boolean |
isHiddenField()
TODO: Model Documentation for
StrutsParameter.hiddenField
|
boolean |
isHyperlink()
TODO: Model Documentation for
StrutsParameter.hyperlink
|
boolean |
isInoutParameter()
True if this parameter is an inout parameter.
|
boolean |
isInParameter()
True if this parameter is an 'in' parameter.
|
boolean |
isMany()
If upper>1 or upper==unlimited.
|
boolean |
isModelElementFacadeMetaType() |
boolean |
isMultibox()
TODO: Model Documentation for
StrutsParameter.multibox
|
boolean |
isMultiple()
True if this parameter is either an array type or Collection type.
|
boolean |
isOrdered()
UML2 Only: Is parameter ordered within the Collection type.
|
boolean |
isOutParameter()
True if this parameter is an 'out' parameter.
|
boolean |
isParameterFacadeMetaType() |
boolean |
isPassword()
True if this parameter represents a password field.
|
boolean |
isRadioButton()
TODO: Model Documentation for
StrutsParameter.radioButton
|
boolean |
isReadable()
True if this parameter is readable, aka an in-parameter, or this feature is unspecified.
|
boolean |
isReadOnly()
True if this parameter cannot be changed by the user, false otherwise.
|
boolean |
isRequired()
Whether or not this parameter is considered required (i.e must a non-empty value).
|
boolean |
isReservedWord()
True if this element name is a reserved word in Java, C#, ANSI or ISO C, C++, JavaScript.
|
boolean |
isResetRequired()
True if the value of this parameter must be reset between requests (Struts requires this for
specific types), false otherwise.
|
boolean |
isReturn()
Whether or not this parameter represents a return parameter.
|
boolean |
isSafeNamePresent()
True if this parameter has a name that can properly be handled by Jakarta commons (this lib
is used by Struts but contains a bug)
|
boolean |
isSelectable()
Whether or not this parameter is selectable.
|
boolean |
isShouldReset()
Whether or not this parameter should be reset between requests.
|
boolean |
isSortableBy()
Indicates if a table can be sorted by this parameter.
|
boolean |
isStrictDateFormat()
True if the date format is to be strictly respected.
|
boolean |
isStrutsParameterMetaType()
Indicates the metafacade type (used for metafacade mappings).
|
boolean |
isTable()
Indicates whether or not this parameter represents a table.
|
boolean |
isTableDecoratorRequired()
TODO: Model Documentation for
StrutsParameter.tableDecoratorRequired
|
boolean |
isTableExportable()
True if it is possible to export the table data to XML, CSV, PDF or Excel format.
|
boolean |
isTableFormActionSharingWidgets()
True if this table has form actions that share the column widgets.
|
boolean |
isTableHyperlinkColumn()
True if this parameter represents a table column into which an hyperlink must be rendered.
|
boolean |
isTableSortable()
True if it is possible to sort the columns of the table.
|
boolean |
isTemplateParametersPresent()
True is there are template parameters on this model element.
|
boolean |
isTextArea()
TODO: Model Documentation for
StrutsParameter.textArea
|
boolean |
isTextField()
TODO: Model Documentation for
StrutsParameter.textField
|
boolean |
isTime()
Indicates if this parameter's type represents a time.
|
boolean |
isUnique()
If Parameter type isMany (UML2), is the parameter unique within the Collection.
|
boolean |
isValidationRequired()
True if this parameter requires some kind of validation.
|
boolean |
isValidIdentifierName()
True if this element name is a valid identifier name in Java, C#, ANSI or ISO C, C++,
JavaScript.
|
boolean |
isWritable()
True if this parameter is writable, aka an out-parameter, or this feature is unspecified.
|
void |
resetMetafacadeContext(String context)
Reset context only for non-root metafacades
|
String |
toString() |
String |
translateConstraint(String name,
String translation)
Searches for the constraint with the specified 'name' on this model element, and if found
translates it using the specified 'translation' from a translation library discovered by the
framework.
|
String[] |
translateConstraints(String translation)
Translates all constraints belonging to this model element with the given 'translation'.
|
String[] |
translateConstraints(String kind,
String translation)
Translates the constraints of the specified 'kind' belonging to this model element.
|
void |
validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::cartridges::bpm4struts::metafacades::StrutsParameter::table on collection or array
|
compareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, hashCode, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validate
protected Object metaObject
Object
protected StrutsParameterLogic(Object metaObjectIn, String context)
metaObjectIn
- context
- public void resetMetafacadeContext(String context)
resetMetafacadeContext
in class MetafacadeBase
context
- MetafacadeBase.resetMetafacadeContext(String context)
public boolean isStrutsParameterMetaType()
StrutsParameter
isStrutsParameterMetaType
in interface StrutsParameter
StrutsParameter
protected abstract String handleGetMessageKey()
StrutsParameter.getMessageKey()
public final String getMessageKey()
getMessageKey
in interface StrutsParameter
protected abstract String handleGetMessageValue()
StrutsParameter.getMessageValue()
public final String getMessageValue()
getMessageValue
in interface StrutsParameter
protected abstract String handleGetTitleKey()
StrutsParameter.getTitleKey()
public final String getTitleKey()
getTitleKey
in interface StrutsParameter
protected abstract String handleGetTitleValue()
StrutsParameter.getTitleValue()
public final String getTitleValue()
getTitleValue
in interface StrutsParameter
protected abstract boolean handleIsMultiple()
StrutsParameter.isMultiple()
public final boolean isMultiple()
isMultiple
in interface StrutsParameter
protected abstract String handleGetBackingListName()
StrutsParameter.getBackingListName()
public final String getBackingListName()
getBackingListName
in interface StrutsParameter
protected abstract boolean handleIsResetRequired()
StrutsParameter.isResetRequired()
public final boolean isResetRequired()
isResetRequired
in interface StrutsParameter
protected abstract String handleGetNullValue()
StrutsParameter.getNullValue()
public final String getNullValue()
getNullValue
in interface StrutsParameter
protected abstract String handleGetWidgetType()
StrutsParameter.getWidgetType()
public final String getWidgetType()
getWidgetType
in interface StrutsParameter
protected abstract String handleGetResetValue()
StrutsParameter.getResetValue()
public final String getResetValue()
getResetValue
in interface StrutsParameter
protected abstract boolean handleIsReadOnly()
StrutsParameter.isReadOnly()
public final boolean isReadOnly()
isReadOnly
in interface StrutsParameter
protected abstract String handleGetValueListResetValue()
StrutsParameter.getValueListResetValue()
public final String getValueListResetValue()
getValueListResetValue
in interface StrutsParameter
protected abstract Collection handleGetValidatorTypes()
StrutsParameter.getValidatorTypes()
public final Collection getValidatorTypes()
getValidatorTypes
in interface StrutsParameter
protected abstract String handleGetValidatorMsgKey()
StrutsParameter.getValidatorMsgKey()
public final String getValidatorMsgKey()
getValidatorMsgKey
in interface StrutsParameter
protected abstract Collection handleGetValidatorVars()
StrutsParameter.getValidatorVars()
public final Collection getValidatorVars()
getValidatorVars
in interface StrutsParameter
protected abstract String handleGetValidWhen()
StrutsParameter.getValidWhen()
public final String getValidWhen()
getValidWhen
in interface StrutsParameter
protected abstract List handleGetOptionKeys()
StrutsParameter.getOptionKeys()
public final List getOptionKeys()
getOptionKeys
in interface StrutsParameter
protected abstract int handleGetTableMaxRows()
StrutsParameter.getTableMaxRows()
public final int getTableMaxRows()
getTableMaxRows
in interface StrutsParameter
protected abstract boolean handleIsTableExportable()
StrutsParameter.isTableExportable()
public final boolean isTableExportable()
isTableExportable
in interface StrutsParameter
protected abstract boolean handleIsTableSortable()
StrutsParameter.isTableSortable()
public final boolean isTableSortable()
isTableSortable
in interface StrutsParameter
protected abstract String handleGetTableExportTypes()
StrutsParameter.getTableExportTypes()
public final String getTableExportTypes()
getTableExportTypes
in interface StrutsParameter
protected abstract boolean handleIsValidationRequired()
StrutsParameter.isValidationRequired()
public final boolean isValidationRequired()
isValidationRequired
in interface StrutsParameter
protected abstract boolean handleIsDate()
StrutsParameter.isDate()
public final boolean isDate()
isDate
in interface StrutsParameter
protected abstract String handleGetDateFormat()
StrutsParameter.getDateFormat()
public final String getDateFormat()
getDateFormat
in interface StrutsParameter
protected abstract boolean handleIsStrictDateFormat()
StrutsParameter.isStrictDateFormat()
public final boolean isStrictDateFormat()
isStrictDateFormat
in interface StrutsParameter
protected abstract boolean handleIsCalendarRequired()
StrutsParameter.isCalendarRequired()
public final boolean isCalendarRequired()
isCalendarRequired
in interface StrutsParameter
protected abstract String handleGetTableDecoratorPackageName()
StrutsParameter.getTableDecoratorPackageName()
public final String getTableDecoratorPackageName()
getTableDecoratorPackageName
in interface StrutsParameter
protected abstract String handleGetTableDecoratorClassName()
StrutsParameter.getTableDecoratorClassName()
public final String getTableDecoratorClassName()
getTableDecoratorClassName
in interface StrutsParameter
protected abstract String handleGetTableDecoratorFullPath()
StrutsParameter.getTableDecoratorFullPath()
public final String getTableDecoratorFullPath()
getTableDecoratorFullPath
in interface StrutsParameter
protected abstract List handleGetOptionValues()
StrutsParameter.getOptionValues()
public final List getOptionValues()
getOptionValues
in interface StrutsParameter
protected abstract int handleGetOptionCount()
StrutsParameter.getOptionCount()
public final int getOptionCount()
getOptionCount
in interface StrutsParameter
protected abstract String handleGetDocumentationKey()
StrutsParameter.getDocumentationKey()
public final String getDocumentationKey()
getDocumentationKey
in interface StrutsParameter
protected abstract String handleGetDocumentationValue()
StrutsParameter.getDocumentationValue()
public final String getDocumentationValue()
getDocumentationValue
in interface StrutsParameter
protected abstract String handleGetOnlineHelpKey()
StrutsParameter.getOnlineHelpKey()
public final String getOnlineHelpKey()
getOnlineHelpKey
in interface StrutsParameter
protected abstract String handleGetOnlineHelpValue()
StrutsParameter.getOnlineHelpValue()
public final String getOnlineHelpValue()
getOnlineHelpValue
in interface StrutsParameter
protected abstract boolean handleIsSelectable()
StrutsParameter.isSelectable()
public final boolean isSelectable()
isSelectable
in interface StrutsParameter
protected abstract String handleGetValueListName()
StrutsParameter.getValueListName()
public final String getValueListName()
getValueListName
in interface StrutsParameter
protected abstract String handleGetLabelListName()
StrutsParameter.getLabelListName()
public final String getLabelListName()
getLabelListName
in interface StrutsParameter
protected abstract String handleGetCollectionImplementationType()
StrutsParameter.getCollectionImplementationType()
public final String getCollectionImplementationType()
getCollectionImplementationType
in interface StrutsParameter
protected abstract String handleGetMultiboxPropertyName()
StrutsParameter.getMultiboxPropertyName()
public final String getMultiboxPropertyName()
getMultiboxPropertyName
in interface StrutsParameter
protected abstract boolean handleIsShouldReset()
StrutsParameter.isShouldReset()
public final boolean isShouldReset()
isShouldReset
in interface StrutsParameter
protected abstract String handleGetResetName()
StrutsParameter.getResetName()
public final String getResetName()
getResetName
in interface StrutsParameter
protected abstract boolean handleIsFile()
StrutsParameter.isFile()
public final boolean isFile()
isFile
in interface StrutsParameter
protected abstract boolean handleIsPassword()
StrutsParameter.isPassword()
public final boolean isPassword()
isPassword
in interface StrutsParameter
protected abstract boolean handleIsTableDecoratorRequired()
StrutsParameter.isTableDecoratorRequired()
public final boolean isTableDecoratorRequired()
isTableDecoratorRequired
in interface StrutsParameter
protected abstract String handleGetTableDecoratorFullyQualifiedName()
StrutsParameter.getTableDecoratorFullyQualifiedName()
public final String getTableDecoratorFullyQualifiedName()
getTableDecoratorFullyQualifiedName
in interface StrutsParameter
protected abstract String handleGetStyleId()
StrutsParameter.getStyleId()
public final String getStyleId()
getStyleId
in interface StrutsParameter
protected abstract boolean handleIsTableFormActionSharingWidgets()
StrutsParameter.isTableFormActionSharingWidgets()
public final boolean isTableFormActionSharingWidgets()
isTableFormActionSharingWidgets
in interface StrutsParameter
protected abstract boolean handleIsTableHyperlinkColumn()
StrutsParameter.isTableHyperlinkColumn()
public final boolean isTableHyperlinkColumn()
isTableHyperlinkColumn
in interface StrutsParameter
protected abstract boolean handleIsSortableBy()
StrutsParameter.isSortableBy()
public final boolean isSortableBy()
isSortableBy
in interface StrutsParameter
protected abstract String handleGetTimeFormat()
StrutsParameter.getTimeFormat()
public final String getTimeFormat()
getTimeFormat
in interface StrutsParameter
protected abstract boolean handleIsTime()
StrutsParameter.isTime()
public final boolean isTime()
isTime
in interface StrutsParameter
protected abstract boolean handleIsAllGlobalTableActionsHaveSameParameter()
StrutsParameter.isAllGlobalTableActionsHaveSameParameter()
public final boolean isAllGlobalTableActionsHaveSameParameter()
isAllGlobalTableActionsHaveSameParameter
in interface StrutsParameter
protected abstract Integer handleGetFieldRowCount()
StrutsParameter.getFieldRowCount()
public final Integer getFieldRowCount()
getFieldRowCount
in interface StrutsParameter
protected abstract Integer handleGetFieldColumnCount()
StrutsParameter.getFieldColumnCount()
public final Integer getFieldColumnCount()
getFieldColumnCount
in interface StrutsParameter
protected abstract boolean handleIsCombobox()
StrutsParameter.isCombobox()
public final boolean isCombobox()
isCombobox
in interface StrutsParameter
protected abstract boolean handleIsCheckbox()
StrutsParameter.isCheckbox()
public final boolean isCheckbox()
isCheckbox
in interface StrutsParameter
protected abstract boolean handleIsTextField()
StrutsParameter.isTextField()
public final boolean isTextField()
isTextField
in interface StrutsParameter
protected abstract boolean handleIsTextArea()
StrutsParameter.isTextArea()
public final boolean isTextArea()
isTextArea
in interface StrutsParameter
protected abstract boolean handleIsMultibox()
StrutsParameter.isMultibox()
public final boolean isMultibox()
isMultibox
in interface StrutsParameter
protected abstract boolean handleIsRadioButton()
StrutsParameter.isRadioButton()
public final boolean isRadioButton()
isRadioButton
in interface StrutsParameter
protected abstract boolean handleIsHiddenField()
StrutsParameter.isHiddenField()
public final boolean isHiddenField()
isHiddenField
in interface StrutsParameter
protected abstract boolean handleIsHyperlink()
StrutsParameter.isHyperlink()
public final boolean isHyperlink()
isHyperlink
in interface StrutsParameter
protected abstract boolean handleIsSafeNamePresent()
StrutsParameter.isSafeNamePresent()
public final boolean isSafeNamePresent()
isSafeNamePresent
in interface StrutsParameter
protected abstract Collection handleGetValidatorArgs(String validatorType)
validatorType
- public Collection getValidatorArgs(String validatorType)
getValidatorArgs
in interface StrutsParameter
validatorType
- String
TODO: Model Documentation for
StrutsParameter.getValidatorArgs(validatorType)protected abstract String handleGetTableColumnMessageKey(String columnName)
columnName
- public String getTableColumnMessageKey(String columnName)
getTableColumnMessageKey
in interface StrutsParameter
columnName
- String
TODO: Model Documentation for
StrutsParameter.getTableColumnMessageKey(columnName)protected abstract String handleGetTableColumnMessageValue(String columnName)
columnName
- public String getTableColumnMessageValue(String columnName)
getTableColumnMessageValue
in interface StrutsParameter
columnName
- String
TODO: Model Documentation for
StrutsParameter.getTableColumnMessageValue(columnName)protected abstract List handleGetTableColumnActions(String columnName)
columnName
- public List getTableColumnActions(String columnName)
getTableColumnActions
in interface StrutsParameter
columnName
- String
TODO: Model Documentation for
StrutsParameter.getTableColumnActions(columnName)public final List<StrutsAction> getTableHyperlinkActions()
getTableHyperlinkActions
in interface StrutsParameter
protected abstract List handleGetTableHyperlinkActions()
public final StrutsAction getStrutsAction()
getStrutsAction
in interface StrutsParameter
protected abstract Object handleGetStrutsAction()
public final StrutsJsp getJsp()
getJsp
in interface StrutsParameter
protected abstract Object handleGetJsp()
public final StrutsParameter getTableGlobalActionParameter()
getTableGlobalActionParameter
in interface StrutsParameter
protected abstract Object handleGetTableGlobalActionParameter()
public final List<StrutsParameter> getFormFields()
getFormFields
in interface StrutsParameter
protected abstract List handleGetFormFields()
public final Collection<StrutsAction> getTableGlobalActions()
getTableGlobalActions
in interface StrutsParameter
protected abstract Collection handleGetTableGlobalActions()
public final List<StrutsAction> getTableFormActions()
getTableFormActions
in interface StrutsParameter
protected abstract List handleGetTableFormActions()
public boolean isFrontEndParameterMetaType()
isFrontEndParameterMetaType
in interface FrontEndParameter
FrontEndParameter
public boolean isParameterFacadeMetaType()
isParameterFacadeMetaType
in interface ParameterFacade
ParameterFacade
public boolean isModelElementFacadeMetaType()
isModelElementFacadeMetaType
in interface ModelElementFacade
ModelElementFacade
public FrontEndAction getAction()
getAction
in interface FrontEndParameter
FrontEndParameter.getAction()
public FrontEndControllerOperation getControllerOperation()
getControllerOperation
in interface FrontEndParameter
FrontEndParameter.getControllerOperation()
public Collection<String> getTableAttributeNames()
getTableAttributeNames
in interface FrontEndParameter
FrontEndParameter.getTableAttributeNames()
public Collection<String> getTableColumnNames()
getTableColumnNames
in interface FrontEndParameter
FrontEndParameter.getTableColumnNames()
public Collection<String> getTableColumns()
getTableColumns
in interface FrontEndParameter
FrontEndParameter.getTableColumns()
public FrontEndView getView()
getView
in interface FrontEndParameter
FrontEndParameter.getView()
public boolean isActionParameter()
isActionParameter
in interface FrontEndParameter
FrontEndParameter.isActionParameter()
public boolean isContainedInFrontEndUseCase()
isContainedInFrontEndUseCase
in interface FrontEndParameter
FrontEndParameter.isContainedInFrontEndUseCase()
public boolean isControllerOperationArgument()
isControllerOperationArgument
in interface FrontEndParameter
FrontEndParameter.isControllerOperationArgument()
public boolean isTable()
isTable
in interface FrontEndParameter
FrontEndParameter.isTable()
public void copyTaggedValues(ModelElementFacade element)
copyTaggedValues
in interface ModelElementFacade
ModelElementFacade.copyTaggedValues(ModelElementFacade element)
public Object findTaggedValue(String tagName)
findTaggedValue
in interface ModelElementFacade
ModelElementFacade.findTaggedValue(String tagName)
public Collection<Object> findTaggedValues(String tagName)
findTaggedValues
in interface ModelElementFacade
ModelElementFacade.findTaggedValues(String tagName)
public String getBindedFullyQualifiedName(ModelElementFacade bindedElement)
getBindedFullyQualifiedName
in interface ModelElementFacade
ModelElementFacade.getBindedFullyQualifiedName(ModelElementFacade bindedElement)
public Collection<ConstraintFacade> getConstraints()
getConstraints
in interface ModelElementFacade
ModelElementFacade.getConstraints()
public Collection<ConstraintFacade> getConstraints(String kind)
getConstraints
in interface ModelElementFacade
ModelElementFacade.getConstraints(String kind)
public String getDocumentation(String indent)
getDocumentation(indent, 64)
.getDocumentation
in interface ModelElementFacade
ModelElementFacade.getDocumentation(String indent)
public String getDocumentation(String indent, int lineLength)
getDocumentation(indent, lineLength, true)
.getDocumentation
in interface ModelElementFacade
ModelElementFacade.getDocumentation(String indent, int lineLength)
public String getDocumentation(String indent, int lineLength, boolean htmlStyle)
getDocumentation
in interface ModelElementFacade
ModelElementFacade.getDocumentation(String indent, int lineLength, boolean htmlStyle)
public String getFullyQualifiedName()
getFullyQualifiedName
in interface ModelElementFacade
ModelElementFacade.getFullyQualifiedName()
public String getFullyQualifiedName(boolean modelName)
getFullyQualifiedName
in interface ModelElementFacade
ModelElementFacade.getFullyQualifiedName(boolean modelName)
public String getFullyQualifiedNamePath()
getFullyQualifiedNamePath
in interface ModelElementFacade
ModelElementFacade.getFullyQualifiedNamePath()
public String getId()
getId
in interface ModelElementFacade
ModelElementFacade.getId()
public Collection<String> getKeywords()
getKeywords
in interface ModelElementFacade
ModelElementFacade.getKeywords()
public String getLabel()
getLabel
in interface ModelElementFacade
ModelElementFacade.getLabel()
public TypeMappings getLanguageMappings()
getLanguageMappings
in interface ModelElementFacade
ModelElementFacade.getLanguageMappings()
public ModelFacade getModel()
getModel
in interface ModelElementFacade
ModelElementFacade.getModel()
public String getName()
getName
in interface ModelElementFacade
ModelElementFacade.getName()
public ModelElementFacade getPackage()
getPackage
in interface ModelElementFacade
ModelElementFacade.getPackage()
public String getPackageName()
getPackageName
in interface ModelElementFacade
ModelElementFacade.getPackageName()
public String getPackageName(boolean modelName)
getPackageName
in interface ModelElementFacade
ModelElementFacade.getPackageName(boolean modelName)
public String getPackagePath()
getPackagePath
in interface ModelElementFacade
ModelElementFacade.getPackagePath()
public String getQualifiedName()
getQualifiedName
in interface ModelElementFacade
ModelElementFacade.getQualifiedName()
public PackageFacade getRootPackage()
getRootPackage
in interface ModelElementFacade
ModelElementFacade.getRootPackage()
public Collection<DependencyFacade> getSourceDependencies()
getSourceDependencies
in interface ModelElementFacade
ModelElementFacade.getSourceDependencies()
public StateMachineFacade getStateMachineContext()
getStateMachineContext
in interface ModelElementFacade
ModelElementFacade.getStateMachineContext()
public Collection<String> getStereotypeNames()
getStereotypeNames
in interface ModelElementFacade
ModelElementFacade.getStereotypeNames()
public Collection<StereotypeFacade> getStereotypes()
getStereotypes
in interface ModelElementFacade
ModelElementFacade.getStereotypes()
public Collection<TaggedValueFacade> getTaggedValues()
getTaggedValues
in interface ModelElementFacade
ModelElementFacade.getTaggedValues()
public Collection<DependencyFacade> getTargetDependencies()
getTargetDependencies
in interface ModelElementFacade
ModelElementFacade.getTargetDependencies()
public Object getTemplateParameter(String parameterName)
getTemplateParameter
in interface ModelElementFacade
ModelElementFacade.getTemplateParameter(String parameterName)
public Collection<TemplateParameterFacade> getTemplateParameters()
getTemplateParameters
in interface ModelElementFacade
ModelElementFacade.getTemplateParameters()
public String getVisibility()
getVisibility
in interface ModelElementFacade
ModelElementFacade.getVisibility()
public boolean hasExactStereotype(String stereotypeName)
hasExactStereotype
in interface ModelElementFacade
ModelElementFacade.hasExactStereotype(String stereotypeName)
public boolean hasKeyword(String keywordName)
hasKeyword
in interface ModelElementFacade
ModelElementFacade.hasKeyword(String keywordName)
public boolean hasStereotype(String stereotypeName)
hasStereotype
in interface ModelElementFacade
ModelElementFacade.hasStereotype(String stereotypeName)
public boolean isBindingDependenciesPresent()
isBindingDependenciesPresent
in interface ModelElementFacade
ModelElementFacade.isBindingDependenciesPresent()
public boolean isConstraintsPresent()
isConstraintsPresent
in interface ModelElementFacade
ModelElementFacade.isConstraintsPresent()
public boolean isDocumentationPresent()
isDocumentationPresent
in interface ModelElementFacade
ModelElementFacade.isDocumentationPresent()
public boolean isReservedWord()
isReservedWord
in interface ModelElementFacade
ModelElementFacade.isReservedWord()
public boolean isTemplateParametersPresent()
isTemplateParametersPresent
in interface ModelElementFacade
ModelElementFacade.isTemplateParametersPresent()
public boolean isValidIdentifierName()
isValidIdentifierName
in interface ModelElementFacade
ModelElementFacade.isValidIdentifierName()
public String translateConstraint(String name, String translation)
translateConstraint
in interface ModelElementFacade
ModelElementFacade.translateConstraint(String name, String translation)
public String[] translateConstraints(String translation)
translateConstraints
in interface ModelElementFacade
ModelElementFacade.translateConstraints(String translation)
public String[] translateConstraints(String kind, String translation)
translateConstraints
in interface ModelElementFacade
ModelElementFacade.translateConstraints(String kind, String translation)
public String getDefaultValue()
getDefaultValue
in interface ParameterFacade
ParameterFacade.getDefaultValue()
public String getEffect()
getEffect
in interface ParameterFacade
ParameterFacade.getEffect()
public EventFacade getEvent()
getEvent
in interface ParameterFacade
ParameterFacade.getEvent()
public String getGetterName()
getGetterName
in interface ParameterFacade
ParameterFacade.getGetterName()
public String getGetterSetterTypeName()
getGetterSetterTypeName
in interface ParameterFacade
ParameterFacade.getGetterSetterTypeName()
public String getGetterSetterTypeNameImpl()
getGetterSetterTypeNameImpl
in interface ParameterFacade
ParameterFacade.getGetterSetterTypeNameImpl()
public int getLower()
getLower
in interface ParameterFacade
ParameterFacade.getLower()
public OperationFacade getOperation()
getOperation
in interface ParameterFacade
ParameterFacade.getOperation()
public String getSetterName()
getSetterName
in interface ParameterFacade
ParameterFacade.getSetterName()
public ClassifierFacade getType()
getType
in interface ParameterFacade
ParameterFacade.getType()
public int getUpper()
getUpper
in interface ParameterFacade
ParameterFacade.getUpper()
public boolean isDefaultValuePresent()
isDefaultValuePresent
in interface ParameterFacade
ParameterFacade.isDefaultValuePresent()
public boolean isException()
isException
in interface ParameterFacade
ParameterFacade.isException()
public boolean isInParameter()
isInParameter
in interface ParameterFacade
ParameterFacade.isInParameter()
public boolean isInoutParameter()
isInoutParameter
in interface ParameterFacade
ParameterFacade.isInoutParameter()
public boolean isMany()
isMany
in interface ParameterFacade
ParameterFacade.isMany()
public boolean isOrdered()
isOrdered
in interface ParameterFacade
ParameterFacade.isOrdered()
public boolean isOutParameter()
isOutParameter
in interface ParameterFacade
ParameterFacade.isOutParameter()
public boolean isReadable()
isReadable
in interface ParameterFacade
ParameterFacade.isReadable()
public boolean isRequired()
isRequired
in interface ParameterFacade
ParameterFacade.isRequired()
public boolean isReturn()
isReturn
in interface ParameterFacade
ParameterFacade.isReturn()
public boolean isUnique()
isUnique
in interface ParameterFacade
ParameterFacade.isUnique()
public boolean isWritable()
isWritable
in interface ParameterFacade
ParameterFacade.isWritable()
public void initialize()
initialize
in interface ModelElementFacade
initialize
in class MetafacadeBase
MetafacadeBase.initialize()
public Object getValidationOwner()
getValidationOwner
in interface ModelElementFacade
getValidationOwner
in class MetafacadeBase
MetafacadeBase.getValidationOwner()
public String getValidationName()
getValidationName
in interface ModelElementFacade
getValidationName
in class MetafacadeBase
MetafacadeBase.getValidationName()
public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::cartridges::bpm4struts::metafacades::StrutsParameter::table on collection or array
Error: A parameter can only be rendered in tabular format when it is a collection or an array.
OCL: context StrutsParameter inv: table implies multiple
Constraint: org::andromda::cartridges::bpm4struts::metafacades::StrutsParameter::table actions must all have one parameter
Error: All actions targetting this table and operating on all visible rows at the same time can only have a single parameter, this parameter denotes the value that will be sent when the row has been selected.
OCL: context StrutsParameter inv: tableGlobalActions->notEmpty() implies tableGlobalActions->forAll(actionParameters->size() = 1)
Constraint: org::andromda::cartridges::bpm4struts::metafacades::StrutsParameter::all global table action must have the same parameter
Error: All actions targetting this table and operating on the entire rowset must have the same event parameter declaration, this means both name and type must match for all parameters in these actions.
OCL: context StrutsParameter inv: tableGlobalActions->notEmpty() implies allGlobalTableActionsHaveSameParameter
Constraint: org::andromda::cartridges::bpm4struts::metafacades::StrutsManageableEntityAttribute::SAFE NAME - TO BE REMOVED LATER
Error: The names you give to fields cannot start with a lowercase character directly followed by a character in uppercase. This is due to a bug in the Jakarta commons library which is used by Struts. The behavior of that library is inconsistent with the reflection API provided by the JDK. Please rename this field or you'll get exceptions when running your web application.
OCL: context StrutsAttribute inv: safeNamePresent
validateInvariants
in interface ModelElementFacade
validateInvariants
in class MetafacadeBase
validationMessages
- CollectionMetafacadeBase.validateInvariants(Collection validationMessages)
public String toString()
toString
in class MetafacadeBase
Object.toString()
Copyright © 2003–2014 AndroMDA.org. All rights reserved.