ix.icore
Class Report
java.lang.Object
ix.icore.AbstractAnnotatedObject
ix.icore.AbstractIXObject
ix.icore.Report
- All Implemented Interfaces:
- Annotated, IXObject, Sendable, java.io.Serializable, java.lang.Cloneable
public class Report
- extends AbstractIXObject
- implements java.io.Serializable, java.lang.Cloneable, Sendable
A report sent from another agent.
- See Also:
- Serialized Form
Methods inherited from class ix.icore.AbstractAnnotatedObject |
addAnnotationListener, annMap, clearAnnotations, fireSetAnnotation, getAnnotation, getAnnotations, getComments, makeAnnMap, removeAnnotation, setAnnotation, setAnnotations, setComments, takeAnnotations |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
text
protected java.lang.String text
reportType
protected ReportType reportType
priority
protected Priority priority
senderId
protected Name senderId
ref
protected Name ref
Report
public Report()
Report
public Report(java.lang.String text)
Report
public Report(ReportType type,
java.lang.String text)
getText
public java.lang.String getText()
setText
public void setText(java.lang.String text)
getReportType
public ReportType getReportType()
setReportType
public void setReportType(ReportType type)
getPriority
public Priority getPriority()
setPriority
public void setPriority(Priority priority)
getSenderId
public Name getSenderId()
- Specified by:
getSenderId
in interface Sendable
setSenderId
public void setSenderId(Name id)
- Specified by:
setSenderId
in interface Sendable
getRef
public Name getRef()
setRef
public void setRef(Name ref)
isCompletion
public boolean isCompletion()
isSuccess
public boolean isSuccess()
isFailure
public boolean isFailure()
isProgress
public boolean isProgress()
getConstraints
public java.util.List getConstraints()
setConstraints
public void setConstraints(java.util.List cons)
addConstraint
public void addConstraint(Constraint c)
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Specified by:
clone
in interface Sendable
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object