Interface StoredValueColorRangeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
CurrentFrameFunctionalGroupsSequence.Item,PerFrameFunctionalGroupsSequence.Item,SharedFunctionalGroupsSequence.Item,StoredValueColorRangeSequence.SimpleHolder
- Enclosing class:
- StoredValueColorRangeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Stored Value Color Range Sequence" (see
StoredValueColorRangeSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault StoredValueColorRangeSequenceAdds a new Stored Value Color Range Sequence (seeStoredValueColorRangeSequence) with initial capacity 1 (seeensureStoredValueColorRangeSequence(int)) if it does not already exist.default StoredValueColorRangeSequenceensureStoredValueColorRangeSequence(int initialCapacity) Adds a new Stored Value Color Range Sequence (seeStoredValueColorRangeSequence) if it does not already exist.default StoredValueColorRangeSequencedefault StoredValueColorRangeSequencenewStoredValueColorRangeSequence(int initialCapacity) Adds a new Stored Value Color Range Sequence.default voidRemoves the Stored Value Color Range Sequence (seeStoredValueColorRangeSequencewrap(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 Stored Value Color Range Sequence (seeStoredValueColorRangeSequence)- Returns:
- A wrapper object implementing the
StoredValueColorRangeSequence.Holderinterface.
-
builder
- Returns:
- a
StoredValueColorRangeSequence.Holder.Builderto create Stored Value Color Range Sequence Items with a fluent API.
-
builder
static StoredValueColorRangeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theStoredValueColorRangeSequence.Holder.Builder.- Returns:
- a
StoredValueColorRangeSequence.Holder.Builderto create Stored Value Color Range Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getStoredValueColorRangeSequence
- Returns:
- the Stored Value Color Range Sequence (see
StoredValueColorRangeSequence)
-
newStoredValueColorRangeSequence
Adds a new Stored Value Color Range Sequence. (seeStoredValueColorRangeSequence)- Parameters:
initialCapacity- the initial capacity for the new Stored Value Color Range Sequence
-
ensureStoredValueColorRangeSequence
Adds a new Stored Value Color Range Sequence (seeStoredValueColorRangeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Stored Value Color Range Sequence is created.- Returns:
- Either the already existing Stored Value Color Range Sequence (see
StoredValueColorRangeSequence) or a new one with capacityinitialCapacity.
-
ensureStoredValueColorRangeSequence
Adds a new Stored Value Color Range Sequence (seeStoredValueColorRangeSequence) with initial capacity 1 (seeensureStoredValueColorRangeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Stored Value Color Range Sequence (see
StoredValueColorRangeSequence) or a new one with capacity 1.
-
containsStoredValueColorRangeSequence
default boolean containsStoredValueColorRangeSequence()- Returns:
- Whether it contains the Stored Value Color Range Sequence (see
StoredValueColorRangeSequence)
-
removeStoredValueColorRangeSequence
default void removeStoredValueColorRangeSequence()Removes the Stored Value Color Range Sequence (seeStoredValueColorRangeSequence
-