|
HDIV API 2.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hdiv.state.Parameter
public class Parameter
Data struture to store all the values of a parameter
| Constructor Summary | |
|---|---|
Parameter()
Creates a new Parameter object. |
|
| 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()
|
void |
init()
Initialization of the parameter this value array |
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 |
setCount(int count)
|
void |
setEditable(boolean editable)
|
void |
setEditableDataType(java.lang.String editableDataType)
|
void |
setName(java.lang.String name)
|
void |
setValues(java.util.List values)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Parameter()
| Method Detail |
|---|
public void init()
this value array
public void addValue(java.lang.String value)
value to the parameter this.
addValue in interface IParameterpublic boolean existValue(java.lang.String value)
value.
existValue in interface IParametervalue exists in the array of values
values. False otherwise.public boolean existPosition(int position)
position exists in the array of values
values.
existPosition in interface IParameterposition is valid position in the array of values
values. False otherwise.public java.lang.String getValuePosition(int position)
getValuePosition in interface IParameterposition in the list
of values of the parameter.public java.lang.String getName()
getName in interface IParameterpublic void setName(java.lang.String name)
setName in interface IParametername - The parameter name to set.public java.util.List getValues()
getValues in interface IParameterthis.public void setValues(java.util.List values)
values - The values to set.public boolean isEditable()
isEditable in interface IParameterthis is editbale or not.public void setEditable(boolean editable)
setEditable in interface IParametereditable - The editable to set.public int getCount()
getCount in interface IParameterpublic void setCount(int count)
count - The count to set.public boolean isActionParam()
isActionParam in interface IParameterpublic void setActionParam(boolean actionParam)
setActionParam in interface IParameteractionParam - The actionParam to set.public java.lang.String getEditableDataType()
getEditableDataType in interface IParameterpublic void setEditableDataType(java.lang.String editableDataType)
setEditableDataType in interface IParametereditableDataType - The editable data type to set.public java.lang.String toString()
toString in class java.lang.Object
|
HDIV 2.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||