Interface Optotype.Holder

All Superinterfaces:
AttributesWrapper
All Known Subinterfaces:
VisualAcuityMeasurementsModule
All Known Implementing Classes:
Optotype.SimpleHolder, VisualAcuityMeasurementsIOD
Enclosing class:
Optotype

public static interface Optotype.Holder extends AttributesWrapper
A class implementing this interface can hold attributes which contain the DICOM tag "Optotype" (see Optotype)
  • Method Details

    • wrap

      static Optotype.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Optotype (see Optotype)
      Returns:
      A wrapper object implementing the Optotype.Holder interface.
    • builder

      static Optotype.Holder.Builder builder()
      Returns:
      a Optotype.Holder.Builder to create Optotype Items with a fluent API.
    • builder

      static Optotype.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - The Attributes to be wrapped by the Optotype.Holder.Builder.
      Returns:
      a Optotype.Holder.Builder to create Optotype Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
    • getOptotype

      default Optotype getOptotype()
      Returns:
      the Optotype (see Optotype)
    • containsOptotype

      default boolean containsOptotype()
      Returns:
      Whether it contains the Optotype (see Optotype)
    • removeOptotype

      default void removeOptotype()
      Removes the Optotype (see Optotype