Interface StoredValueColorRangeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
CurrentFrameFunctionalGroupsSequence.Item,PerFrameFunctionalGroupsSequence.Item,SelectedFrameFunctionalGroupsSequence.Item,SharedFunctionalGroupsSequence.Item
- Enclosing class:
- StoredValueColorRangeSequence
public static interface StoredValueColorRangeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Stored Value Color Range Sequence" (seeStoredValueColorRangeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStoredValueColorRangeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static StoredValueColorRangeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Stored Value Color Range Sequence (seeStoredValueColorRangeSequence)- Returns:
- a wrapper object implementing the
StoredValueColorRangeSequence.Holderinterface.
-
builder
static StoredValueColorRangeSequence.Holder.Builder 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
default StoredValueColorRangeSequence getStoredValueColorRangeSequence()
- Returns:
- the Stored Value Color Range Sequence (see
StoredValueColorRangeSequence)
-
newStoredValueColorRangeSequence
default StoredValueColorRangeSequence newStoredValueColorRangeSequence(int initialCapacity)
Adds a new Stored Value Color Range Sequence. (seeStoredValueColorRangeSequence)- Parameters:
initialCapacity- the initial capacity for the new Stored Value Color Range Sequence- Returns:
- the newly created StoredValueColorRangeSequence.
-
ensureStoredValueColorRangeSequence
default StoredValueColorRangeSequence ensureStoredValueColorRangeSequence(int initialCapacity)
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
default StoredValueColorRangeSequence 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
-
-