Interface RadiationTypeCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
RadiationGenerationModeSequence.Item
- Enclosing class:
- RadiationTypeCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Radiation Type Code Sequence" (see
RadiationTypeCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault RadiationTypeCodeSequenceensureRadiationTypeCodeSequence(int initialCapacity) Adds a new Radiation Type Code Sequence if it does not already exist.default RadiationTypeCodeSequencedefault RadiationTypeCodeSequencenewRadiationTypeCodeSequence(int initialCapacity) Adds a new Radiation Type Code Sequence.default voidRemoves the Radiation Type Code Sequence (seeRadiationTypeCodeSequencewrap(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 Radiation Type Code Sequence (seeRadiationTypeCodeSequence)- Returns:
- A wrapper object implementing the
RadiationTypeCodeSequence.Holderinterface.
-
getRadiationTypeCodeSequence
- Returns:
- the Radiation Type Code Sequence (see
RadiationTypeCodeSequence)
-
newRadiationTypeCodeSequence
Adds a new Radiation Type Code Sequence. (seeRadiationTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Radiation Type Code Sequence
-
ensureRadiationTypeCodeSequence
Adds a new Radiation Type Code Sequence if it does not already exist. (seeRadiationTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity if a new Radiation Type Code Sequence is created
-
containsRadiationTypeCodeSequence
default boolean containsRadiationTypeCodeSequence()- Returns:
- Whether it contains the Radiation Type Code Sequence (see
RadiationTypeCodeSequence)
-
removeRadiationTypeCodeSequence
default void removeRadiationTypeCodeSequence()Removes the Radiation Type Code Sequence (seeRadiationTypeCodeSequence
-