|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.mn.communicator.AbstractStatus
public abstract class AbstractStatus
The abstact status implementation that is common for LocalStatus and RemoteStatus.
Created on 2004-12-21
| Constructor Summary | |
|---|---|
protected |
AbstractStatus(StatusType statusType)
|
protected |
AbstractStatus(StatusType statusType,
java.lang.String description)
|
protected |
AbstractStatus(StatusType statusType,
java.lang.String description,
java.util.Date returnDate)
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Returns the description. |
java.util.Date |
getReturnDate()
Get the return date. |
StatusType |
getStatusType()
Get the StatusType. |
boolean |
isDescriptionSet()
Tells if the description has been set on this status. |
boolean |
isReturnDateSet()
Tells if the return date has been set on this status instance. |
void |
setDescription(java.lang.String description)
|
void |
setReturnDate(java.util.Date returnTime)
|
void |
setStatusType(StatusType status)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractStatus(StatusType statusType,
java.lang.String description,
java.util.Date returnDate)
protected AbstractStatus(StatusType statusType,
java.lang.String description)
protected AbstractStatus(StatusType statusType)
| Method Detail |
|---|
public StatusType getStatusType()
IStatus
getStatusType in interface IStatusIStatus.getStatusType()public void setStatusType(StatusType status)
setStatusType in interface IStatuspublic java.lang.String getDescription()
getDescription in interface IStatusString description as string.public void setDescription(java.lang.String description)
setDescription in interface IStatusdescription - the description to set.public java.util.Date getReturnDate()
IStatus
getReturnDate in interface IStatusDate the return time.public void setReturnDate(java.util.Date returnTime)
setReturnDate in interface IStatusreturnTime - The return time to set.public boolean isDescriptionSet()
IStatus
isDescriptionSet in interface IStatustrue if the description has been set, false otherwise.IStatus.isDescriptionSet()public boolean isReturnDateSet()
IStatus
isReturnDateSet in interface IStatustrue if the return date has been set, false otherwise.IStatus.isReturnDateSet()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||