Interface ExposureControlSensingRegionsSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ExposureControlSensingRegionsSequence.SimpleHolder
- Enclosing class:
- ExposureControlSensingRegionsSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Exposure Control Sensing Regions Sequence" (see
ExposureControlSensingRegionsSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Exposure Control Sensing Regions Sequence (seeExposureControlSensingRegionsSequence) with initial capacity 1 (seeensureExposureControlSensingRegionsSequence(int)) if it does not already exist.ensureExposureControlSensingRegionsSequence(int initialCapacity) Adds a new Exposure Control Sensing Regions Sequence (seeExposureControlSensingRegionsSequence) if it does not already exist.newExposureControlSensingRegionsSequence(int initialCapacity) Adds a new Exposure Control Sensing Regions Sequence.default voidRemoves the Exposure Control Sensing Regions Sequence (seeExposureControlSensingRegionsSequencewrap(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 Control Sensing Regions Sequence (seeExposureControlSensingRegionsSequence)- Returns:
- A wrapper object implementing the
ExposureControlSensingRegionsSequence.Holderinterface.
-
builder
- Returns:
- a
ExposureControlSensingRegionsSequence.Holder.Builderto create Exposure Control Sensing Regions Sequence Items with a fluent API.
-
builder
static ExposureControlSensingRegionsSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theExposureControlSensingRegionsSequence.Holder.Builder.- Returns:
- a
ExposureControlSensingRegionsSequence.Holder.Builderto create Exposure Control Sensing Regions Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getExposureControlSensingRegionsSequence
- Returns:
- the Exposure Control Sensing Regions Sequence (see
ExposureControlSensingRegionsSequence)
-
newExposureControlSensingRegionsSequence
default ExposureControlSensingRegionsSequence newExposureControlSensingRegionsSequence(int initialCapacity) Adds a new Exposure Control Sensing Regions Sequence. (seeExposureControlSensingRegionsSequence)- Parameters:
initialCapacity- the initial capacity for the new Exposure Control Sensing Regions Sequence
-
ensureExposureControlSensingRegionsSequence
default ExposureControlSensingRegionsSequence ensureExposureControlSensingRegionsSequence(int initialCapacity) Adds a new Exposure Control Sensing Regions Sequence (seeExposureControlSensingRegionsSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Exposure Control Sensing Regions Sequence is created.- Returns:
- Either the already existing Exposure Control Sensing Regions Sequence (see
ExposureControlSensingRegionsSequence) or a new one with capacityinitialCapacity.
-
ensureExposureControlSensingRegionsSequence
Adds a new Exposure Control Sensing Regions Sequence (seeExposureControlSensingRegionsSequence) with initial capacity 1 (seeensureExposureControlSensingRegionsSequence(int)) if it does not already exist.- Returns:
- Either the already existing Exposure Control Sensing Regions Sequence (see
ExposureControlSensingRegionsSequence) or a new one with capacity 1.
-
containsExposureControlSensingRegionsSequence
default boolean containsExposureControlSensingRegionsSequence()- Returns:
- Whether it contains the Exposure Control Sensing Regions Sequence (see
ExposureControlSensingRegionsSequence)
-
removeExposureControlSensingRegionsSequence
default void removeExposureControlSensingRegionsSequence()Removes the Exposure Control Sensing Regions Sequence (seeExposureControlSensingRegionsSequence
-