org.apache.oodt.xmlquery
Class Statistic

java.lang.Object
  extended by org.apache.oodt.xmlquery.Statistic
All Implemented Interfaces:
Serializable, Cloneable

public class Statistic
extends Object
implements Serializable, Cloneable

EDM Statisti class.

See Also:
Serialized Form

Constructor Summary
Statistic()
           
Statistic(Node root)
          Instantiates an Statistic instance from an Statistic structure in DOM node format.
Statistic(String url, long time)
          Constructor.
 
Method Summary
 long getTime()
          Gets the search time
 String getURL()
          Gets the URL string.
static void main(String[] args)
           
 void setTime(long time)
          Sets the search time
 Node toXML(Document doc)
          doc The org.w3c.dom.Document object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Statistic

public Statistic()

Statistic

public Statistic(String url,
                 long time)
Constructor.

Parameters:
url - The server's URL.
time - The search time used by the server indicted by url.

Statistic

public Statistic(Node root)
Instantiates an Statistic instance from an Statistic structure in DOM node format.

Parameters:
root - The DOM node.
Method Detail

toXML

public Node toXML(Document doc)
           throws DOMException
doc The org.w3c.dom.Document object.

Throws:
DOMException

getURL

public String getURL()
Gets the URL string.

Returns:
The URL string.

getTime

public long getTime()
Gets the search time

Returns:
the time

setTime

public void setTime(long time)
Sets the search time


main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 1999-2012 Apache OODT. All Rights Reserved.