Interface OpticalPathIdentificationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- OpticalPathIdentificationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Optical Path Identification Sequence" (see
OpticalPathIdentificationSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanAdds a new Optical Path Identification Sequence (seeOpticalPathIdentificationSequence) with initial capacity 1 (seeensureOpticalPathIdentificationSequence(int)) if it does not already exist.ensureOpticalPathIdentificationSequence(int initialCapacity) Adds a new Optical Path Identification Sequence (seeOpticalPathIdentificationSequence) if it does not already exist.newOpticalPathIdentificationSequence(int initialCapacity) Adds a new Optical Path Identification Sequence.default voidRemoves the Optical Path Identification Sequence (seeOpticalPathIdentificationSequencewrap(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 Optical Path Identification Sequence (seeOpticalPathIdentificationSequence)- Returns:
- A wrapper object implementing the
OpticalPathIdentificationSequence.Holderinterface.
-
getOpticalPathIdentificationSequence
- Returns:
- the Optical Path Identification Sequence (see
OpticalPathIdentificationSequence)
-
newOpticalPathIdentificationSequence
Adds a new Optical Path Identification Sequence. (seeOpticalPathIdentificationSequence)- Parameters:
initialCapacity- the initial capacity for the new Optical Path Identification Sequence
-
ensureOpticalPathIdentificationSequence
default OpticalPathIdentificationSequence ensureOpticalPathIdentificationSequence(int initialCapacity) Adds a new Optical Path Identification Sequence (seeOpticalPathIdentificationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Optical Path Identification Sequence is created.- Returns:
- Either the already existing Optical Path Identification Sequence (see
OpticalPathIdentificationSequence) or a new one with capacityinitialCapacity.
-
ensureOpticalPathIdentificationSequence
Adds a new Optical Path Identification Sequence (seeOpticalPathIdentificationSequence) with initial capacity 1 (seeensureOpticalPathIdentificationSequence(int)) if it does not already exist.- Returns:
- Either the already existing Optical Path Identification Sequence (see
OpticalPathIdentificationSequence) or a new one with capacity 1.
-
containsOpticalPathIdentificationSequence
default boolean containsOpticalPathIdentificationSequence()- Returns:
- Whether it contains the Optical Path Identification Sequence (see
OpticalPathIdentificationSequence)
-
removeOpticalPathIdentificationSequence
default void removeOpticalPathIdentificationSequence()Removes the Optical Path Identification Sequence (seeOpticalPathIdentificationSequence
-