ix.icore
Class TaskItem
java.lang.Object
|
+--ix.icore.AbstractIXObject
|
+--ix.icore.TaskItem
- All Implemented Interfaces:
- Annotated, java.lang.Cloneable, IXObject, Sendable, java.io.Serializable
- Direct Known Subclasses:
- Activity, Issue
- public abstract class TaskItem
- extends AbstractIXObject
- implements java.io.Serializable, java.lang.Cloneable, Sendable
Something an agent might be asked to do or to handle. Essentially
this class is just to hold what Issues and Activities have in common,
which at this level is almost everything.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pattern
protected LList pattern
status
protected Status status
priority
protected Priority priority
id
protected Name id
senderId
protected Name senderId
ref
protected Name ref
reportBack
protected YesNo reportBack
shortDescription
protected java.lang.String shortDescription
patternVars
protected java.util.Set patternVars
TaskItem
protected TaskItem()
TaskItem
protected TaskItem(LList pattern)
getPattern
public LList getPattern()
setPattern
public void setPattern(LList pattern)
getVerb
public java.lang.Object getVerb()
getParameters
public LList getParameters()
getShortDescription
public java.lang.String getShortDescription()
getPatternVars
public java.util.Set getPatternVars()
getUnboundVars
public java.util.Set getUnboundVars()
getId
public Name getId()
generateId
public abstract Name generateId()
getStatus
public Status getStatus()
setStatus
public void setStatus(Status status)
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)
getReportBack
public YesNo getReportBack()
setReportBack
public void setReportBack(YesNo rep)
forwardTo
public void forwardTo(java.lang.Object destination,
boolean reportBack)
- Sends a copy of this item to another agent, optionally asking
the destination agent to send reports back.
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Specified by:
clone
in interface Sendable
- Overrides:
clone
in class java.lang.Object