bucket.core.persistence.hibernate
Class HibernateHandle

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

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

See Also:
Serialized Form

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

Constructor Detail

HibernateHandle

public HibernateHandle(java.lang.String handleString)
                throws java.text.ParseException
Throws:
java.text.ParseException

HibernateHandle

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

HibernateHandle

public HibernateHandle(java.lang.String className,
                       long id)
Method Detail

getClassName

public java.lang.String getClassName()

getId

public long getId()

toString

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

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2003-2014 Atlassian. All Rights Reserved.