Interface PlannedVerificationImageSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
BeamSequence.Item,PlannedVerificationImageSequence.SimpleHolder
- Enclosing class:
- PlannedVerificationImageSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Planned Verification Image Sequence" (see
PlannedVerificationImageSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault PlannedVerificationImageSequenceAdds a new Planned Verification Image Sequence (seePlannedVerificationImageSequence) with initial capacity 1 (seeensurePlannedVerificationImageSequence(int)) if it does not already exist.default PlannedVerificationImageSequenceensurePlannedVerificationImageSequence(int initialCapacity) Adds a new Planned Verification Image Sequence (seePlannedVerificationImageSequence) if it does not already exist.default PlannedVerificationImageSequencedefault PlannedVerificationImageSequencenewPlannedVerificationImageSequence(int initialCapacity) Adds a new Planned Verification Image Sequence.default voidRemoves the Planned Verification Image Sequence (seePlannedVerificationImageSequencewrap(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 Planned Verification Image Sequence (seePlannedVerificationImageSequence)- Returns:
- A wrapper object implementing the
PlannedVerificationImageSequence.Holderinterface.
-
builder
- Returns:
- a
PlannedVerificationImageSequence.Holder.Builderto create Planned Verification Image Sequence Items with a fluent API.
-
builder
static PlannedVerificationImageSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by thePlannedVerificationImageSequence.Holder.Builder.- Returns:
- a
PlannedVerificationImageSequence.Holder.Builderto create Planned Verification Image Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPlannedVerificationImageSequence
- Returns:
- the Planned Verification Image Sequence (see
PlannedVerificationImageSequence)
-
newPlannedVerificationImageSequence
Adds a new Planned Verification Image Sequence. (seePlannedVerificationImageSequence)- Parameters:
initialCapacity- the initial capacity for the new Planned Verification Image Sequence
-
ensurePlannedVerificationImageSequence
default PlannedVerificationImageSequence ensurePlannedVerificationImageSequence(int initialCapacity) Adds a new Planned Verification Image Sequence (seePlannedVerificationImageSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Planned Verification Image Sequence is created.- Returns:
- Either the already existing Planned Verification Image Sequence (see
PlannedVerificationImageSequence) or a new one with capacityinitialCapacity.
-
ensurePlannedVerificationImageSequence
Adds a new Planned Verification Image Sequence (seePlannedVerificationImageSequence) with initial capacity 1 (seeensurePlannedVerificationImageSequence(int)) if it does not already exist.- Returns:
- Either the already existing Planned Verification Image Sequence (see
PlannedVerificationImageSequence) or a new one with capacity 1.
-
containsPlannedVerificationImageSequence
default boolean containsPlannedVerificationImageSequence()- Returns:
- Whether it contains the Planned Verification Image Sequence (see
PlannedVerificationImageSequence)
-
removePlannedVerificationImageSequence
default void removePlannedVerificationImageSequence()Removes the Planned Verification Image Sequence (seePlannedVerificationImageSequence
-