Interface PatientLocationCoordinatesCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
PatientLocationCoordinatesSequence.Item
- Enclosing class:
- PatientLocationCoordinatesCodeSequence
public static interface PatientLocationCoordinatesCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Patient Location Coordinates Code Sequence" (seePatientLocationCoordinatesCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPatientLocationCoordinatesCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static PatientLocationCoordinatesCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Patient Location Coordinates Code Sequence (seePatientLocationCoordinatesCodeSequence)- Returns:
- a wrapper object implementing the
PatientLocationCoordinatesCodeSequence.Holderinterface.
-
builder
static PatientLocationCoordinatesCodeSequence.Holder.Builder builder()
- Returns:
- a
PatientLocationCoordinatesCodeSequence.Holder.Builderto create Patient Location Coordinates Code Sequence Items with a fluent API.
-
builder
static PatientLocationCoordinatesCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by thePatientLocationCoordinatesCodeSequence.Holder.Builder.- Returns:
- a
PatientLocationCoordinatesCodeSequence.Holder.Builderto create Patient Location Coordinates Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPatientLocationCoordinatesCodeSequence
default PatientLocationCoordinatesCodeSequence getPatientLocationCoordinatesCodeSequence()
- Returns:
- the Patient Location Coordinates Code Sequence (see
PatientLocationCoordinatesCodeSequence)
-
newPatientLocationCoordinatesCodeSequence
default PatientLocationCoordinatesCodeSequence newPatientLocationCoordinatesCodeSequence(int initialCapacity)
Adds a new Patient Location Coordinates Code Sequence. (seePatientLocationCoordinatesCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Patient Location Coordinates Code Sequence- Returns:
- the newly created PatientLocationCoordinatesCodeSequence.
-
ensurePatientLocationCoordinatesCodeSequence
default PatientLocationCoordinatesCodeSequence ensurePatientLocationCoordinatesCodeSequence(int initialCapacity)
Adds a new Patient Location Coordinates Code Sequence (seePatientLocationCoordinatesCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Patient Location Coordinates Code Sequence is created.- Returns:
- either the already existing Patient Location Coordinates Code Sequence (see
PatientLocationCoordinatesCodeSequence) or a new one with capacityinitialCapacity.
-
ensurePatientLocationCoordinatesCodeSequence
default PatientLocationCoordinatesCodeSequence ensurePatientLocationCoordinatesCodeSequence()
Adds a new Patient Location Coordinates Code Sequence (seePatientLocationCoordinatesCodeSequence) with initial capacity 1 (seeensurePatientLocationCoordinatesCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Patient Location Coordinates Code Sequence (see
PatientLocationCoordinatesCodeSequence) or a new one with capacity 1.
-
containsPatientLocationCoordinatesCodeSequence
default boolean containsPatientLocationCoordinatesCodeSequence()
- Returns:
- whether it contains the Patient Location Coordinates Code Sequence (see
PatientLocationCoordinatesCodeSequence)
-
removePatientLocationCoordinatesCodeSequence
default void removePatientLocationCoordinatesCodeSequence()
Removes the Patient Location Coordinates Code Sequence (seePatientLocationCoordinatesCodeSequence
-
-