HDIV API 2.0.4

org.hdiv.state
Interface IParameter

All Known Implementing Classes:
Parameter

public interface IParameter


Method Summary
 void addValue(java.lang.String value)
          Adds the value value to the parameter this.
 boolean existPosition(int position)
          Checks if the position position exists in the array of values values.
 boolean existValue(java.lang.String value)
          Checks if parameter has value.
 int getCount()
           
 java.lang.String getEditableDataType()
           
 java.lang.String getName()
           
 java.lang.String getValuePosition(int position)
           
 java.util.List getValues()
           
 boolean isActionParam()
          Indicates if the parameter has been added to the action attribute of a link or form.
 boolean isEditable()
           
 void setActionParam(boolean actionParam)
           
 void setEditable(boolean editable)
           
 void setEditableDataType(java.lang.String editableDataType)
           
 void setName(java.lang.String name)
           
 

Method Detail

addValue

void addValue(java.lang.String value)
Adds the value value to the parameter this.


existValue

boolean existValue(java.lang.String value)
Checks if parameter has value.

Returns:
True if value exists in the array of values values. False otherwise.

existPosition

boolean existPosition(int position)
Checks if the position position exists in the array of values values.

Returns:
True if position is valid position in the array of values values. False otherwise.

getValuePosition

java.lang.String getValuePosition(int position)
Returns:
Obtains the value of the position position in the list of values of the parameter.

getName

java.lang.String getName()
Returns:
Returns the parameter name.

setName

void setName(java.lang.String name)
Parameters:
name - The parameter name to set.

getValues

java.util.List getValues()
Returns:
Returns the values of parameter.

isEditable

boolean isEditable()
Returns:
Returns if parameter this is editbale or not.

setEditable

void setEditable(boolean editable)
Parameters:
editable - The editable to set.

getCount

int getCount()
Returns:
Returns the count.

isActionParam

boolean isActionParam()
Indicates if the parameter has been added to the action attribute of a link or form.

Returns:
True if the parameter has been added to the action attribute of a link or form. False in otherwise.

setActionParam

void setActionParam(boolean actionParam)
Parameters:
actionParam - The actionParam to set.

getEditableDataType

java.lang.String getEditableDataType()
Returns:
Returns the editable data type.

setEditableDataType

void setEditableDataType(java.lang.String editableDataType)
Parameters:
editableDataType - The editable data type to set.

HDIV 2.0.4

Copyright © 2008 hdiv.org. All Rights Reserved.