Interface PatientGantryRelationshipCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
DXPositioningModule,EnhancedXAXRFImageModuleTable,NMPETPatientOrientationModule,PatientOrientationModule
- All Known Implementing Classes:
BreastProjectionXRayImageIOD,DigitalIntraOralXRayImageIOD,DigitalMammographyXRayImageIOD,DigitalXRayImageIOD,EnhancedXAImageIOD,EnhancedXRFImageIOD,NMImageIOD,PatientGantryRelationshipCodeSequence.SimpleHolder,PETImageIOD,XRay3DAngiographicImageIOD,XRay3DCraniofacialImageIOD
- Enclosing class:
- PatientGantryRelationshipCodeSequence
public static interface PatientGantryRelationshipCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Patient Gantry Relationship Code Sequence" (seePatientGantryRelationshipCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPatientGantryRelationshipCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static PatientGantryRelationshipCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Patient Gantry Relationship Code Sequence (seePatientGantryRelationshipCodeSequence)- Returns:
- a wrapper object implementing the
PatientGantryRelationshipCodeSequence.Holderinterface.
-
builder
static PatientGantryRelationshipCodeSequence.Holder.Builder builder()
- Returns:
- a
PatientGantryRelationshipCodeSequence.Holder.Builderto create Patient Gantry Relationship Code Sequence Items with a fluent API.
-
builder
static PatientGantryRelationshipCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by thePatientGantryRelationshipCodeSequence.Holder.Builder.- Returns:
- a
PatientGantryRelationshipCodeSequence.Holder.Builderto create Patient Gantry Relationship Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPatientGantryRelationshipCodeSequence
default PatientGantryRelationshipCodeSequence getPatientGantryRelationshipCodeSequence()
- Returns:
- the Patient Gantry Relationship Code Sequence (see
PatientGantryRelationshipCodeSequence)
-
newPatientGantryRelationshipCodeSequence
default PatientGantryRelationshipCodeSequence newPatientGantryRelationshipCodeSequence(int initialCapacity)
Adds a new Patient Gantry Relationship Code Sequence. (seePatientGantryRelationshipCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Patient Gantry Relationship Code Sequence- Returns:
- the newly created PatientGantryRelationshipCodeSequence.
-
ensurePatientGantryRelationshipCodeSequence
default PatientGantryRelationshipCodeSequence ensurePatientGantryRelationshipCodeSequence(int initialCapacity)
Adds a new Patient Gantry Relationship Code Sequence (seePatientGantryRelationshipCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Patient Gantry Relationship Code Sequence is created.- Returns:
- either the already existing Patient Gantry Relationship Code Sequence (see
PatientGantryRelationshipCodeSequence) or a new one with capacityinitialCapacity.
-
ensurePatientGantryRelationshipCodeSequence
default PatientGantryRelationshipCodeSequence ensurePatientGantryRelationshipCodeSequence()
Adds a new Patient Gantry Relationship Code Sequence (seePatientGantryRelationshipCodeSequence) with initial capacity 1 (seeensurePatientGantryRelationshipCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Patient Gantry Relationship Code Sequence (see
PatientGantryRelationshipCodeSequence) or a new one with capacity 1.
-
containsPatientGantryRelationshipCodeSequence
default boolean containsPatientGantryRelationshipCodeSequence()
- Returns:
- whether it contains the Patient Gantry Relationship Code Sequence (see
PatientGantryRelationshipCodeSequence)
-
removePatientGantryRelationshipCodeSequence
default void removePatientGantryRelationshipCodeSequence()
Removes the Patient Gantry Relationship Code Sequence (seePatientGantryRelationshipCodeSequence
-
-