Interface InterventionDrugInformationSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
NMIsotopeModule,PETIsotopeModule
- All Known Implementing Classes:
NMImageIOD,NMIsotopeModule.SimpleWrapper,PETImageIOD,PETIsotopeModule.SimpleWrapper
- Enclosing class:
- InterventionDrugInformationSequence
public static interface InterventionDrugInformationSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Intervention Drug Information Sequence" (seeInterventionDrugInformationSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classInterventionDrugInformationSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static InterventionDrugInformationSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Intervention Drug Information Sequence (seeInterventionDrugInformationSequence)- Returns:
- a wrapper object implementing the
InterventionDrugInformationSequence.Holderinterface.
-
builder
static InterventionDrugInformationSequence.Holder.Builder builder()
- Returns:
- a
InterventionDrugInformationSequence.Holder.Builderto create Intervention Drug Information Sequence Items with a fluent API.
-
builder
static InterventionDrugInformationSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theInterventionDrugInformationSequence.Holder.Builder.- Returns:
- a
InterventionDrugInformationSequence.Holder.Builderto create Intervention Drug Information Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getInterventionDrugInformationSequence
default InterventionDrugInformationSequence getInterventionDrugInformationSequence()
- Returns:
- the Intervention Drug Information Sequence (see
InterventionDrugInformationSequence)
-
newInterventionDrugInformationSequence
default InterventionDrugInformationSequence newInterventionDrugInformationSequence(int initialCapacity)
Adds a new Intervention Drug Information Sequence. (seeInterventionDrugInformationSequence)- Parameters:
initialCapacity- the initial capacity for the new Intervention Drug Information Sequence- Returns:
- the newly created InterventionDrugInformationSequence.
-
ensureInterventionDrugInformationSequence
default InterventionDrugInformationSequence ensureInterventionDrugInformationSequence(int initialCapacity)
Adds a new Intervention Drug Information Sequence (seeInterventionDrugInformationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Intervention Drug Information Sequence is created.- Returns:
- either the already existing Intervention Drug Information Sequence (see
InterventionDrugInformationSequence) or a new one with capacityinitialCapacity.
-
ensureInterventionDrugInformationSequence
default InterventionDrugInformationSequence ensureInterventionDrugInformationSequence()
Adds a new Intervention Drug Information Sequence (seeInterventionDrugInformationSequence) with initial capacity 1 (seeensureInterventionDrugInformationSequence(int)) if it does not already exist.- Returns:
- either the already existing Intervention Drug Information Sequence (see
InterventionDrugInformationSequence) or a new one with capacity 1.
-
containsInterventionDrugInformationSequence
default boolean containsInterventionDrugInformationSequence()
- Returns:
- whether it contains the Intervention Drug Information Sequence (see
InterventionDrugInformationSequence)
-
removeInterventionDrugInformationSequence
default void removeInterventionDrugInformationSequence()
Removes the Intervention Drug Information Sequence (seeInterventionDrugInformationSequence
-
-