Interface PatientGantryRelationshipCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
DXPositioningModule,EnhancedXAXRFImageModuleTable,NMPETPatientOrientationModule,PatientOrientationModule
- All Known Implementing Classes:
BreastProjectionXRayImageIOD,DigitalIntraOralXRayImageIOD,DigitalMammographyXRayImageIOD,DigitalXRayImageIOD,EnhancedXAImageIOD,EnhancedXRFImageIOD,NMImageIOD,PETImageIOD,XRay3DAngiographicImageIOD,XRay3DCraniofacialImageIOD
- Enclosing class:
- PatientGantryRelationshipCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Patient Gantry Relationship Code Sequence" (see
PatientGantryRelationshipCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanAdds a new Patient Gantry Relationship Code Sequence (seePatientGantryRelationshipCodeSequence) with initial capacity 1 (seeensurePatientGantryRelationshipCodeSequence(int)) if it does not already exist.ensurePatientGantryRelationshipCodeSequence(int initialCapacity) Adds a new Patient Gantry Relationship Code Sequence (seePatientGantryRelationshipCodeSequence) if it does not already exist.newPatientGantryRelationshipCodeSequence(int initialCapacity) Adds a new Patient Gantry Relationship Code Sequence.default voidRemoves the Patient Gantry Relationship Code Sequence (seePatientGantryRelationshipCodeSequencewrap(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 Patient Gantry Relationship Code Sequence (seePatientGantryRelationshipCodeSequence)- Returns:
- A wrapper object implementing the
PatientGantryRelationshipCodeSequence.Holderinterface.
-
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
-
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
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
-