Interface OpticalPathIdentificationSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
OpticalPathIdentificationSequence.SimpleHolder
- Enclosing class:
- OpticalPathIdentificationSequence
public static interface OpticalPathIdentificationSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Optical Path Identification Sequence" (seeOpticalPathIdentificationSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOpticalPathIdentificationSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static OpticalPathIdentificationSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Optical Path Identification Sequence (seeOpticalPathIdentificationSequence)- Returns:
- a wrapper object implementing the
OpticalPathIdentificationSequence.Holderinterface.
-
builder
static OpticalPathIdentificationSequence.Holder.Builder builder()
- Returns:
- a
OpticalPathIdentificationSequence.Holder.Builderto create Optical Path Identification Sequence Items with a fluent API.
-
builder
static OpticalPathIdentificationSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theOpticalPathIdentificationSequence.Holder.Builder.- Returns:
- a
OpticalPathIdentificationSequence.Holder.Builderto create Optical Path Identification Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getOpticalPathIdentificationSequence
default OpticalPathIdentificationSequence getOpticalPathIdentificationSequence()
- Returns:
- the Optical Path Identification Sequence (see
OpticalPathIdentificationSequence)
-
newOpticalPathIdentificationSequence
default OpticalPathIdentificationSequence newOpticalPathIdentificationSequence(int initialCapacity)
Adds a new Optical Path Identification Sequence. (seeOpticalPathIdentificationSequence)- Parameters:
initialCapacity- the initial capacity for the new Optical Path Identification Sequence- Returns:
- the newly created OpticalPathIdentificationSequence.
-
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
default OpticalPathIdentificationSequence 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
-
-