Interface CoordinateSystemAxisCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- Enclosing class:
- CoordinateSystemAxisCodeSequence
public static interface CoordinateSystemAxisCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Coordinate System Axis Code Sequence" (seeCoordinateSystemAxisCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCoordinateSystemAxisCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static CoordinateSystemAxisCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Coordinate System Axis Code Sequence (seeCoordinateSystemAxisCodeSequence)- Returns:
- a wrapper object implementing the
CoordinateSystemAxisCodeSequence.Holderinterface.
-
builder
static CoordinateSystemAxisCodeSequence.Holder.Builder 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
default CoordinateSystemAxisCodeSequence getCoordinateSystemAxisCodeSequence()
- Returns:
- the Coordinate System Axis Code Sequence (see
CoordinateSystemAxisCodeSequence)
-
newCoordinateSystemAxisCodeSequence
default CoordinateSystemAxisCodeSequence newCoordinateSystemAxisCodeSequence(int initialCapacity)
Adds a new Coordinate System Axis Code Sequence. (seeCoordinateSystemAxisCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Coordinate System Axis Code Sequence- Returns:
- the newly created CoordinateSystemAxisCodeSequence.
-
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
default CoordinateSystemAxisCodeSequence 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
-
-