Interface TableRowDefinitionSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
TabulatedValuesSequence.Item
- Enclosing class:
- TableRowDefinitionSequence
public static interface TableRowDefinitionSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Table Row Definition Sequence" (seeTableRowDefinitionSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTableRowDefinitionSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static TableRowDefinitionSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Table Row Definition Sequence (seeTableRowDefinitionSequence)- Returns:
- a wrapper object implementing the
TableRowDefinitionSequence.Holderinterface.
-
builder
static TableRowDefinitionSequence.Holder.Builder builder()
- Returns:
- a
TableRowDefinitionSequence.Holder.Builderto create Table Row Definition Sequence Items with a fluent API.
-
builder
static TableRowDefinitionSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theTableRowDefinitionSequence.Holder.Builder.- Returns:
- a
TableRowDefinitionSequence.Holder.Builderto create Table Row Definition Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTableRowDefinitionSequence
default TableRowDefinitionSequence getTableRowDefinitionSequence()
- Returns:
- the Table Row Definition Sequence (see
TableRowDefinitionSequence)
-
newTableRowDefinitionSequence
default TableRowDefinitionSequence newTableRowDefinitionSequence(int initialCapacity)
Adds a new Table Row Definition Sequence. (seeTableRowDefinitionSequence)- Parameters:
initialCapacity- the initial capacity for the new Table Row Definition Sequence- Returns:
- the newly created TableRowDefinitionSequence.
-
ensureTableRowDefinitionSequence
default TableRowDefinitionSequence ensureTableRowDefinitionSequence(int initialCapacity)
Adds a new Table Row Definition Sequence (seeTableRowDefinitionSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Table Row Definition Sequence is created.- Returns:
- either the already existing Table Row Definition Sequence (see
TableRowDefinitionSequence) or a new one with capacityinitialCapacity.
-
ensureTableRowDefinitionSequence
default TableRowDefinitionSequence ensureTableRowDefinitionSequence()
Adds a new Table Row Definition Sequence (seeTableRowDefinitionSequence) with initial capacity 1 (seeensureTableRowDefinitionSequence(int)) if it does not already exist.- Returns:
- either the already existing Table Row Definition Sequence (see
TableRowDefinitionSequence) or a new one with capacity 1.
-
containsTableRowDefinitionSequence
default boolean containsTableRowDefinitionSequence()
- Returns:
- whether it contains the Table Row Definition Sequence (see
TableRowDefinitionSequence)
-
removeTableRowDefinitionSequence
default void removeTableRowDefinitionSequence()
Removes the Table Row Definition Sequence (seeTableRowDefinitionSequence
-
-