org.eclipse.higgins.sync.to
Class BaseTO

java.lang.Object
  extended by org.eclipse.higgins.sync.to.BaseTO
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CaptchaTO, CardCategoryTO, CardCredentialTO, CardHistoryTO, CardsTO, CardTO, CmdExecStatusesTO, CommandsTO, UseAlwaysTO, UserProfileTO

public class BaseTO
extends Object
implements Serializable

Base transfer object. All resources should extend it.

Author:
Alexander Yuhimenko
See Also:
Serialized Form

Constructor Summary
BaseTO()
           
 
Method Summary
 String getId()
           
 RevisionTO getRevision()
           
 void setId(String id)
           
 void setRevision(RevisionTO revision)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseTO

public BaseTO()
Method Detail

getId

public String getId()
Returns:
the id

getRevision

public RevisionTO getRevision()
Returns:
the revision

setId

public void setId(String id)
Parameters:
id - the id to set

setRevision

public void setRevision(RevisionTO revision)
Parameters:
revision - the revision to set