Interface SpecimenTypeCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
SpecimenDescriptionSequence.Item
- Enclosing class:
- SpecimenTypeCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Specimen Type Code Sequence" (see
SpecimenTypeCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault SpecimenTypeCodeSequenceensureSpecimenTypeCodeSequence(int initialCapacity) Adds a new Specimen Type Code Sequence if it does not already exist.default SpecimenTypeCodeSequencedefault SpecimenTypeCodeSequencenewSpecimenTypeCodeSequence(int initialCapacity) Adds a new Specimen Type Code Sequence.default voidRemoves the Specimen Type Code Sequence (seeSpecimenTypeCodeSequencewrap(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 Specimen Type Code Sequence (seeSpecimenTypeCodeSequence)- Returns:
- A wrapper object implementing the
SpecimenTypeCodeSequence.Holderinterface.
-
getSpecimenTypeCodeSequence
- Returns:
- the Specimen Type Code Sequence (see
SpecimenTypeCodeSequence)
-
newSpecimenTypeCodeSequence
Adds a new Specimen Type Code Sequence. (seeSpecimenTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Specimen Type Code Sequence
-
ensureSpecimenTypeCodeSequence
Adds a new Specimen Type Code Sequence if it does not already exist. (seeSpecimenTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity if a new Specimen Type Code Sequence is created
-
containsSpecimenTypeCodeSequence
default boolean containsSpecimenTypeCodeSequence()- Returns:
- Whether it contains the Specimen Type Code Sequence (see
SpecimenTypeCodeSequence)
-
removeSpecimenTypeCodeSequence
default void removeSpecimenTypeCodeSequence()Removes the Specimen Type Code Sequence (seeSpecimenTypeCodeSequence
-