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