bucket.core.persistence.hibernate
Class HibernateHandle

java.lang.Object
  extended by bucket.core.persistence.hibernate.HibernateHandle
All Implemented Interfaces:
com.atlassian.bonnie.Handle, Serializable

public class HibernateHandle
extends Object
implements com.atlassian.bonnie.Handle

See Also:
Serialized Form

Constructor Summary
HibernateHandle(com.atlassian.bonnie.Searchable searchable)
           
HibernateHandle(String handleString)
           
HibernateHandle(String className, long id)
           
 
Method Summary
 boolean equals(Object o)
           
 String getClassName()
           
 long getId()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HibernateHandle

public HibernateHandle(String handleString)
                throws ParseException
Throws:
ParseException

HibernateHandle

public HibernateHandle(com.atlassian.bonnie.Searchable searchable)

HibernateHandle

public HibernateHandle(String className,
                       long id)
Method Detail

getClassName

public String getClassName()

getId

public long getId()

toString

public String toString()
Specified by:
toString in interface com.atlassian.bonnie.Handle
Overrides:
toString in class Object

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2003-2011 Atlassian. All Rights Reserved.