Interface ShapeType.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
FiducialSequence.Item, ShapeType.SimpleHolder
Enclosing class:
ShapeType

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

    • wrap

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

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

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

      default ShapeType getShapeType()
      Returns:
      the Shape Type (see ShapeType)
    • containsShapeType

      default boolean containsShapeType()
      Returns:
      Whether it contains the Shape Type (see ShapeType)
    • removeShapeType

      default void removeShapeType()
      Removes the Shape Type (see ShapeType