Interface RadiationTypeCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
RadiationGenerationModeSequence.Item
- Enclosing class:
- RadiationTypeCodeSequence
public static interface RadiationTypeCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Radiation Type Code Sequence" (seeRadiationTypeCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRadiationTypeCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static RadiationTypeCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Radiation Type Code Sequence (seeRadiationTypeCodeSequence)- Returns:
- a wrapper object implementing the
RadiationTypeCodeSequence.Holderinterface.
-
builder
static RadiationTypeCodeSequence.Holder.Builder builder()
- Returns:
- a
RadiationTypeCodeSequence.Holder.Builderto create Radiation Type Code Sequence Items with a fluent API.
-
builder
static RadiationTypeCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theRadiationTypeCodeSequence.Holder.Builder.- Returns:
- a
RadiationTypeCodeSequence.Holder.Builderto create Radiation Type Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRadiationTypeCodeSequence
default RadiationTypeCodeSequence getRadiationTypeCodeSequence()
- Returns:
- the Radiation Type Code Sequence (see
RadiationTypeCodeSequence)
-
newRadiationTypeCodeSequence
default RadiationTypeCodeSequence newRadiationTypeCodeSequence(int initialCapacity)
Adds a new Radiation Type Code Sequence. (seeRadiationTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Radiation Type Code Sequence- Returns:
- the newly created RadiationTypeCodeSequence.
-
ensureRadiationTypeCodeSequence
default RadiationTypeCodeSequence ensureRadiationTypeCodeSequence(int initialCapacity)
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
default RadiationTypeCodeSequence 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
-
-