Interface CoordinateSystemAxisCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
CoordinateSystemAxisCodeSequence.SimpleHolder
- Enclosing class:
- CoordinateSystemAxisCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Coordinate System Axis Code Sequence" (see
CoordinateSystemAxisCodeSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault CoordinateSystemAxisCodeSequenceAdds a new Coordinate System Axis Code Sequence (seeCoordinateSystemAxisCodeSequence) with initial capacity 1 (seeensureCoordinateSystemAxisCodeSequence(int)) if it does not already exist.default CoordinateSystemAxisCodeSequenceensureCoordinateSystemAxisCodeSequence(int initialCapacity) Adds a new Coordinate System Axis Code Sequence (seeCoordinateSystemAxisCodeSequence) if it does not already exist.default CoordinateSystemAxisCodeSequencedefault CoordinateSystemAxisCodeSequencenewCoordinateSystemAxisCodeSequence(int initialCapacity) Adds a new Coordinate System Axis Code Sequence.default voidRemoves the Coordinate System Axis Code Sequence (seeCoordinateSystemAxisCodeSequencewrap(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 Coordinate System Axis Code Sequence (seeCoordinateSystemAxisCodeSequence)- Returns:
- A wrapper object implementing the
CoordinateSystemAxisCodeSequence.Holderinterface.
-
builder
- Returns:
- a
CoordinateSystemAxisCodeSequence.Holder.Builderto create Coordinate System Axis Code Sequence Items with a fluent API.
-
builder
static CoordinateSystemAxisCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theCoordinateSystemAxisCodeSequence.Holder.Builder.- Returns:
- a
CoordinateSystemAxisCodeSequence.Holder.Builderto create Coordinate System Axis Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getCoordinateSystemAxisCodeSequence
- Returns:
- the Coordinate System Axis Code Sequence (see
CoordinateSystemAxisCodeSequence)
-
newCoordinateSystemAxisCodeSequence
Adds a new Coordinate System Axis Code Sequence. (seeCoordinateSystemAxisCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Coordinate System Axis Code Sequence
-
ensureCoordinateSystemAxisCodeSequence
default CoordinateSystemAxisCodeSequence ensureCoordinateSystemAxisCodeSequence(int initialCapacity) Adds a new Coordinate System Axis Code Sequence (seeCoordinateSystemAxisCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Coordinate System Axis Code Sequence is created.- Returns:
- Either the already existing Coordinate System Axis Code Sequence (see
CoordinateSystemAxisCodeSequence) or a new one with capacityinitialCapacity.
-
ensureCoordinateSystemAxisCodeSequence
Adds a new Coordinate System Axis Code Sequence (seeCoordinateSystemAxisCodeSequence) with initial capacity 1 (seeensureCoordinateSystemAxisCodeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Coordinate System Axis Code Sequence (see
CoordinateSystemAxisCodeSequence) or a new one with capacity 1.
-
containsCoordinateSystemAxisCodeSequence
default boolean containsCoordinateSystemAxisCodeSequence()- Returns:
- Whether it contains the Coordinate System Axis Code Sequence (see
CoordinateSystemAxisCodeSequence)
-
removeCoordinateSystemAxisCodeSequence
default void removeCoordinateSystemAxisCodeSequence()Removes the Coordinate System Axis Code Sequence (seeCoordinateSystemAxisCodeSequence
-