org.zeroexchange.model
Class StringPKPersistent
java.lang.Object
org.zeroexchange.model.Persistent
org.zeroexchange.model.StringPKPersistent
- All Implemented Interfaces:
- Serializable, Identifiable<String>
- Direct Known Subclasses:
- City, Country, Dictionary, PropertyType, Role
@MappedSuperclass
public class StringPKPersistent
- extends Persistent
- implements Identifiable<String>
Base class for persistent entities with string primary key.
- Author:
- black
- See Also:
- Serialized Form
FIELD_ID
public static final String FIELD_ID
- See Also:
- Constant Field Values
StringPKPersistent
public StringPKPersistent()
getId
public String getId()
- Specified by:
getId
in interface Identifiable<String>
setId
public void setId(String id)
- Specified by:
setId
in interface Identifiable<String>
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.