|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.sdsc.inca.depot.persistent.PersistentObject edu.sdsc.inca.depot.persistent.ComparisonResult
public class ComparisonResult
Represents results of a comparison between accepted values and report output.
Field Summary |
---|
Fields inherited from class edu.sdsc.inca.depot.persistent.PersistentObject |
---|
DB_EMPTY_STRING, logger, MAX_DB_LONG_STRING_LENGTH, MAX_DB_STRING_LENGTH |
Constructor Summary | |
---|---|
ComparisonResult()
Default constructor. |
Method Summary | |
---|---|
PersistentObject |
fromBean(org.apache.xmlbeans.XmlObject o)
Copies information from an Inca schema XmlBean object so that this object contains equivalent information. |
java.lang.Long |
getId()
Retrieve the id -- null if not yet connected to database. |
java.lang.Long |
getReportId()
Get the id of the Report that was used in this comparison. |
java.lang.String |
getResult()
Return the result of the comparison in the DB. |
java.lang.Long |
getSeriesConfigId()
Get the id of the SeriesConfig that was used in this comparison. |
void |
setId(java.lang.Long id)
Set the id. |
void |
setReportId(java.lang.Long id)
Set the id of the report that was used in this comparison. |
void |
setResult(java.lang.String result)
Set the result of the comparison. |
void |
setSeriesConfigId(java.lang.Long id)
Set the id of the SeriesConfig that was used in this comparison. |
org.apache.xmlbeans.XmlObject |
toBean()
Returns a Inca schema XmlBean object that contains information equivalent to this object. |
java.lang.String |
toXml()
Returns XML that represents the information in this object. |
Methods inherited from class edu.sdsc.inca.depot.persistent.PersistentObject |
---|
truncate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComparisonResult()
Method Detail |
---|
public PersistentObject fromBean(org.apache.xmlbeans.XmlObject o)
fromBean
in class PersistentObject
o
- the XmlBean object to copy
public java.lang.Long getId()
public void setId(java.lang.Long id)
id
- The DB ID.public java.lang.String getResult()
public void setResult(java.lang.String result)
result
- the result of the comparisonpublic java.lang.Long getReportId()
public void setReportId(java.lang.Long id)
id
- the id of the report that was used in this comparisonpublic java.lang.Long getSeriesConfigId()
public void setSeriesConfigId(java.lang.Long id)
id
- the id of the SeriesConfig that was used in this comparisonpublic org.apache.xmlbeans.XmlObject toBean()
toBean
in class PersistentObject
public java.lang.String toXml()
toXml
in class PersistentObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |