ma.glasnost.orika.test.community.issue20
Class BaseDto

java.lang.Object
  extended by ma.glasnost.orika.test.community.issue20.BaseDto
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UserDto, UserGroupDto, UserInfo

public abstract class BaseDto
extends Object
implements Serializable

Author:
Dmitriy Khomyakov, matt.deboer@gmail.com
See Also:
Serialized Form

Constructor Summary
BaseDto()
           
 
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

BaseDto

public BaseDto()
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.