|
SAP CC 1.0
API 4.2 (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.filter.hci.SearchResult
public abstract class SearchResult
This class is a generic abstract class for the results returned by all search operations
Please use getResult for obtaining result.
Please use getResultType for obtaining result type.
| XML Schema Fragment |
<xs:complexType name="SearchResult">
<xs:sequence>
<xs:any namespace="##targetNamespace" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="totalCount" type="xs:integer"/>
<xs:attribute name="last" type="xs:string"/> <!-- represent the last element of the buffer -->
<xs:attribute name="resultType" type="ResultTypeType"/>
</xs:complexType>
<xs:element name="itemID">
<xs:complexType>
<xs:attribute name="id" type="xs:string" use="required" />
</xs:complexType>
</xs:element> |
<xs:simpleType name="ResultTypeType">
<xs:restriction base="xs:string">
<xs:enumeration value="ids"/> <!-- ids of requested objects are returned -->
<xs:enumeration value="objects"/><!-- objects are returned -->
</xs:restriction>
</xs:simpleType> |
| Constructor Summary | |
|---|---|
SearchResult(java.lang.String searchTagName)
Builds an empty SearchResult. |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the objects, the child represents
the marshallable object to be added into the content tree. |
java.lang.String |
getLastID()
Gets the last id of the element list. |
java.lang.String |
getOperandReference()
Gets the code or the reference (if no code exists) identifying the operand of the operation. |
java.util.Vector |
getResult()
Gets the result. |
int |
getResultType()
Returns the result type. |
int |
getTotalCount()
Gets the total count of targetted items. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, and of its children. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the tag beeing processed. |
void |
setIdResult(java.util.Vector<?> list)
Sets the ids result. |
void |
setLastID(java.lang.String id)
Sets the last buffer element id. |
void |
setObjectResult(java.util.Vector<XMLMarshallable> list)
Sets the objects result. |
void |
setResultType(int val)
Sets the result type. |
void |
setTotalCount(int n)
Sets the total count. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SearchResult(java.lang.String searchTagName)
| Method Detail |
|---|
public void setObjectResult(java.util.Vector<XMLMarshallable> list)
list - the result objects.public void setIdResult(java.util.Vector<?> list)
list - the result ids.public java.util.Vector getResult()
public int getTotalCount()
public void setTotalCount(int n)
n - the result number.public int getResultType()
SearchFilterModel.ID_RESULT_TYPE,
SearchFilterModel.OBJECT_RESULT_TYPEpublic void setResultType(int val)
val - the result type valueSearchFilterModel.ID_RESULT_TYPE,
SearchFilterModel.OBJECT_RESULT_TYPEpublic java.lang.String getLastID()
public void setLastID(java.lang.String id)
id - the id of the last buffer element.public java.lang.String getOperandReference()
OperationResult
getOperandReference in interface OperationResultpublic void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - the XML attributes of the current tag.public void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - the character data to be added.
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild represents
the marshallable object to be added into the content tree.
addChild in interface XMLMarshallabletagName - the name of tag for the child.child - the child to be added.public void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - the XML output to marshall the object into.
|
SAP CC 1.0
API 4.2 (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
SAP Convergent Charging 1.0 (build R4.2.1.35.0.0)
CONVERGENT CHARGING 4.2
(c) Copyright 2009 SAP AG. All rights reserved.