|
||||||||||
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
public class BaseSearchElement
Base class for all SearchElements
Constructor Summary | |
---|---|
BaseSearchElement()
Constructs an empty SearchElement |
|
BaseSearchElement(int aElementType)
Constructs SearchElement with the specified type |
|
BaseSearchElement(int aElementType,
java.lang.String aElementName,
boolean aDisplayable,
boolean aSortable)
Constructs SearchElement for the specified type, name, displayable and sortable capabilities |
|
BaseSearchElement(int aElementType,
java.lang.String aElementName,
java.lang.String aDefaultOperator,
java.util.HashMap aOperatorsMap,
boolean aMandatory,
boolean aDefaultable)
Constructs SearchElement for the specified type, name, displayable and sortable capabilities |
|
BaseSearchElement(int aElementType,
java.lang.String aElementName,
java.lang.String aElementID,
java.lang.String aDefaultOperator,
java.util.HashMap aOperatorsMap,
boolean aIsMandatory,
boolean aIsDefaultable)
Constructs SearchElement for the specified type, name, displayable and sortable capabilities |
|
BaseSearchElement(java.lang.String aElementName,
boolean aDisplayable,
boolean aSortable)
Constructs SearchElement for the specified type, display and sort capabilities |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
BaseSearchElement |
getChildElement()
|
java.lang.String |
getDefaultOperator()
Retrurns the Default operator for this element |
java.lang.String |
getDisplayName()
|
java.lang.String |
getID()
Retrurns the Unique ID to identify this element |
boolean |
getIsDisplayable()
Gets the isDisplayable |
boolean |
getIsSortable()
Gets the isSortable |
int |
getListBoxIndex()
|
java.lang.String |
getName()
Retrurns the name of this element |
java.lang.String |
getOperatorID()
Returns the Unique ID identify this elements operator |
java.util.HashMap |
getOperatorsMap()
Returns the allowed operators map , associated with this element |
java.lang.String |
getSelectedDisplayValue()
|
java.lang.Integer |
getSelectedOperator()
Returns the Current Operator selected fot this element |
java.lang.String |
getSelectedValue()
|
int |
getType()
Retrurns the element Type |
Attribute |
getWpcAttribute()
|
int |
getWpcAttributeType()
|
boolean |
isDefaultable()
Gets the isDefaultable |
boolean |
isMandatory()
Specifies whether this operator is mandatory or not |
boolean |
isSearchable()
|
boolean |
isSelected()
|
void |
setChildElement(BaseSearchElement element)
|
void |
setDefaultable(boolean aDefaultable)
Sets the isDefaultable |
void |
setDefaultOperatorID(java.lang.String aDefaultOperator)
Sets the default of this element for perfroming search |
void |
setDisplayName(java.lang.String string)
|
void |
setID(java.lang.String aElementID)
Sets the ID of this element |
void |
setIsDisplayable(boolean isDisplayable)
Sets the isDisplayable |
void |
setIsSortable(boolean isSortable)
Sets the isSortable |
void |
setListBoxIndex(int i)
|
void |
setMandatory(boolean aIsMandatoryElement)
Sets the requirement of this element for perfroming search |
void |
setName(java.lang.String aElementName)
Sets the name of this element |
void |
setOperatorID(java.lang.String aOperatorID)
Sets the unique ID identify this element operator |
void |
setOperatorMap(java.util.HashMap aOperatorsMap)
Assigns the list of available operators for perfroming search against this element |
void |
setSearchable(boolean flag)
|
void |
setSelectedOperator(java.lang.Integer aSelectedOperator)
Assigns the selected operator for perfroming search against this element |
void |
setSelectedOperator(java.lang.String aSelectedOperatorStr)
Assigns the selected operator for perfroming search against this element this is the convenient overloaded method , used to fill using the string values from the browser |
void |
setSelectedValue(java.lang.String string)
|
void |
setType(int aElementType)
Sets the type of this element |
void |
setWpcAttribute(Attribute attribute)
|
void |
setWpcAttributeType(int i)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseSearchElement()
public BaseSearchElement(int aElementType)
aElementType
- - The type of the element as defined in the ISearchElementTypesEnumpublic BaseSearchElement(java.lang.String aElementName, boolean aDisplayable, boolean aSortable)
aElementName
- - The Name of the elementaDisplayable
- - Displayability of the element in the UIaSortable
- - The sortability of the elementpublic BaseSearchElement(int aElementType, java.lang.String aElementName, boolean aDisplayable, boolean aSortable)
aElementType
- - The type of the elementaElementName
- aDisplayable
- - Displayability of the element in the UIaSortable
- - The sortability of the elementpublic BaseSearchElement(int aElementType, java.lang.String aElementName, java.lang.String aDefaultOperator, java.util.HashMap aOperatorsMap, boolean aMandatory, boolean aDefaultable)
aElementType
- - The type of the elementaElementName
- - The name of the elementaDefaultOperator
- - The default searchOperatoraOperatorsMap
- - The operator hashMapaMandatory
- - The essentiality of the elementaDefaultable
- - The default value presence of the elementpublic BaseSearchElement(int aElementType, java.lang.String aElementName, java.lang.String aElementID, java.lang.String aDefaultOperator, java.util.HashMap aOperatorsMap, boolean aIsMandatory, boolean aIsDefaultable)
aElementType
- - The type of the elementaElementID
- - The Id of the searchElementaElementName
- - The name of the elementaDefaultOperator
- - The default searchOperatoraOperatorsMap
- - The operator hashMapaIsMandatory
- - The essentiality of the elementaIsDefaultable
- - The default value presence of the elementMethod Detail |
---|
public java.lang.String getID()
public java.lang.String getName()
getName
in interface ISelectListTag
public int getType()
public java.lang.String getDefaultOperator()
public java.lang.String getOperatorID()
public void setOperatorID(java.lang.String aOperatorID)
aOperatorID
- The Element Operator Identifierpublic java.util.HashMap getOperatorsMap()
public java.lang.Integer getSelectedOperator()
public boolean isMandatory()
public void setID(java.lang.String aElementID)
aElementID
- , The element unique IDpublic void setName(java.lang.String aElementName)
aElementName
- , Name of this elementpublic void setType(int aElementType)
aElementType
- , The element typepublic void setDefaultOperatorID(java.lang.String aDefaultOperator)
aDefaultOperator
- , If the element is mandatory public void setMandatory(boolean aIsMandatoryElement)
aIsMandatoryElement
- true , If the element is mandatory public void setOperatorMap(java.util.HashMap aOperatorsMap)
aOperatorsMap
- , the map of allowed operators ( key as operator name eg. ">" value is the oerparotorvalue eg" 1" )public void setSelectedOperator(java.lang.Integer aSelectedOperator)
aSelectedOperator
- , the selected operator from the list of available operators.public void setSelectedOperator(java.lang.String aSelectedOperatorStr)
aSelectedOperatorStr
- , the selected operaor from the list of available operators.public boolean getIsDisplayable()
public void setIsDisplayable(boolean isDisplayable)
isDisplayable
- The isDisplayable to setpublic boolean getIsSortable()
public void setIsSortable(boolean isSortable)
isSortable
- The isSortable to setpublic boolean isDefaultable()
public void setDefaultable(boolean aDefaultable)
aDefaultable
- The isDefaultable to setpublic java.lang.String getSelectedValue()
public java.lang.String getSelectedDisplayValue()
public void setSelectedValue(java.lang.String string)
string
- public java.lang.String getDisplayName()
getDisplayName
in interface ISelectListTag
public void setDisplayName(java.lang.String string)
string
- public BaseSearchElement getChildElement()
public void setChildElement(BaseSearchElement element)
element
- public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public boolean isSelected()
isSelected
in interface ISelectListTag
public int getListBoxIndex()
getListBoxIndex
in interface ISelectListTag
public void setListBoxIndex(int i)
i
- public int getWpcAttributeType()
public void setWpcAttributeType(int i)
i
- public Attribute getWpcAttribute()
public void setWpcAttribute(Attribute attribute)
attribute
- public void setSearchable(boolean flag)
public boolean isSearchable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |