Class SpringDataEclipseStoreLazy.Default<T>

java.lang.Object
software.xdev.spring.data.eclipse.store.repository.lazy.SpringDataEclipseStoreLazy.Default<T>
Type Parameters:
T - the type of the lazily referenced element
All Implemented Interfaces:
org.eclipse.serializer.reference.Lazy<T>, org.eclipse.serializer.reference.Referencing<T>, SpringDataEclipseStoreLazy<T>
Enclosing interface:
SpringDataEclipseStoreLazy<T>

public static final class SpringDataEclipseStoreLazy.Default<T> extends Object implements SpringDataEclipseStoreLazy<T>
This class is very complex and its various member variables all have their reason to exist. This code is very difficult to read due to its the functionality explained in the SpringDataEclipseStoreLazyBinaryHandler.
  • Method Details

    • get

      public T get()
      Specified by:
      get in interface org.eclipse.serializer.reference.Lazy<T>
      Specified by:
      get in interface org.eclipse.serializer.reference.Referencing<T>
    • peek

      public T peek()
      Specified by:
      peek in interface org.eclipse.serializer.reference.Lazy<T>
    • clear

      public T clear()
      Specified by:
      clear in interface org.eclipse.serializer.reference.Lazy<T>
    • forceClear

      public T forceClear()
      Specified by:
      forceClear in interface org.eclipse.serializer.reference.Lazy<T>
    • isStored

      public boolean isStored()
      Specified by:
      isStored in interface org.eclipse.serializer.reference.Lazy<T>
    • isLoaded

      public boolean isLoaded()
      Specified by:
      isLoaded in interface org.eclipse.serializer.reference.Lazy<T>
    • lastTouched

      public long lastTouched()
      Specified by:
      lastTouched in interface org.eclipse.serializer.reference.Lazy<T>
    • clear

      public boolean clear(org.eclipse.serializer.reference.Lazy.ClearingEvaluator clearingEvaluator)
      Specified by:
      clear in interface org.eclipse.serializer.reference.Lazy<T>
    • objectId

      public long objectId()
      Specified by:
      objectId in interface SpringDataEclipseStoreLazy<T>
    • getObjectToBeWrapped

      public T getObjectToBeWrapped()
    • copyWithReference

      public SpringDataEclipseStoreLazy<T> copyWithReference()
      Specified by:
      copyWithReference in interface SpringDataEclipseStoreLazy<T>
    • unlink

      public void unlink()
      Specified by:
      unlink in interface SpringDataEclipseStoreLazy<T>
    • isOriginalObject

      public boolean isOriginalObject()
      Specified by:
      isOriginalObject in interface SpringDataEclipseStoreLazy<T>