|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uoc.tfc.j2ee.icampanario.grepresenta.persistence.domain.EmpowermentDocumentKey
public class EmpowermentDocumentKey
Representa la clave primaria de la asociación de un documento y un apoderamiento
Constructor Summary | |
---|---|
EmpowermentDocumentKey()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object otherOb)
Metodo equals de esta clase |
java.lang.Long |
getIdDocument()
Devuelve el id del documento |
java.lang.Long |
getIdEmpowerment()
Devuelve el id del apoderamiento |
int |
hashCode()
Hashcode de esta clase |
void |
setIdDocument(java.lang.Long idDocument)
Modifica el id del documento |
void |
setIdEmpowerment(java.lang.Long idEmpowerment)
Modifica el id del apoderamiento |
java.lang.String |
toString()
toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EmpowermentDocumentKey()
Method Detail |
---|
public java.lang.Long getIdEmpowerment()
public void setIdEmpowerment(java.lang.Long idEmpowerment)
idEmpowerment
- nuevo id del apoderamientopublic java.lang.Long getIdDocument()
public void setIdDocument(java.lang.Long idDocument)
idDocument
- nuevo id del documentopublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object otherOb)
equals
in class java.lang.Object
otherOb
- objeto a comparar
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |