|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.ccd.ui.taglib.dataobjects.ResultRowData
public class ResultRowData
Represents the ResultSet (A Row or ResultSet containtaing cells of result elements) associated with the Results
This class provides the information about result sets
Each search result represents a row in the results and provides the information
of result elements (cells/colums) as a hashMap and reference of the result object
Constructor Summary | |
---|---|
ResultRowData()
Constructs an empty ResultRowData |
|
ResultRowData(java.lang.Object aRowReference,
java.util.HashMap aRowElements)
Constructs the ResultRowData with the specified referencebean and rowElements map |
Method Summary | |
---|---|
void |
addElement(java.lang.String name,
java.lang.Object value)
Adds the element to rowdata |
java.lang.Object |
getElementValue(java.lang.String elementName)
Returns Value of the given element name If there is no element for this name , then returns null |
java.util.HashMap |
getRowElements()
Returns the HashMap of search result elemetns of this row |
java.lang.Object |
getRowReference()
Returns the ReferenceObject associated with the current result row |
void |
removeElement(java.lang.String name)
Removes the element from rowdata |
void |
setRowElements(java.util.HashMap aRowElements)
Sets the HashMap of search result elements of this row |
void |
setRowReference(java.lang.Object aRowReference)
Sets the ReferenceObject associated with the current result row |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResultRowData()
public ResultRowData(java.lang.Object aRowReference, java.util.HashMap aRowElements)
aRowReference
- - The reference of the rowaRowElements
- - The elements(column elements) HashMap of this rowMethod Detail |
---|
public java.lang.Object getRowReference()
public java.util.HashMap getRowElements()
public java.lang.Object getElementValue(java.lang.String elementName)
elementName
- , The name of the element
public void setRowReference(java.lang.Object aRowReference)
aRowReference
- , the refernce for this result rowpublic void addElement(java.lang.String name, java.lang.Object value)
name
- , Element Name of type Stringvalue
- , Element value of type Stringpublic void removeElement(java.lang.String name)
name
- , Element Name of type Stringpublic void setRowElements(java.util.HashMap aRowElements)
aRowElements
- , being key as name and value as the result value of the element
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |