Interface InterventionDrugInformationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
NMIsotopeModule,PETIsotopeModule
- All Known Implementing Classes:
NMImageIOD,PETImageIOD
- Enclosing class:
- InterventionDrugInformationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Intervention Drug Information Sequence" (see
InterventionDrugInformationSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanAdds a new Intervention Drug Information Sequence (seeInterventionDrugInformationSequence) with initial capacity 1 (seeensureInterventionDrugInformationSequence(int)) if it does not already exist.ensureInterventionDrugInformationSequence(int initialCapacity) Adds a new Intervention Drug Information Sequence (seeInterventionDrugInformationSequence) if it does not already exist.newInterventionDrugInformationSequence(int initialCapacity) Adds a new Intervention Drug Information Sequence.default voidRemoves the Intervention Drug Information Sequence (seeInterventionDrugInformationSequencewrap(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 Intervention Drug Information Sequence (seeInterventionDrugInformationSequence)- Returns:
- A wrapper object implementing the
InterventionDrugInformationSequence.Holderinterface.
-
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
-
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
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
-