Interface RightImageSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
RightImageSequence.SimpleHolder,StereoPairsSequence.Item
- Enclosing class:
- RightImageSequence
public static interface RightImageSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Right Image Sequence" (seeRightImageSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRightImageSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static RightImageSequence.Holder.Builderbuilder()static RightImageSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsRightImageSequence()default RightImageSequenceensureRightImageSequence()Adds a new Right Image Sequence (seeRightImageSequence) with initial capacity 1 (seeensureRightImageSequence(int)) if it does not already exist.default RightImageSequenceensureRightImageSequence(int initialCapacity)Adds a new Right Image Sequence (seeRightImageSequence) if it does not already exist.default RightImageSequencegetRightImageSequence()default RightImageSequencenewRightImageSequence(int initialCapacity)Adds a new Right Image Sequence.default voidremoveRightImageSequence()Removes the Right Image Sequence (seeRightImageSequencestatic RightImageSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static RightImageSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Right Image Sequence (seeRightImageSequence)- Returns:
- a wrapper object implementing the
RightImageSequence.Holderinterface.
-
builder
static RightImageSequence.Holder.Builder builder()
- Returns:
- a
RightImageSequence.Holder.Builderto create Right Image Sequence Items with a fluent API.
-
builder
static RightImageSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theRightImageSequence.Holder.Builder.- Returns:
- a
RightImageSequence.Holder.Builderto create Right Image Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRightImageSequence
default RightImageSequence getRightImageSequence()
- Returns:
- the Right Image Sequence (see
RightImageSequence)
-
newRightImageSequence
default RightImageSequence newRightImageSequence(int initialCapacity)
Adds a new Right Image Sequence. (seeRightImageSequence)- Parameters:
initialCapacity- the initial capacity for the new Right Image Sequence- Returns:
- the newly created RightImageSequence.
-
ensureRightImageSequence
default RightImageSequence ensureRightImageSequence(int initialCapacity)
Adds a new Right Image Sequence (seeRightImageSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Right Image Sequence is created.- Returns:
- either the already existing Right Image Sequence (see
RightImageSequence) or a new one with capacityinitialCapacity.
-
ensureRightImageSequence
default RightImageSequence ensureRightImageSequence()
Adds a new Right Image Sequence (seeRightImageSequence) with initial capacity 1 (seeensureRightImageSequence(int)) if it does not already exist.- Returns:
- either the already existing Right Image Sequence (see
RightImageSequence) or a new one with capacity 1.
-
containsRightImageSequence
default boolean containsRightImageSequence()
- Returns:
- whether it contains the Right Image Sequence (see
RightImageSequence)
-
removeRightImageSequence
default void removeRightImageSequence()
Removes the Right Image Sequence (seeRightImageSequence
-
-