Package com.atlassian.bonnie
Interface Handle
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
HibernateHandle
,HibernateHandle
,SpaceKeyHandle
,TransientHibernateHandle
public interface Handle extends Serializable
A token by which the AnyTypeObjectDao (for example) can resolve any persistent object. Handle is marker-interface with no required methods, but implementors must follow the contract for thetoString
method.Handles are used to represent persistent objects in places such as the full-search index, providing a way to go back from some text representation to a full object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
toString()
ThetoString()
method of a Handle must be written so that the AnyTypeObjectDao (for example) can resolve the String representation of a Handle back to a Handle object, and thus find the referenced object
-
-
-
Method Detail
-
toString
String toString()
ThetoString()
method of a Handle must be written so that the AnyTypeObjectDao (for example) can resolve the String representation of a Handle back to a Handle object, and thus find the referenced object
-
-