Interface ProposedStudySequence.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- ProposedStudySequence
A class implementing this interface can hold attributes which contain the DICOM tag "Proposed Study Sequence" (see
ProposedStudySequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault ProposedStudySequenceAdds a new Proposed Study Sequence (seeProposedStudySequence) with initial capacity 1 (seeensureProposedStudySequence(int)) if it does not already exist.default ProposedStudySequenceensureProposedStudySequence(int initialCapacity) Adds a new Proposed Study Sequence (seeProposedStudySequence) if it does not already exist.default ProposedStudySequencedefault ProposedStudySequencenewProposedStudySequence(int initialCapacity) Adds a new Proposed Study Sequence.default voidRemoves the Proposed Study Sequence (seeProposedStudySequencestatic ProposedStudySequence.Holderwrap(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 Proposed Study Sequence (seeProposedStudySequence)- Returns:
- A wrapper object implementing the
ProposedStudySequence.Holderinterface.
-
getProposedStudySequence
- Returns:
- the Proposed Study Sequence (see
ProposedStudySequence)
-
newProposedStudySequence
Adds a new Proposed Study Sequence. (seeProposedStudySequence)- Parameters:
initialCapacity- the initial capacity for the new Proposed Study Sequence
-
ensureProposedStudySequence
Adds a new Proposed Study Sequence (seeProposedStudySequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Proposed Study Sequence is created.- Returns:
- Either the already existing Proposed Study Sequence (see
ProposedStudySequence) or a new one with capacityinitialCapacity.
-
ensureProposedStudySequence
Adds a new Proposed Study Sequence (seeProposedStudySequence) with initial capacity 1 (seeensureProposedStudySequence(int)) if it does not already exist.- Returns:
- Either the already existing Proposed Study Sequence (see
ProposedStudySequence) or a new one with capacity 1.
-
containsProposedStudySequence
default boolean containsProposedStudySequence()- Returns:
- Whether it contains the Proposed Study Sequence (see
ProposedStudySequence)
-
removeProposedStudySequence
default void removeProposedStudySequence()Removes the Proposed Study Sequence (seeProposedStudySequence
-