org.zeroexchange.model
Class IntegerPKPersistent

java.lang.Object
  extended by org.zeroexchange.model.Persistent
      extended by org.zeroexchange.model.IntegerPKPersistent
All Implemented Interfaces:
Serializable, Identifiable<Integer>
Direct Known Subclasses:
Assessment, Category, CHECreditStatus, CHEPayment, Contract, Credential, CreditLine, DictionaryItem, Invitation, LocalizableValueEntry, Message, Property, PropertySpecification, Resource, ResourceTender, Skill, Strings, User, Value

@MappedSuperclass
public class IntegerPKPersistent
extends Persistent
implements Identifiable<Integer>

Persistent with integer primary key.

Author:
black
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.zeroexchange.model.Identifiable
FIELD_ID
 
Constructor Summary
IntegerPKPersistent()
           
 
Method Summary
 boolean equals(Object obj)
           
 Integer getId()
           
 int hashCode()
           
 void setId(Integer id)
           
 
Methods inherited from class org.zeroexchange.model.Persistent
getTransientValues
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerPKPersistent

public IntegerPKPersistent()
Method Detail

getId

public Integer getId()
Specified by:
getId in interface Identifiable<Integer>

setId

public void setId(Integer id)
Specified by:
setId in interface Identifiable<Integer>

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2013. All Rights Reserved.