Class QuantitySequence.Item
- java.lang.Object
-
- org.dcm4che.typeddicom.AbstractAttributesWrapper
-
- org.dcm4che.typeddicom.AbstractSequenceItemWrapper
-
- org.dcm4che.typeddicom.dataelements.QuantitySequence.Item
-
- All Implemented Interfaces:
org.dcm4che.typeddicom.AttributesWrapper,MeasuringUnitsSequence.Holder,Quantity.Holder
- Enclosing class:
- QuantitySequence
public static class QuantitySequence.Item extends org.dcm4che.typeddicom.AbstractSequenceItemWrapper implements Quantity.Holder, MeasuringUnitsSequence.Holder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuantitySequence.Item.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QuantitySequence.Item.Builderbuilder()static QuantitySequence.Item.Builderbuilder(org.dcm4che3.data.Attributes attributes)QuantitySequence.Itemcopy()Returns a new Quantity Sequence Item which wraps a copy of the Attributes wrapped in this Quantity Sequence.-
Methods inherited from class org.dcm4che.typeddicom.AbstractAttributesWrapper
equals, getAttributes, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Methods inherited from interface org.dcm4che.typeddicom.dataelements.MeasuringUnitsSequence.Holder
containsMeasuringUnitsSequence, ensureMeasuringUnitsSequence, ensureMeasuringUnitsSequence, getMeasuringUnitsSequence, newMeasuringUnitsSequence, removeMeasuringUnitsSequence
-
Methods inherited from interface org.dcm4che.typeddicom.dataelements.Quantity.Holder
containsQuantity, getQuantity, removeQuantity
-
-
-
-
Constructor Detail
-
Item
public Item(org.dcm4che3.data.Attributes attributes)
Creates a new Quantity Sequence Item object which wraps the providedattributes.- Parameters:
attributes- theAttributesobject to be wrapped.
-
Item
public Item()
Creates a new Quantity Sequence Item object which wraps a new and emptyAttributesobject.
-
-
Method Detail
-
builder
public static QuantitySequence.Item.Builder builder()
- Returns:
- a
QuantitySequence.Item.Builderto create Quantity Sequence Items with a fluent API.
-
builder
public static QuantitySequence.Item.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theQuantitySequence.Item.Builder.- Returns:
- a
QuantitySequence.Item.Builderto create Quantity Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
copy
public QuantitySequence.Item copy()
Returns a new Quantity Sequence Item which wraps a copy of the Attributes wrapped in this Quantity Sequence. (seeAttributes(Attributes)- Returns:
- a new Quantity Sequence Item which wraps a copy of the Attributes wrapped in this Quantity Sequence.
-
-