|
|||||||||
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.Report
public class Report
This class represents the output from a Single Reporter.
Field Summary |
---|
Fields inherited from class edu.sdsc.inca.depot.persistent.PersistentObject |
---|
DB_EMPTY_STRING, MAX_DB_LONG_STRING_LENGTH, MAX_DB_STRING_LENGTH |
Constructor Summary | |
---|---|
Report()
Default constructor. |
|
Report(java.lang.Boolean exit_status,
java.lang.String exit_message,
java.lang.String body,
Series series)
Full constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compares another object to this Report for logical equality. |
Report |
fromBean(edu.sdsc.inca.dataModel.util.Report r)
Copies information from an Inca schema XmlBean Report object so that this object contains equivalent information. |
PersistentObject |
fromBean(org.apache.xmlbeans.XmlObject o)
Copies information from an Inca schema XmlBean Report object so that this object contains equivalent information. |
java.lang.String |
getBody()
Retrieve the body of this report as an XML string. |
java.lang.String |
getBodypart1()
Retrieve the first part of the body of this report. |
java.lang.String |
getBodypart2()
Retrieve the second part of the body of this report. |
java.lang.String |
getBodypart3()
Retrieve the third part of the body of this report. |
java.lang.String |
getExit_message()
Retrieve the exit message of this report. |
java.lang.Boolean |
getExit_status()
Retrieve the exit status of this report. |
java.lang.Long |
getId()
Retrieve the id -- null if not yet connected to database. |
RunInfo |
getRunInfo()
Get the RunInfo associated with this Report. |
Series |
getSeries()
Get the Series that this report is part of. |
java.lang.String |
getStderr()
Retrieve the contents of STDERR output by the reporter. |
int |
hashCode()
|
void |
setBody(java.lang.String body)
Set the body of this report. |
void |
setBodypart1(java.lang.String bodypart)
Set the second part of the body of this report. |
void |
setBodypart2(java.lang.String bodypart)
Set the second part of the body of this report. |
void |
setBodypart3(java.lang.String bodypart)
Set the third part of the body of this report. |
void |
setExit_message(java.lang.String exit_message)
Set the exit message of this report. |
void |
setExit_status(java.lang.Boolean exit_status)
Set the exit status of this report. |
void |
setId(java.lang.Long id)
Set the id. |
void |
setRunInfo(RunInfo runInfo)
Set the RunInfo associated with this Report. |
void |
setSeries(Series series)
set the report series that this report is part of. |
void |
setStderr(java.lang.String stderr)
Set the contents of stderr -- can be used for querying or by Hibernate. |
org.apache.xmlbeans.XmlObject |
toBean()
Returns a Inca schema XmlBean Report object that contains information equivalent to this object. |
Methods inherited from class edu.sdsc.inca.depot.persistent.PersistentObject |
---|
toXml, truncate |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Report()
public Report(java.lang.Boolean exit_status, java.lang.String exit_message, java.lang.String body, Series series)
exit_status
- the exist_status of the runexit_message
- the exit_message of the runbody
- the body is the bulk of the resultsseries
- which series does this report belong to?Method Detail |
---|
public PersistentObject fromBean(org.apache.xmlbeans.XmlObject o)
fromBean
in class PersistentObject
o
- the XmlBean Report object to copy
public Report fromBean(edu.sdsc.inca.dataModel.util.Report r)
r
- the XmlBean Report object to copy
public java.lang.Long getId()
public void setId(java.lang.Long id)
id
- The DB ID.public java.lang.Boolean getExit_status()
public void setExit_status(java.lang.Boolean exit_status)
exit_status
- true for pass false for failpublic java.lang.String getExit_message()
public void setExit_message(java.lang.String exit_message)
exit_message
- the text of the exit messagepublic java.lang.String getBody()
public void setBody(java.lang.String body)
body
- xml body of reportpublic java.lang.String getBodypart1()
public void setBodypart1(java.lang.String bodypart)
public java.lang.String getBodypart2()
public void setBodypart2(java.lang.String bodypart)
public java.lang.String getBodypart3()
public void setBodypart3(java.lang.String bodypart)
public Series getSeries()
public void setSeries(Series series)
series
- the Series this report belongs topublic RunInfo getRunInfo()
public void setRunInfo(RunInfo runInfo)
runInfo
- the RunInfo this report belongs topublic java.lang.String getStderr()
public void setStderr(java.lang.String stderr)
stderr
- contents of stderrpublic org.apache.xmlbeans.XmlObject toBean()
toBean
in class PersistentObject
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to compare
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |