|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.ccd.ui.taglib.dataobjects.BaseSearchElement
com.ibm.ccd.ui.taglib.dataobjects.SelectSearchElement
public class SelectSearchElement
SearchElement which represents the Select Search Objects
Constructor Summary | |
---|---|
SelectSearchElement()
Construcs an emptry SelectSearchElement object |
|
SelectSearchElement(java.lang.String aElementName,
int aDefaultValueIndex,
NVPair[] possibleValues,
java.lang.String aDefaultOperator,
java.util.HashMap aOperatorsMap)
Constructs the SelectSearchElement for the specified name, defaault value index,possible values, default operator and operatormap This constructor sets the mandatory presence as true and defaultable as false. |
|
SelectSearchElement(java.lang.String aElementName,
int aDefaultValueIndex,
NVPair[] possibleValues,
java.lang.String aDefaultOperator,
java.util.HashMap aOperatorsMap,
boolean aIsMandatory,
boolean aIsDefaultable)
Constructs the SelectSearchElement for the specified name, defaault value index,possible values, default operator,operatormap ,mandatory and defaultable flags |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
int |
getDefaultIndex()
get the default index |
NVPair[] |
getPossibleValues()
Gets the possibleValuesList |
int |
getSelectedIndex()
get the seletec index |
void |
setDefaultIndex(int aDefaultValueIndex)
assign the default index |
void |
setPossibleValues(NVPair[] possibleValues)
Sets the possibleValuesList |
void |
setSelectedIndex(int aSelectedValueIndex)
assigning the index |
void |
setValue(java.lang.String aSelectedValueIndexStr)
assigning the index value |
Methods inherited from class com.ibm.ccd.ui.taglib.dataobjects.BaseSearchElement |
---|
getChildElement, getDefaultOperator, getDisplayName, getID, getIsDisplayable, getIsSortable, getListBoxIndex, getName, getOperatorID, getOperatorsMap, getSelectedDisplayValue, getSelectedOperator, getSelectedValue, getType, getWpcAttribute, getWpcAttributeType, isDefaultable, isMandatory, isSearchable, isSelected, setChildElement, setDefaultable, setDefaultOperatorID, setDisplayName, setID, setIsDisplayable, setIsSortable, setListBoxIndex, setMandatory, setName, setOperatorID, setOperatorMap, setSearchable, setSelectedOperator, setSelectedOperator, setSelectedValue, setType, setWpcAttribute, setWpcAttributeType |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectSearchElement()
public SelectSearchElement(java.lang.String aElementName, int aDefaultValueIndex, NVPair[] possibleValues, java.lang.String aDefaultOperator, java.util.HashMap aOperatorsMap)
aElementName
- - The name of the select search elementaDefaultValueIndex
- - The default selected IndexpossibleValues
- - The possible select Values, whcih should contain the tagAttribueData ObjectsaDefaultOperator
- - The default operatoraOperatorsMap
- - The available operators mappublic SelectSearchElement(java.lang.String aElementName, int aDefaultValueIndex, NVPair[] possibleValues, java.lang.String aDefaultOperator, java.util.HashMap aOperatorsMap, boolean aIsMandatory, boolean aIsDefaultable)
aElementName
- - The name of the select search elementaDefaultValueIndex
- - The default selected IndexpossibleValues
- - The possible select Values, whcih should contain the tagAttribueData ObjectsaDefaultOperator
- - The default operatoraOperatorsMap
- - The available operators mapaIsMandatory
- - The mandatory presence of this elementaIsDefaultable
- - The defaultability of this elementMethod Detail |
---|
public void setSelectedIndex(int aSelectedValueIndex)
aSelectedValueIndex
- index valuepublic void setValue(java.lang.String aSelectedValueIndexStr)
aSelectedValueIndexStr
- index valuepublic void setDefaultIndex(int aDefaultValueIndex)
aDefaultValueIndex
- public NVPair[] getPossibleValues()
public void setPossibleValues(NVPair[] possibleValues)
possibleValues
- The possibleValuesList to setpublic int getSelectedIndex()
public int getDefaultIndex()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class BaseSearchElement
java.lang.CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |