Interface InterventionDrugCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
InterventionDrugInformationSequence.Item,InterventionSequence.Item
- Enclosing class:
- InterventionDrugCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Intervention Drug Code Sequence" (see
InterventionDrugCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault InterventionDrugCodeSequenceAdds a new Intervention Drug Code Sequence (seeInterventionDrugCodeSequence) with initial capacity 1 (seeensureInterventionDrugCodeSequence(int)) if it does not already exist.default InterventionDrugCodeSequenceensureInterventionDrugCodeSequence(int initialCapacity) Adds a new Intervention Drug Code Sequence (seeInterventionDrugCodeSequence) if it does not already exist.default InterventionDrugCodeSequencedefault InterventionDrugCodeSequencenewInterventionDrugCodeSequence(int initialCapacity) Adds a new Intervention Drug Code Sequence.default voidRemoves the Intervention Drug Code Sequence (seeInterventionDrugCodeSequencewrap(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 Code Sequence (seeInterventionDrugCodeSequence)- Returns:
- A wrapper object implementing the
InterventionDrugCodeSequence.Holderinterface.
-
getInterventionDrugCodeSequence
- Returns:
- the Intervention Drug Code Sequence (see
InterventionDrugCodeSequence)
-
newInterventionDrugCodeSequence
Adds a new Intervention Drug Code Sequence. (seeInterventionDrugCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Intervention Drug Code Sequence
-
ensureInterventionDrugCodeSequence
Adds a new Intervention Drug Code Sequence (seeInterventionDrugCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Intervention Drug Code Sequence is created.- Returns:
- Either the already existing Intervention Drug Code Sequence (see
InterventionDrugCodeSequence) or a new one with capacityinitialCapacity.
-
ensureInterventionDrugCodeSequence
Adds a new Intervention Drug Code Sequence (seeInterventionDrugCodeSequence) with initial capacity 1 (seeensureInterventionDrugCodeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Intervention Drug Code Sequence (see
InterventionDrugCodeSequence) or a new one with capacity 1.
-
containsInterventionDrugCodeSequence
default boolean containsInterventionDrugCodeSequence()- Returns:
- Whether it contains the Intervention Drug Code Sequence (see
InterventionDrugCodeSequence)
-
removeInterventionDrugCodeSequence
default void removeInterventionDrugCodeSequence()Removes the Intervention Drug Code Sequence (seeInterventionDrugCodeSequence
-