Interface ToleranceTableSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTToleranceTablesModule
- All Known Implementing Classes:
RTPlanIOD
- Enclosing class:
- ToleranceTableSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Tolerance Table Sequence" (see
ToleranceTableSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault ToleranceTableSequenceAdds 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 ToleranceTableSequencedefault ToleranceTableSequencenewToleranceTableSequence(int initialCapacity) Adds a new Tolerance Table Sequence.default voidRemoves the Tolerance Table Sequence (seeToleranceTableSequencewrap(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 Tolerance Table Sequence (seeToleranceTableSequence)- Returns:
- A wrapper object implementing the
ToleranceTableSequence.Holderinterface.
-
getToleranceTableSequence
- Returns:
- the Tolerance Table Sequence (see
ToleranceTableSequence)
-
newToleranceTableSequence
Adds a new Tolerance Table Sequence. (seeToleranceTableSequence)- Parameters:
initialCapacity- the initial capacity for the new Tolerance Table Sequence
-
ensureToleranceTableSequence
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
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
-