Interface ExposureSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
RTImageModule
- All Known Implementing Classes:
RTImageIOD,RTImageModule.SimpleWrapper
- Enclosing class:
- ExposureSequence
public static interface ExposureSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Exposure Sequence" (seeExposureSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classExposureSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ExposureSequence.Holder.Builderbuilder()static ExposureSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsExposureSequence()default ExposureSequenceensureExposureSequence()Adds a new Exposure Sequence (seeExposureSequence) with initial capacity 1 (seeensureExposureSequence(int)) if it does not already exist.default ExposureSequenceensureExposureSequence(int initialCapacity)Adds a new Exposure Sequence (seeExposureSequence) if it does not already exist.default ExposureSequencegetExposureSequence()default ExposureSequencenewExposureSequence(int initialCapacity)Adds a new Exposure Sequence.default voidremoveExposureSequence()Removes the Exposure Sequence (seeExposureSequencestatic ExposureSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static ExposureSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Exposure Sequence (seeExposureSequence)- Returns:
- a wrapper object implementing the
ExposureSequence.Holderinterface.
-
builder
static ExposureSequence.Holder.Builder builder()
- Returns:
- a
ExposureSequence.Holder.Builderto create Exposure Sequence Items with a fluent API.
-
builder
static ExposureSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theExposureSequence.Holder.Builder.- Returns:
- a
ExposureSequence.Holder.Builderto create Exposure Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getExposureSequence
default ExposureSequence getExposureSequence()
- Returns:
- the Exposure Sequence (see
ExposureSequence)
-
newExposureSequence
default ExposureSequence newExposureSequence(int initialCapacity)
Adds a new Exposure Sequence. (seeExposureSequence)- Parameters:
initialCapacity- the initial capacity for the new Exposure Sequence- Returns:
- the newly created ExposureSequence.
-
ensureExposureSequence
default ExposureSequence ensureExposureSequence(int initialCapacity)
Adds a new Exposure Sequence (seeExposureSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Exposure Sequence is created.- Returns:
- either the already existing Exposure Sequence (see
ExposureSequence) or a new one with capacityinitialCapacity.
-
ensureExposureSequence
default ExposureSequence ensureExposureSequence()
Adds a new Exposure Sequence (seeExposureSequence) with initial capacity 1 (seeensureExposureSequence(int)) if it does not already exist.- Returns:
- either the already existing Exposure Sequence (see
ExposureSequence) or a new one with capacity 1.
-
containsExposureSequence
default boolean containsExposureSequence()
- Returns:
- whether it contains the Exposure Sequence (see
ExposureSequence)
-
removeExposureSequence
default void removeExposureSequence()
Removes the Exposure Sequence (seeExposureSequence
-
-