Interface RecordedSourceSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
RTBrachySessionRecordModule
- All Known Implementing Classes:
RTBrachySessionRecordModule.SimpleWrapper,RTBrachyTreatmentRecordIOD
- Enclosing class:
- RecordedSourceSequence
public static interface RecordedSourceSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Recorded Source Sequence" (seeRecordedSourceSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRecordedSourceSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static RecordedSourceSequence.Holder.Builderbuilder()static RecordedSourceSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsRecordedSourceSequence()default RecordedSourceSequenceensureRecordedSourceSequence()Adds a new Recorded Source Sequence (seeRecordedSourceSequence) with initial capacity 1 (seeensureRecordedSourceSequence(int)) if it does not already exist.default RecordedSourceSequenceensureRecordedSourceSequence(int initialCapacity)Adds a new Recorded Source Sequence (seeRecordedSourceSequence) if it does not already exist.default RecordedSourceSequencegetRecordedSourceSequence()default RecordedSourceSequencenewRecordedSourceSequence(int initialCapacity)Adds a new Recorded Source Sequence.default voidremoveRecordedSourceSequence()Removes the Recorded Source Sequence (seeRecordedSourceSequencestatic RecordedSourceSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static RecordedSourceSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Recorded Source Sequence (seeRecordedSourceSequence)- Returns:
- a wrapper object implementing the
RecordedSourceSequence.Holderinterface.
-
builder
static RecordedSourceSequence.Holder.Builder builder()
- Returns:
- a
RecordedSourceSequence.Holder.Builderto create Recorded Source Sequence Items with a fluent API.
-
builder
static RecordedSourceSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theRecordedSourceSequence.Holder.Builder.- Returns:
- a
RecordedSourceSequence.Holder.Builderto create Recorded Source Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRecordedSourceSequence
default RecordedSourceSequence getRecordedSourceSequence()
- Returns:
- the Recorded Source Sequence (see
RecordedSourceSequence)
-
newRecordedSourceSequence
default RecordedSourceSequence newRecordedSourceSequence(int initialCapacity)
Adds a new Recorded Source Sequence. (seeRecordedSourceSequence)- Parameters:
initialCapacity- the initial capacity for the new Recorded Source Sequence- Returns:
- the newly created RecordedSourceSequence.
-
ensureRecordedSourceSequence
default RecordedSourceSequence ensureRecordedSourceSequence(int initialCapacity)
Adds a new Recorded Source Sequence (seeRecordedSourceSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Recorded Source Sequence is created.- Returns:
- either the already existing Recorded Source Sequence (see
RecordedSourceSequence) or a new one with capacityinitialCapacity.
-
ensureRecordedSourceSequence
default RecordedSourceSequence ensureRecordedSourceSequence()
Adds a new Recorded Source Sequence (seeRecordedSourceSequence) with initial capacity 1 (seeensureRecordedSourceSequence(int)) if it does not already exist.- Returns:
- either the already existing Recorded Source Sequence (see
RecordedSourceSequence) or a new one with capacity 1.
-
containsRecordedSourceSequence
default boolean containsRecordedSourceSequence()
- Returns:
- whether it contains the Recorded Source Sequence (see
RecordedSourceSequence)
-
removeRecordedSourceSequence
default void removeRecordedSourceSequence()
Removes the Recorded Source Sequence (seeRecordedSourceSequence
-
-