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. |
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 |
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.
XmlReportQueryCondition
public XmlReportQueryCondition()
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.