Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

recoin.container
Class Result  view Result download Result.java

java.lang.Object
  extended byrecoin.container.Result
All Implemented Interfaces:
recoin.group.postresult.Mergeable, java.io.Serializable
Direct Known Subclasses:
RetrievalResult

public abstract class Result
extends java.lang.Object
implements java.io.Serializable, recoin.group.postresult.Mergeable

Abstract superclass for all Result types.

Version:
0.2.9

Field Summary
protected  ResultList list
          The ResultList in which this Result is contained.
 
Constructor Summary
Result()
          Creates a new Result.
 
Method Summary
abstract  boolean equals(Result r)
          Returns 'true' if the specified object is of type Result and is equal to this Result.
 ResultList getResultList()
          Returns the ResultList of this Result.
abstract  java.lang.Object getUniqueIdentifier()
          Returns the unique identifier of this Result as an Object.
 void setResultList(ResultList list)
          Sets the ResultList of this Result to the specified one.
abstract  java.lang.String toString()
          Returns a String representation of this Result.
abstract  java.lang.String toXML()
          Returns a XML representation of the Result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

list

protected ResultList list
The ResultList in which this Result is contained.

Constructor Detail

Result

public Result()
Creates a new Result.

Method Detail

toString

public abstract java.lang.String toString()
Returns a String representation of this Result.


toXML

public abstract java.lang.String toXML()
Returns a XML representation of the Result.


equals

public abstract boolean equals(Result r)
Returns 'true' if the specified object is of type Result and is equal to this Result.


getUniqueIdentifier

public abstract java.lang.Object getUniqueIdentifier()
Returns the unique identifier of this Result as an Object.

Specified by:
getUniqueIdentifier in interface recoin.group.postresult.Mergeable

getResultList

public ResultList getResultList()
Returns the ResultList of this Result. If this Result is not contained in a ResultList the method returns NULL.


setResultList

public void setResultList(ResultList list)
Sets the ResultList of this Result to the specified one.