com.opnworks.cbo
Interface IPersistent

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IOrganization, IParty, IPerson, IStreetAddress
All Known Implementing Classes:
ActivityType, Comment, Contact, CostCenter, Invoice, Organization, Party, Person, Project, StreetAddress, Timesheet, TimesheetLineItem, TimesheetSystemConfiguration, Week

public interface IPersistent
extends java.io.Serializable

Description of the Class

Author:
Laurent

Method Summary
 java.lang.Long getId()
          Gets the Id attribute of the IPersistent object
 int getVersion()
           
 void setId(java.lang.Long id)
          Sets the Id attribute of the IPersistent object
 void setVersion(int version)
           
 

Method Detail

getId

public java.lang.Long getId()
Gets the Id attribute of the IPersistent object

Returns:
The Id value

setId

public void setId(java.lang.Long id)
Sets the Id attribute of the IPersistent object

Parameters:
id - The new Id value

getVersion

public int getVersion()
Returns:

setVersion

public void setVersion(int version)
Parameters:
version - The new Version value