Interface Quantity.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
Quantity.SimpleHolder,QuantitySequence.Item
- Enclosing class:
- Quantity
public static interface Quantity.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Quantity" (seeQuantity)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classQuantity.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static Quantity.Holder.Builderbuilder()static Quantity.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsQuantity()default QuantitygetQuantity()default voidremoveQuantity()Removes the Quantity (seeQuantitystatic Quantity.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static Quantity.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Quantity (seeQuantity)- Returns:
- a wrapper object implementing the
Quantity.Holderinterface.
-
builder
static Quantity.Holder.Builder builder()
- Returns:
- a
Quantity.Holder.Builderto create Quantity Items with a fluent API.
-
builder
static Quantity.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theQuantity.Holder.Builder.- Returns:
- a
Quantity.Holder.Builderto create Quantity Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
containsQuantity
default boolean containsQuantity()
- Returns:
- whether it contains the Quantity (see
Quantity)
-
removeQuantity
default void removeQuantity()
Removes the Quantity (seeQuantity
-
-