Package com.db4o.internal.references
Class HashcodeReferenceSystem
- java.lang.Object
-
- com.db4o.internal.references.HashcodeReferenceSystem
-
- All Implemented Interfaces:
ReferenceSystem
public class HashcodeReferenceSystem extends java.lang.Object implements ReferenceSystem
-
-
Constructor Summary
Constructors Constructor Description HashcodeReferenceSystem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addExistingReference(ObjectReference ref)
void
addNewReference(ObjectReference ref)
void
commit()
void
discarded()
ObjectReference
referenceForId(int id)
ObjectReference
referenceForObject(java.lang.Object obj)
void
removeReference(ObjectReference ref)
void
rollback()
java.lang.String
toString()
void
traverseReferences(Visitor4 visitor)
-
-
-
Method Detail
-
addNewReference
public void addNewReference(ObjectReference ref)
- Specified by:
addNewReference
in interfaceReferenceSystem
-
addExistingReference
public void addExistingReference(ObjectReference ref)
- Specified by:
addExistingReference
in interfaceReferenceSystem
-
commit
public void commit()
- Specified by:
commit
in interfaceReferenceSystem
-
referenceForId
public ObjectReference referenceForId(int id)
- Specified by:
referenceForId
in interfaceReferenceSystem
-
referenceForObject
public ObjectReference referenceForObject(java.lang.Object obj)
- Specified by:
referenceForObject
in interfaceReferenceSystem
-
removeReference
public void removeReference(ObjectReference ref)
- Specified by:
removeReference
in interfaceReferenceSystem
-
rollback
public void rollback()
- Specified by:
rollback
in interfaceReferenceSystem
-
traverseReferences
public void traverseReferences(Visitor4 visitor)
- Specified by:
traverseReferences
in interfaceReferenceSystem
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
discarded
public void discarded()
- Specified by:
discarded
in interfaceReferenceSystem
-
-