Interface RecordedChannelSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
RecordedChannelSequence.SimpleHolder,TreatmentSessionApplicationSetupSequence.Item
- Enclosing class:
- RecordedChannelSequence
public static interface RecordedChannelSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Recorded Channel Sequence" (seeRecordedChannelSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRecordedChannelSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static RecordedChannelSequence.Holder.Builderbuilder()static RecordedChannelSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsRecordedChannelSequence()default RecordedChannelSequenceensureRecordedChannelSequence()Adds a new Recorded Channel Sequence (seeRecordedChannelSequence) with initial capacity 1 (seeensureRecordedChannelSequence(int)) if it does not already exist.default RecordedChannelSequenceensureRecordedChannelSequence(int initialCapacity)Adds a new Recorded Channel Sequence (seeRecordedChannelSequence) if it does not already exist.default RecordedChannelSequencegetRecordedChannelSequence()default RecordedChannelSequencenewRecordedChannelSequence(int initialCapacity)Adds a new Recorded Channel Sequence.default voidremoveRecordedChannelSequence()Removes the Recorded Channel Sequence (seeRecordedChannelSequencestatic RecordedChannelSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static RecordedChannelSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Recorded Channel Sequence (seeRecordedChannelSequence)- Returns:
- a wrapper object implementing the
RecordedChannelSequence.Holderinterface.
-
builder
static RecordedChannelSequence.Holder.Builder builder()
- Returns:
- a
RecordedChannelSequence.Holder.Builderto create Recorded Channel Sequence Items with a fluent API.
-
builder
static RecordedChannelSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theRecordedChannelSequence.Holder.Builder.- Returns:
- a
RecordedChannelSequence.Holder.Builderto create Recorded Channel Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRecordedChannelSequence
default RecordedChannelSequence getRecordedChannelSequence()
- Returns:
- the Recorded Channel Sequence (see
RecordedChannelSequence)
-
newRecordedChannelSequence
default RecordedChannelSequence newRecordedChannelSequence(int initialCapacity)
Adds a new Recorded Channel Sequence. (seeRecordedChannelSequence)- Parameters:
initialCapacity- the initial capacity for the new Recorded Channel Sequence- Returns:
- the newly created RecordedChannelSequence.
-
ensureRecordedChannelSequence
default RecordedChannelSequence ensureRecordedChannelSequence(int initialCapacity)
Adds a new Recorded Channel Sequence (seeRecordedChannelSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Recorded Channel Sequence is created.- Returns:
- either the already existing Recorded Channel Sequence (see
RecordedChannelSequence) or a new one with capacityinitialCapacity.
-
ensureRecordedChannelSequence
default RecordedChannelSequence ensureRecordedChannelSequence()
Adds a new Recorded Channel Sequence (seeRecordedChannelSequence) with initial capacity 1 (seeensureRecordedChannelSequence(int)) if it does not already exist.- Returns:
- either the already existing Recorded Channel Sequence (see
RecordedChannelSequence) or a new one with capacity 1.
-
containsRecordedChannelSequence
default boolean containsRecordedChannelSequence()
- Returns:
- whether it contains the Recorded Channel Sequence (see
RecordedChannelSequence)
-
removeRecordedChannelSequence
default void removeRecordedChannelSequence()
Removes the Recorded Channel Sequence (seeRecordedChannelSequence
-
-