Interface TherapeuticRoleCategoryCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
RTAnatomicPrescriptionSequence.Item,RTROIObservationsSequence.Item,TherapeuticRoleCategoryCodeSequence.SimpleHolder
- Enclosing class:
- TherapeuticRoleCategoryCodeSequence
public static interface TherapeuticRoleCategoryCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Therapeutic Role Category Code Sequence" (seeTherapeuticRoleCategoryCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTherapeuticRoleCategoryCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static TherapeuticRoleCategoryCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Therapeutic Role Category Code Sequence (seeTherapeuticRoleCategoryCodeSequence)- Returns:
- a wrapper object implementing the
TherapeuticRoleCategoryCodeSequence.Holderinterface.
-
builder
static TherapeuticRoleCategoryCodeSequence.Holder.Builder builder()
- Returns:
- a
TherapeuticRoleCategoryCodeSequence.Holder.Builderto create Therapeutic Role Category Code Sequence Items with a fluent API.
-
builder
static TherapeuticRoleCategoryCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theTherapeuticRoleCategoryCodeSequence.Holder.Builder.- Returns:
- a
TherapeuticRoleCategoryCodeSequence.Holder.Builderto create Therapeutic Role Category Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTherapeuticRoleCategoryCodeSequence
default TherapeuticRoleCategoryCodeSequence getTherapeuticRoleCategoryCodeSequence()
- Returns:
- the Therapeutic Role Category Code Sequence (see
TherapeuticRoleCategoryCodeSequence)
-
newTherapeuticRoleCategoryCodeSequence
default TherapeuticRoleCategoryCodeSequence newTherapeuticRoleCategoryCodeSequence(int initialCapacity)
Adds a new Therapeutic Role Category Code Sequence. (seeTherapeuticRoleCategoryCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Therapeutic Role Category Code Sequence- Returns:
- the newly created TherapeuticRoleCategoryCodeSequence.
-
ensureTherapeuticRoleCategoryCodeSequence
default TherapeuticRoleCategoryCodeSequence ensureTherapeuticRoleCategoryCodeSequence(int initialCapacity)
Adds a new Therapeutic Role Category Code Sequence (seeTherapeuticRoleCategoryCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Therapeutic Role Category Code Sequence is created.- Returns:
- either the already existing Therapeutic Role Category Code Sequence (see
TherapeuticRoleCategoryCodeSequence) or a new one with capacityinitialCapacity.
-
ensureTherapeuticRoleCategoryCodeSequence
default TherapeuticRoleCategoryCodeSequence ensureTherapeuticRoleCategoryCodeSequence()
Adds a new Therapeutic Role Category Code Sequence (seeTherapeuticRoleCategoryCodeSequence) with initial capacity 1 (seeensureTherapeuticRoleCategoryCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Therapeutic Role Category Code Sequence (see
TherapeuticRoleCategoryCodeSequence) or a new one with capacity 1.
-
containsTherapeuticRoleCategoryCodeSequence
default boolean containsTherapeuticRoleCategoryCodeSequence()
- Returns:
- whether it contains the Therapeutic Role Category Code Sequence (see
TherapeuticRoleCategoryCodeSequence)
-
removeTherapeuticRoleCategoryCodeSequence
default void removeTherapeuticRoleCategoryCodeSequence()
Removes the Therapeutic Role Category Code Sequence (seeTherapeuticRoleCategoryCodeSequence
-
-