Interface CTTableDynamicsSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
CTTableDynamicsSequence.SimpleHolder
- Enclosing class:
- CTTableDynamicsSequence
A class implementing this interface can hold attributes which contain the DICOM tag "CT Table Dynamics Sequence" (see
CTTableDynamicsSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault CTTableDynamicsSequenceAdds a new CT Table Dynamics Sequence (seeCTTableDynamicsSequence) with initial capacity 1 (seeensureCTTableDynamicsSequence(int)) if it does not already exist.default CTTableDynamicsSequenceensureCTTableDynamicsSequence(int initialCapacity) Adds a new CT Table Dynamics Sequence (seeCTTableDynamicsSequence) if it does not already exist.default CTTableDynamicsSequencedefault CTTableDynamicsSequencenewCTTableDynamicsSequence(int initialCapacity) Adds a new CT Table Dynamics Sequence.default voidRemoves the CT Table Dynamics Sequence (seeCTTableDynamicsSequencewrap(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 CT Table Dynamics Sequence (seeCTTableDynamicsSequence)- Returns:
- A wrapper object implementing the
CTTableDynamicsSequence.Holderinterface.
-
builder
- Returns:
- a
CTTableDynamicsSequence.Holder.Builderto create CT Table Dynamics Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theCTTableDynamicsSequence.Holder.Builder.- Returns:
- a
CTTableDynamicsSequence.Holder.Builderto create CT Table Dynamics Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getCTTableDynamicsSequence
- Returns:
- the CT Table Dynamics Sequence (see
CTTableDynamicsSequence)
-
newCTTableDynamicsSequence
Adds a new CT Table Dynamics Sequence. (seeCTTableDynamicsSequence)- Parameters:
initialCapacity- the initial capacity for the new CT Table Dynamics Sequence
-
ensureCTTableDynamicsSequence
Adds a new CT Table Dynamics Sequence (seeCTTableDynamicsSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new CT Table Dynamics Sequence is created.- Returns:
- Either the already existing CT Table Dynamics Sequence (see
CTTableDynamicsSequence) or a new one with capacityinitialCapacity.
-
ensureCTTableDynamicsSequence
Adds a new CT Table Dynamics Sequence (seeCTTableDynamicsSequence) with initial capacity 1 (seeensureCTTableDynamicsSequence(int)) if it does not already exist.- Returns:
- Either the already existing CT Table Dynamics Sequence (see
CTTableDynamicsSequence) or a new one with capacity 1.
-
containsCTTableDynamicsSequence
default boolean containsCTTableDynamicsSequence()- Returns:
- Whether it contains the CT Table Dynamics Sequence (see
CTTableDynamicsSequence)
-
removeCTTableDynamicsSequence
default void removeCTTableDynamicsSequence()Removes the CT Table Dynamics Sequence (seeCTTableDynamicsSequence
-