Interface DetectorGeometrySequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
DetectorGeometrySequence.SimpleHolder
- Enclosing class:
- DetectorGeometrySequence
public static interface DetectorGeometrySequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Detector Geometry Sequence" (seeDetectorGeometrySequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDetectorGeometrySequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static DetectorGeometrySequence.Holder.Builderbuilder()static DetectorGeometrySequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsDetectorGeometrySequence()default DetectorGeometrySequenceensureDetectorGeometrySequence()Adds a new Detector Geometry Sequence (seeDetectorGeometrySequence) with initial capacity 1 (seeensureDetectorGeometrySequence(int)) if it does not already exist.default DetectorGeometrySequenceensureDetectorGeometrySequence(int initialCapacity)Adds a new Detector Geometry Sequence (seeDetectorGeometrySequence) if it does not already exist.default DetectorGeometrySequencegetDetectorGeometrySequence()default DetectorGeometrySequencenewDetectorGeometrySequence(int initialCapacity)Adds a new Detector Geometry Sequence.default voidremoveDetectorGeometrySequence()Removes the Detector Geometry Sequence (seeDetectorGeometrySequencestatic DetectorGeometrySequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static DetectorGeometrySequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Detector Geometry Sequence (seeDetectorGeometrySequence)- Returns:
- a wrapper object implementing the
DetectorGeometrySequence.Holderinterface.
-
builder
static DetectorGeometrySequence.Holder.Builder builder()
- Returns:
- a
DetectorGeometrySequence.Holder.Builderto create Detector Geometry Sequence Items with a fluent API.
-
builder
static DetectorGeometrySequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theDetectorGeometrySequence.Holder.Builder.- Returns:
- a
DetectorGeometrySequence.Holder.Builderto create Detector Geometry Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getDetectorGeometrySequence
default DetectorGeometrySequence getDetectorGeometrySequence()
- Returns:
- the Detector Geometry Sequence (see
DetectorGeometrySequence)
-
newDetectorGeometrySequence
default DetectorGeometrySequence newDetectorGeometrySequence(int initialCapacity)
Adds a new Detector Geometry Sequence. (seeDetectorGeometrySequence)- Parameters:
initialCapacity- the initial capacity for the new Detector Geometry Sequence- Returns:
- the newly created DetectorGeometrySequence.
-
ensureDetectorGeometrySequence
default DetectorGeometrySequence ensureDetectorGeometrySequence(int initialCapacity)
Adds a new Detector Geometry Sequence (seeDetectorGeometrySequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Detector Geometry Sequence is created.- Returns:
- either the already existing Detector Geometry Sequence (see
DetectorGeometrySequence) or a new one with capacityinitialCapacity.
-
ensureDetectorGeometrySequence
default DetectorGeometrySequence ensureDetectorGeometrySequence()
Adds a new Detector Geometry Sequence (seeDetectorGeometrySequence) with initial capacity 1 (seeensureDetectorGeometrySequence(int)) if it does not already exist.- Returns:
- either the already existing Detector Geometry Sequence (see
DetectorGeometrySequence) or a new one with capacity 1.
-
containsDetectorGeometrySequence
default boolean containsDetectorGeometrySequence()
- Returns:
- whether it contains the Detector Geometry Sequence (see
DetectorGeometrySequence)
-
removeDetectorGeometrySequence
default void removeDetectorGeometrySequence()
Removes the Detector Geometry Sequence (seeDetectorGeometrySequence
-
-