org.ektorp.support
Class Entity
java.lang.Object
org.ektorp.support.CouchDbDocument
org.ektorp.support.Entity
- All Implemented Interfaces:
- Serializable
public class Entity
- extends CouchDbDocument
- implements Serializable
Support class for domain entities.
Enforces strict control of the id attribute and implements equals and hashCode that only considers id for equality.
- Author:
- henrik lundgren
- See Also:
- Serialized Form
Methods inherited from class org.ektorp.support.CouchDbDocument |
addInlineAttachment, getAttachments, getConflicts, getId, getRevision, getRevisions, hasConflict, isNew, removeAttachment, setId, setRevision |
Entity
public Entity()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2011. All Rights Reserved.