nl.surfnet.coin.shared.domain
Class DomainObject

java.lang.Object
  extended by nl.surfnet.coin.shared.domain.DomainObject
All Implemented Interfaces:
Serializable

public abstract class DomainObject
extends Object
implements Serializable

Base domain object

See Also:
Serialized Form

Constructor Summary
DomainObject()
           
 
Method Summary
 boolean equals(Object other)
           
 Long getId()
           
 int hashCode()
           
 void setId(Long id)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DomainObject

public DomainObject()
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

getId

public Long getId()
Returns:
the id

setId

public void setId(Long id)
Parameters:
id - the id to set

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009–2013 SURFnet bv, The Netherlands. All rights reserved.