Interface PixelValueMappingCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
PixelValueMappingToCodedConceptSequence.Item,SequenceOfUltrasoundRegions.Item
- Enclosing class:
- PixelValueMappingCodeSequence
public static interface PixelValueMappingCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Pixel Value Mapping Code Sequence" (seePixelValueMappingCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPixelValueMappingCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static PixelValueMappingCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Pixel Value Mapping Code Sequence (seePixelValueMappingCodeSequence)- Returns:
- a wrapper object implementing the
PixelValueMappingCodeSequence.Holderinterface.
-
builder
static PixelValueMappingCodeSequence.Holder.Builder builder()
- Returns:
- a
PixelValueMappingCodeSequence.Holder.Builderto create Pixel Value Mapping Code Sequence Items with a fluent API.
-
builder
static PixelValueMappingCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by thePixelValueMappingCodeSequence.Holder.Builder.- Returns:
- a
PixelValueMappingCodeSequence.Holder.Builderto create Pixel Value Mapping Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPixelValueMappingCodeSequence
default PixelValueMappingCodeSequence getPixelValueMappingCodeSequence()
- Returns:
- the Pixel Value Mapping Code Sequence (see
PixelValueMappingCodeSequence)
-
newPixelValueMappingCodeSequence
default PixelValueMappingCodeSequence newPixelValueMappingCodeSequence(int initialCapacity)
Adds a new Pixel Value Mapping Code Sequence. (seePixelValueMappingCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Pixel Value Mapping Code Sequence- Returns:
- the newly created PixelValueMappingCodeSequence.
-
ensurePixelValueMappingCodeSequence
default PixelValueMappingCodeSequence ensurePixelValueMappingCodeSequence(int initialCapacity)
Adds a new Pixel Value Mapping Code Sequence (seePixelValueMappingCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Pixel Value Mapping Code Sequence is created.- Returns:
- either the already existing Pixel Value Mapping Code Sequence (see
PixelValueMappingCodeSequence) or a new one with capacityinitialCapacity.
-
ensurePixelValueMappingCodeSequence
default PixelValueMappingCodeSequence ensurePixelValueMappingCodeSequence()
Adds a new Pixel Value Mapping Code Sequence (seePixelValueMappingCodeSequence) with initial capacity 1 (seeensurePixelValueMappingCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Pixel Value Mapping Code Sequence (see
PixelValueMappingCodeSequence) or a new one with capacity 1.
-
containsPixelValueMappingCodeSequence
default boolean containsPixelValueMappingCodeSequence()
- Returns:
- whether it contains the Pixel Value Mapping Code Sequence (see
PixelValueMappingCodeSequence)
-
removePixelValueMappingCodeSequence
default void removePixelValueMappingCodeSequence()
Removes the Pixel Value Mapping Code Sequence (seePixelValueMappingCodeSequence
-
-