ma.glasnost.orika.test.community.issue21
Class BaseEntity

java.lang.Object
  extended by ma.glasnost.orika.test.community.issue21.BaseEntity
Direct Known Subclasses:
Authority, User, UserGroup

@MappedSuperclass
public abstract class BaseEntity
extends Object

Author:
Dmitriy Khomyakov, matt.deboer@gmail.com

Constructor Summary
BaseEntity()
           
 
Method Summary
 boolean equals(Object o)
           
 Long getId()
           
 Long getVersion()
           
 int hashCode()
           
 boolean isNew()
           
 void setId(Long id)
           
 void setVersion(Long version)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseEntity

public BaseEntity()
Method Detail

getId

public Long getId()

setId

public void setId(Long id)

getVersion

public Long getVersion()

setVersion

public void setVersion(Long version)

isNew

public boolean isNew()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 Glasnost. All Rights Reserved.