com.acsinet_solutions.cetia4.data
Interface IntKeyDTO

All Superinterfaces:
java.lang.Comparable<IntKeyDTO>, java.io.Serializable
All Known Implementing Classes:
SimpleIntKeyDTO

public interface IntKeyDTO
extends java.io.Serializable, java.lang.Comparable<IntKeyDTO>

Basic interface for key DTOs

(c) 2004 ACSINET S.A. de C.V. Derechos Reservados

Author:
Santiago Arriaga

Method Summary
 IntKeyDTO copy()
          Get a serialized copy of this object
 int getId()
          Returns the id.
 int getVersion()
          Returns the version.
 void setId(int id)
          Sets the id.
 void setVersion(int version)
          Sets the version.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getId

int getId()
Returns the id.

Returns:
int

getVersion

int getVersion()
Returns the version.

Returns:
int

setId

void setId(int id)
Sets the id.

Parameters:
id - The id to set

setVersion

void setVersion(int version)
Sets the version.

Parameters:
version - The version to set

copy

IntKeyDTO copy()
Get a serialized copy of this object