pl.mn.communicator
Interface IStatus

All Known Subinterfaces:
ILocalStatus, IRemoteStatus
All Known Implementing Classes:
AbstractStatus, LocalStatus, RemoteStatus

public interface IStatus

Interface that is common for all statuses, that is local and remote.

Created on 2004-12-12

Version:
$Id: IStatus.java,v 1.1 2005/11/05 23:34:52 winnetou25 Exp $
Author:
Mateusz Szczap

Method Summary
 java.lang.String getDescription()
          Get the status 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)
           
 

Method Detail

getStatusType

StatusType getStatusType()
Get the StatusType.

Returns:
StatusType

setStatusType

void setStatusType(StatusType status)

getDescription

java.lang.String getDescription()
Get the status description.

Returns:
description of status.

setDescription

void setDescription(java.lang.String description)
Parameters:
description - the description to set.

getReturnDate

java.util.Date getReturnDate()
Get the return date.

Returns:
the return date.

setReturnDate

void setReturnDate(java.util.Date returnTime)
Parameters:
returnTime - The return time to set.

isDescriptionSet

boolean isDescriptionSet()
Tells if the description has been set on this status.

Returns:
true if the description has been set, false otherwise.

isReturnDateSet

boolean isReturnDateSet()
Tells if the return date has been set on this status instance.

Returns:
true if the return date has been set, false otherwise.


Copyright 2004-2004-2005 SourceForge.net. All Rights Reserved.