net.aerith.misao.database
Class XmlReportQueryCondition

java.lang.Object
  |
  +--net.aerith.misao.database.XmlReportQueryCondition

public class XmlReportQueryCondition
extends java.lang.Object

The XmlReportQueryCondition represents a query condition to select XML report documents.


Field Summary
protected  double brighter_limit
          The brighter limit of the limiting magnitude.
protected  double fainter_limit
          The fainter limit of the limiting magnitude.
 
Constructor Summary
XmlReportQueryCondition()
           
 
Method Summary
 boolean accept(XmlInformation info)
          Returns true if the specified XML report document is acceptable by this query condition.
 double getBrighterLimit()
          Gets the brighter limit of the limiting magnitude.
 double getFainterLimit()
          Gets the fainter limit of the limiting magnitude.
 void setLimitingMagnitude(double brighter_limit, double fainter_limit)
          Sets the range of the limiting magnitude.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

brighter_limit

protected double brighter_limit
The brighter limit of the limiting magnitude.

fainter_limit

protected double fainter_limit
The fainter limit of the limiting magnitude.
Constructor Detail

XmlReportQueryCondition

public XmlReportQueryCondition()
Method Detail

accept

public boolean accept(XmlInformation info)
Returns true if the specified XML report document is acceptable by this query condition.
Parameters:
info - the XML information object.
Returns:
true if the specified XML report document is acceptable

setLimitingMagnitude

public void setLimitingMagnitude(double brighter_limit,
                                 double fainter_limit)
Sets the range of the limiting magnitude.
Parameters:
brighter_limit - the brighter limit of the limiting magnitude.
fainter_limit - the fainter limit of the limiting magnitude.

getBrighterLimit

public double getBrighterLimit()
Gets the brighter limit of the limiting magnitude.
Returns:
the brighter limit of the limiting magnitude.

getFainterLimit

public double getFainterLimit()
Gets the fainter limit of the limiting magnitude.
Returns:
the fainter limit of the limiting magnitude.