Interface ExposureDoseSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ExposureDoseSequence.SimpleHolder
- Enclosing class:
- ExposureDoseSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Exposure Dose Sequence" (see
ExposureDoseSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault ExposureDoseSequenceAdds a new Exposure Dose Sequence (seeExposureDoseSequence) with initial capacity 1 (seeensureExposureDoseSequence(int)) if it does not already exist.default ExposureDoseSequenceensureExposureDoseSequence(int initialCapacity) Adds a new Exposure Dose Sequence (seeExposureDoseSequence) if it does not already exist.default ExposureDoseSequencedefault ExposureDoseSequencenewExposureDoseSequence(int initialCapacity) Adds a new Exposure Dose Sequence.default voidRemoves the Exposure Dose Sequence (seeExposureDoseSequencestatic ExposureDoseSequence.Holderwrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Exposure Dose Sequence (seeExposureDoseSequence)- Returns:
- A wrapper object implementing the
ExposureDoseSequence.Holderinterface.
-
builder
- Returns:
- a
ExposureDoseSequence.Holder.Builderto create Exposure Dose Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theExposureDoseSequence.Holder.Builder.- Returns:
- a
ExposureDoseSequence.Holder.Builderto create Exposure Dose Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getExposureDoseSequence
- Returns:
- the Exposure Dose Sequence (see
ExposureDoseSequence)
-
newExposureDoseSequence
Adds a new Exposure Dose Sequence. (seeExposureDoseSequence)- Parameters:
initialCapacity- the initial capacity for the new Exposure Dose Sequence
-
ensureExposureDoseSequence
Adds a new Exposure Dose Sequence (seeExposureDoseSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Exposure Dose Sequence is created.- Returns:
- Either the already existing Exposure Dose Sequence (see
ExposureDoseSequence) or a new one with capacityinitialCapacity.
-
ensureExposureDoseSequence
Adds a new Exposure Dose Sequence (seeExposureDoseSequence) with initial capacity 1 (seeensureExposureDoseSequence(int)) if it does not already exist.- Returns:
- Either the already existing Exposure Dose Sequence (see
ExposureDoseSequence) or a new one with capacity 1.
-
containsExposureDoseSequence
default boolean containsExposureDoseSequence()- Returns:
- Whether it contains the Exposure Dose Sequence (see
ExposureDoseSequence)
-
removeExposureDoseSequence
default void removeExposureDoseSequence()Removes the Exposure Dose Sequence (seeExposureDoseSequence
-