Interface CoordinateSystemAxesSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
CoordinateSystemAxesSequence.SimpleHolder
- Enclosing class:
- CoordinateSystemAxesSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Coordinate System Axes Sequence" (see
CoordinateSystemAxesSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault CoordinateSystemAxesSequenceAdds a new Coordinate System Axes Sequence (seeCoordinateSystemAxesSequence) with initial capacity 1 (seeensureCoordinateSystemAxesSequence(int)) if it does not already exist.default CoordinateSystemAxesSequenceensureCoordinateSystemAxesSequence(int initialCapacity) Adds a new Coordinate System Axes Sequence (seeCoordinateSystemAxesSequence) if it does not already exist.default CoordinateSystemAxesSequencedefault CoordinateSystemAxesSequencenewCoordinateSystemAxesSequence(int initialCapacity) Adds a new Coordinate System Axes Sequence.default voidRemoves the Coordinate System Axes Sequence (seeCoordinateSystemAxesSequencewrap(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 Axes Sequence (seeCoordinateSystemAxesSequence)- Returns:
- A wrapper object implementing the
CoordinateSystemAxesSequence.Holderinterface.
-
builder
- Returns:
- a
CoordinateSystemAxesSequence.Holder.Builderto create Coordinate System Axes Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theCoordinateSystemAxesSequence.Holder.Builder.- Returns:
- a
CoordinateSystemAxesSequence.Holder.Builderto create Coordinate System Axes Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getCoordinateSystemAxesSequence
- Returns:
- the Coordinate System Axes Sequence (see
CoordinateSystemAxesSequence)
-
newCoordinateSystemAxesSequence
Adds a new Coordinate System Axes Sequence. (seeCoordinateSystemAxesSequence)- Parameters:
initialCapacity- the initial capacity for the new Coordinate System Axes Sequence
-
ensureCoordinateSystemAxesSequence
Adds a new Coordinate System Axes Sequence (seeCoordinateSystemAxesSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Coordinate System Axes Sequence is created.- Returns:
- Either the already existing Coordinate System Axes Sequence (see
CoordinateSystemAxesSequence) or a new one with capacityinitialCapacity.
-
ensureCoordinateSystemAxesSequence
Adds a new Coordinate System Axes Sequence (seeCoordinateSystemAxesSequence) with initial capacity 1 (seeensureCoordinateSystemAxesSequence(int)) if it does not already exist.- Returns:
- Either the already existing Coordinate System Axes Sequence (see
CoordinateSystemAxesSequence) or a new one with capacity 1.
-
containsCoordinateSystemAxesSequence
default boolean containsCoordinateSystemAxesSequence()- Returns:
- Whether it contains the Coordinate System Axes Sequence (see
CoordinateSystemAxesSequence)
-
removeCoordinateSystemAxesSequence
default void removeCoordinateSystemAxesSequence()Removes the Coordinate System Axes Sequence (seeCoordinateSystemAxesSequence
-