|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.acsinet_solutions.cetia4.data.SimpleIntKeyDTO
public class SimpleIntKeyDTO
Simple implementation of the IntKeyDTO interface
Derechos Reservados
| Constructor Summary | |
|---|---|
SimpleIntKeyDTO()
Default required constructor |
|
SimpleIntKeyDTO(java.lang.Integer id)
Convenience constructor |
|
| Method Summary | |
|---|---|
int |
compareTo(IntKeyDTO obj)
Overridable comparator method. |
SimpleIntKeyDTO |
copy()
Get a serialized copy of this object |
boolean |
equals(java.lang.Object obj)
equals() contract; as these are persistible objects, id comparison must suffice |
int |
getId()
Returns the id. |
int |
getVersion()
Returns the version. |
int |
hashCode()
hashCode() contract |
void |
setId(int id)
Sets the id. |
void |
setVersion(int version)
Sets the version. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleIntKeyDTO()
public SimpleIntKeyDTO(java.lang.Integer id)
| Method Detail |
|---|
public int getId()
getId in interface IntKeyDTOpublic int getVersion()
getVersion in interface IntKeyDTOpublic void setId(int id)
setId in interface IntKeyDTOid - The id to setpublic void setVersion(int version)
setVersion in interface IntKeyDTOversion - The version to setpublic SimpleIntKeyDTO copy()
copy in interface IntKeyDTOpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(IntKeyDTO obj)
compareTo in interface java.lang.Comparable<IntKeyDTO>Comparable.compareTo(Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||