Interface DisplacementReferenceLocationCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
RTPatientPositionDisplacementSequence.Item
- Enclosing class:
- DisplacementReferenceLocationCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Displacement Reference Location Code Sequence" (see
DisplacementReferenceLocationCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanensureDisplacementReferenceLocationCodeSequence(int initialCapacity) Adds a new Displacement Reference Location Code Sequence if it does not already exist.newDisplacementReferenceLocationCodeSequence(int initialCapacity) Adds a new Displacement Reference Location Code Sequence.default voidRemoves the Displacement Reference Location Code Sequence (seeDisplacementReferenceLocationCodeSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
static DisplacementReferenceLocationCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- An attributes object containing the Displacement Reference Location Code Sequence (seeDisplacementReferenceLocationCodeSequence)- Returns:
- A wrapper object implementing the
DisplacementReferenceLocationCodeSequence.Holderinterface.
-
getDisplacementReferenceLocationCodeSequence
- Returns:
- the Displacement Reference Location Code Sequence (see
DisplacementReferenceLocationCodeSequence)
-
newDisplacementReferenceLocationCodeSequence
default DisplacementReferenceLocationCodeSequence newDisplacementReferenceLocationCodeSequence(int initialCapacity) Adds a new Displacement Reference Location Code Sequence. (seeDisplacementReferenceLocationCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Displacement Reference Location Code Sequence
-
ensureDisplacementReferenceLocationCodeSequence
default DisplacementReferenceLocationCodeSequence ensureDisplacementReferenceLocationCodeSequence(int initialCapacity) Adds a new Displacement Reference Location Code Sequence if it does not already exist. (seeDisplacementReferenceLocationCodeSequence)- Parameters:
initialCapacity- the initial capacity if a new Displacement Reference Location Code Sequence is created
-
containsDisplacementReferenceLocationCodeSequence
default boolean containsDisplacementReferenceLocationCodeSequence()- Returns:
- Whether it contains the Displacement Reference Location Code Sequence (see
DisplacementReferenceLocationCodeSequence)
-
removeDisplacementReferenceLocationCodeSequence
default void removeDisplacementReferenceLocationCodeSequence()Removes the Displacement Reference Location Code Sequence (seeDisplacementReferenceLocationCodeSequence
-