Interface ToleranceTableSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
RTToleranceTablesModule
- All Known Implementing Classes:
RTPlanIOD,ToleranceTableSequence.SimpleHolder
- Enclosing class:
- ToleranceTableSequence
public static interface ToleranceTableSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Tolerance Table Sequence" (seeToleranceTableSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classToleranceTableSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ToleranceTableSequence.Holder.Builderbuilder()static ToleranceTableSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsToleranceTableSequence()default ToleranceTableSequenceensureToleranceTableSequence()Adds a new Tolerance Table Sequence (seeToleranceTableSequence) with initial capacity 1 (seeensureToleranceTableSequence(int)) if it does not already exist.default ToleranceTableSequenceensureToleranceTableSequence(int initialCapacity)Adds a new Tolerance Table Sequence (seeToleranceTableSequence) if it does not already exist.default ToleranceTableSequencegetToleranceTableSequence()default ToleranceTableSequencenewToleranceTableSequence(int initialCapacity)Adds a new Tolerance Table Sequence.default voidremoveToleranceTableSequence()Removes the Tolerance Table Sequence (seeToleranceTableSequencestatic ToleranceTableSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static ToleranceTableSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Tolerance Table Sequence (seeToleranceTableSequence)- Returns:
- a wrapper object implementing the
ToleranceTableSequence.Holderinterface.
-
builder
static ToleranceTableSequence.Holder.Builder builder()
- Returns:
- a
ToleranceTableSequence.Holder.Builderto create Tolerance Table Sequence Items with a fluent API.
-
builder
static ToleranceTableSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theToleranceTableSequence.Holder.Builder.- Returns:
- a
ToleranceTableSequence.Holder.Builderto create Tolerance Table Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getToleranceTableSequence
default ToleranceTableSequence getToleranceTableSequence()
- Returns:
- the Tolerance Table Sequence (see
ToleranceTableSequence)
-
newToleranceTableSequence
default ToleranceTableSequence newToleranceTableSequence(int initialCapacity)
Adds a new Tolerance Table Sequence. (seeToleranceTableSequence)- Parameters:
initialCapacity- the initial capacity for the new Tolerance Table Sequence- Returns:
- the newly created ToleranceTableSequence.
-
ensureToleranceTableSequence
default ToleranceTableSequence ensureToleranceTableSequence(int initialCapacity)
Adds a new Tolerance Table Sequence (seeToleranceTableSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Tolerance Table Sequence is created.- Returns:
- either the already existing Tolerance Table Sequence (see
ToleranceTableSequence) or a new one with capacityinitialCapacity.
-
ensureToleranceTableSequence
default ToleranceTableSequence ensureToleranceTableSequence()
Adds a new Tolerance Table Sequence (seeToleranceTableSequence) with initial capacity 1 (seeensureToleranceTableSequence(int)) if it does not already exist.- Returns:
- either the already existing Tolerance Table Sequence (see
ToleranceTableSequence) or a new one with capacity 1.
-
containsToleranceTableSequence
default boolean containsToleranceTableSequence()
- Returns:
- whether it contains the Tolerance Table Sequence (see
ToleranceTableSequence)
-
removeToleranceTableSequence
default void removeToleranceTableSequence()
Removes the Tolerance Table Sequence (seeToleranceTableSequence
-
-