Interface RecordedCompensatorSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
GeneralMachineVerificationSequence.Item,RecordedCompensatorSequence.SimpleHolder,TreatmentSessionBeamSequence.Item,TreatmentSessionIonBeamSequence.Item
- Enclosing class:
- RecordedCompensatorSequence
public static interface RecordedCompensatorSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Recorded Compensator Sequence" (seeRecordedCompensatorSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRecordedCompensatorSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static RecordedCompensatorSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Recorded Compensator Sequence (seeRecordedCompensatorSequence)- Returns:
- a wrapper object implementing the
RecordedCompensatorSequence.Holderinterface.
-
builder
static RecordedCompensatorSequence.Holder.Builder builder()
- Returns:
- a
RecordedCompensatorSequence.Holder.Builderto create Recorded Compensator Sequence Items with a fluent API.
-
builder
static RecordedCompensatorSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theRecordedCompensatorSequence.Holder.Builder.- Returns:
- a
RecordedCompensatorSequence.Holder.Builderto create Recorded Compensator Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRecordedCompensatorSequence
default RecordedCompensatorSequence getRecordedCompensatorSequence()
- Returns:
- the Recorded Compensator Sequence (see
RecordedCompensatorSequence)
-
newRecordedCompensatorSequence
default RecordedCompensatorSequence newRecordedCompensatorSequence(int initialCapacity)
Adds a new Recorded Compensator Sequence. (seeRecordedCompensatorSequence)- Parameters:
initialCapacity- the initial capacity for the new Recorded Compensator Sequence- Returns:
- the newly created RecordedCompensatorSequence.
-
ensureRecordedCompensatorSequence
default RecordedCompensatorSequence ensureRecordedCompensatorSequence(int initialCapacity)
Adds a new Recorded Compensator Sequence (seeRecordedCompensatorSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Recorded Compensator Sequence is created.- Returns:
- either the already existing Recorded Compensator Sequence (see
RecordedCompensatorSequence) or a new one with capacityinitialCapacity.
-
ensureRecordedCompensatorSequence
default RecordedCompensatorSequence ensureRecordedCompensatorSequence()
Adds a new Recorded Compensator Sequence (seeRecordedCompensatorSequence) with initial capacity 1 (seeensureRecordedCompensatorSequence(int)) if it does not already exist.- Returns:
- either the already existing Recorded Compensator Sequence (see
RecordedCompensatorSequence) or a new one with capacity 1.
-
containsRecordedCompensatorSequence
default boolean containsRecordedCompensatorSequence()
- Returns:
- whether it contains the Recorded Compensator Sequence (see
RecordedCompensatorSequence)
-
removeRecordedCompensatorSequence
default void removeRecordedCompensatorSequence()
Removes the Recorded Compensator Sequence (seeRecordedCompensatorSequence
-
-