Interface PlannedVerificationImageSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
BeamSequence.Item
- Enclosing class:
- PlannedVerificationImageSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Planned Verification Image Sequence" (see
PlannedVerificationImageSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.
-
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
-