org.opensync.engine.server
Class Return

java.lang.Object
  extended byorg.opensync.engine.server.Return
All Implemented Interfaces:
java.io.Serializable

public class Return
extends java.lang.Object
implements java.io.Serializable

This class indicate if the source gives information after synchronization

See Also:
Serialized Form

Field Summary
static java.lang.String TYPE_DUMB
          The source gives information
static java.lang.String TYPE_VERBOSE
          The source don't give information
 
Constructor Summary
Return()
          Construct a Return object
 
Method Summary
 java.lang.String getTimeOut()
          Get the time-out
 java.lang.String getType()
          Get the type of the return ojbect
 java.lang.String getUnit()
          Get the unit time-out (s | m | h)
 void setTimeOut(java.lang.String timeOut)
          Set the time-out
 void setType(java.lang.String type)
          Set the type of the return ojbect
 void setUnit(java.lang.String unit)
          Set the unit time-out (s | m | h)
 java.lang.String toString()
          Use for debug only
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_VERBOSE

public static final java.lang.String TYPE_VERBOSE
The source don't give information

See Also:
Constant Field Values

TYPE_DUMB

public static final java.lang.String TYPE_DUMB
The source gives information

See Also:
Constant Field Values
Constructor Detail

Return

public Return()
Construct a Return object

Method Detail

setType

public void setType(java.lang.String type)
Set the type of the return ojbect

Parameters:
type - the type of the return object

getType

public java.lang.String getType()
Get the type of the return ojbect


setTimeOut

public void setTimeOut(java.lang.String timeOut)
Set the time-out

Parameters:
timeOut - the time-out

getTimeOut

public java.lang.String getTimeOut()
Get the time-out


setUnit

public void setUnit(java.lang.String unit)
Set the unit time-out (s | m | h)

Parameters:
unit - the unit

getUnit

public java.lang.String getUnit()
Get the unit time-out (s | m | h)


toString

public java.lang.String toString()
Use for debug only



Copyright © 2004 sourceforge. All Rights Reserved.