Interface TableRowDefinitionSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
TabulatedValuesSequence.Item
- Enclosing class:
- TableRowDefinitionSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Table Row Definition Sequence" (see
TableRowDefinitionSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault TableRowDefinitionSequenceAdds a new Table Row Definition Sequence (seeTableRowDefinitionSequence) with initial capacity 1 (seeensureTableRowDefinitionSequence(int)) if it does not already exist.default TableRowDefinitionSequenceensureTableRowDefinitionSequence(int initialCapacity) Adds a new Table Row Definition Sequence (seeTableRowDefinitionSequence) if it does not already exist.default TableRowDefinitionSequencedefault TableRowDefinitionSequencenewTableRowDefinitionSequence(int initialCapacity) Adds a new Table Row Definition Sequence.default voidRemoves the Table Row Definition Sequence (seeTableRowDefinitionSequencewrap(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 Table Row Definition Sequence (seeTableRowDefinitionSequence)- Returns:
- A wrapper object implementing the
TableRowDefinitionSequence.Holderinterface.
-
getTableRowDefinitionSequence
- Returns:
- the Table Row Definition Sequence (see
TableRowDefinitionSequence)
-
newTableRowDefinitionSequence
Adds a new Table Row Definition Sequence. (seeTableRowDefinitionSequence)- Parameters:
initialCapacity- the initial capacity for the new Table Row Definition Sequence
-
ensureTableRowDefinitionSequence
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
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
-