Class Entity.ReferencedEntity<T>

java.lang.Object
org.pdfsam.eventstudio.Entity.ReferencedEntity<T>
Type Parameters:
T -
All Implemented Interfaces:
Entity<T>
Enclosing interface:
Entity<T>

public static class Entity.ReferencedEntity<T> extends Object implements Entity<T>
Holds an entity referenced using the input Reference
  • Field Details

    • reference

      private final Reference<T> reference
  • Constructor Details

    • ReferencedEntity

      ReferencedEntity(Reference<T> reference)
  • Method Details

    • get

      public T get()
      Specified by:
      get in interface Entity<T>
      Returns:
      the instance or null if nothing is available