Interface Location.Holder

All Superinterfaces:
AttributesWrapper
Enclosing class:
Location

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

    • wrap

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

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

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

      default Location getLocation()
      Returns:
      the Location (see Location)
    • containsLocation

      default boolean containsLocation()
      Returns:
      Whether it contains the Location (see Location)
    • removeLocation

      default void removeLocation()
      Removes the Location (see Location