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 RadiationTypeCodeSequenceAdds a new Radiation Type Code Sequence (seeRadiationTypeCodeSequence) with initial capacity 1 (seeensureRadiationTypeCodeSequence(int)) if it does not already exist.default RadiationTypeCodeSequenceensureRadiationTypeCodeSequence(int initialCapacity) Adds a new Radiation Type Code Sequence (seeRadiationTypeCodeSequence) 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 (seeRadiationTypeCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Radiation Type Code Sequence is created.- Returns:
- Either the already existing Radiation Type Code Sequence (see
RadiationTypeCodeSequence) or a new one with capacityinitialCapacity.
-
ensureRadiationTypeCodeSequence
Adds a new Radiation Type Code Sequence (seeRadiationTypeCodeSequence) with initial capacity 1 (seeensureRadiationTypeCodeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Radiation Type Code Sequence (see
RadiationTypeCodeSequence) or a new one with capacity 1.
-
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
-