Interface RecordedChannelShieldSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
RecordedChannelSequence.Item,RecordedChannelShieldSequence.SimpleHolder
- Enclosing class:
- RecordedChannelShieldSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Recorded Channel Shield Sequence" (see
RecordedChannelShieldSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault RecordedChannelShieldSequenceAdds a new Recorded Channel Shield Sequence (seeRecordedChannelShieldSequence) with initial capacity 1 (seeensureRecordedChannelShieldSequence(int)) if it does not already exist.default RecordedChannelShieldSequenceensureRecordedChannelShieldSequence(int initialCapacity) Adds a new Recorded Channel Shield Sequence (seeRecordedChannelShieldSequence) if it does not already exist.default RecordedChannelShieldSequencedefault RecordedChannelShieldSequencenewRecordedChannelShieldSequence(int initialCapacity) Adds a new Recorded Channel Shield Sequence.default voidRemoves the Recorded Channel Shield Sequence (seeRecordedChannelShieldSequencewrap(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 Recorded Channel Shield Sequence (seeRecordedChannelShieldSequence)- Returns:
- A wrapper object implementing the
RecordedChannelShieldSequence.Holderinterface.
-
builder
- Returns:
- a
RecordedChannelShieldSequence.Holder.Builderto create Recorded Channel Shield Sequence Items with a fluent API.
-
builder
static RecordedChannelShieldSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theRecordedChannelShieldSequence.Holder.Builder.- Returns:
- a
RecordedChannelShieldSequence.Holder.Builderto create Recorded Channel Shield Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRecordedChannelShieldSequence
- Returns:
- the Recorded Channel Shield Sequence (see
RecordedChannelShieldSequence)
-
newRecordedChannelShieldSequence
Adds a new Recorded Channel Shield Sequence. (seeRecordedChannelShieldSequence)- Parameters:
initialCapacity- the initial capacity for the new Recorded Channel Shield Sequence
-
ensureRecordedChannelShieldSequence
Adds a new Recorded Channel Shield Sequence (seeRecordedChannelShieldSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Recorded Channel Shield Sequence is created.- Returns:
- Either the already existing Recorded Channel Shield Sequence (see
RecordedChannelShieldSequence) or a new one with capacityinitialCapacity.
-
ensureRecordedChannelShieldSequence
Adds a new Recorded Channel Shield Sequence (seeRecordedChannelShieldSequence) with initial capacity 1 (seeensureRecordedChannelShieldSequence(int)) if it does not already exist.- Returns:
- Either the already existing Recorded Channel Shield Sequence (see
RecordedChannelShieldSequence) or a new one with capacity 1.
-
containsRecordedChannelShieldSequence
default boolean containsRecordedChannelShieldSequence()- Returns:
- Whether it contains the Recorded Channel Shield Sequence (see
RecordedChannelShieldSequence)
-
removeRecordedChannelShieldSequence
default void removeRecordedChannelShieldSequence()Removes the Recorded Channel Shield Sequence (seeRecordedChannelShieldSequence
-