net.dontdrinkandroot.persistence.entity
Class AbstractGeneratedIdEntity<T>

java.lang.Object
  extended by net.dontdrinkandroot.persistence.entity.AbstractEntity<T>
      extended by net.dontdrinkandroot.persistence.entity.AbstractGeneratedIdEntity<T>
All Implemented Interfaces:
java.io.Serializable, Entity<T>

@MappedSuperclass
public abstract class AbstractGeneratedIdEntity<T>
extends AbstractEntity<T>

See Also:
Serialized Form

Constructor Summary
AbstractGeneratedIdEntity()
           
 
Method Summary
 T getId()
          Get the primary key of the entity.
 
Methods inherited from class net.dontdrinkandroot.persistence.entity.AbstractEntity
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractGeneratedIdEntity

public AbstractGeneratedIdEntity()
Method Detail

getId

public T getId()
Description copied from interface: Entity
Get the primary key of the entity.



Copyright © 2013 dontdrinkandroot. All Rights Reserved.