Interface PixelValueMappingToCodedConceptSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
OphthalmicThicknessMapModule
- All Known Implementing Classes:
OphthalmicThicknessMapIOD,PixelValueMappingToCodedConceptSequence.SimpleHolder
- Enclosing class:
- PixelValueMappingToCodedConceptSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Pixel Value Mapping to Coded Concept Sequence" (see
PixelValueMappingToCodedConceptSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Pixel Value Mapping to Coded Concept Sequence (seePixelValueMappingToCodedConceptSequence) with initial capacity 1 (seeensurePixelValueMappingToCodedConceptSequence(int)) if it does not already exist.ensurePixelValueMappingToCodedConceptSequence(int initialCapacity) Adds a new Pixel Value Mapping to Coded Concept Sequence (seePixelValueMappingToCodedConceptSequence) if it does not already exist.newPixelValueMappingToCodedConceptSequence(int initialCapacity) Adds a new Pixel Value Mapping to Coded Concept Sequence.default voidRemoves the Pixel Value Mapping to Coded Concept Sequence (seePixelValueMappingToCodedConceptSequencewrap(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 Pixel Value Mapping to Coded Concept Sequence (seePixelValueMappingToCodedConceptSequence)- Returns:
- A wrapper object implementing the
PixelValueMappingToCodedConceptSequence.Holderinterface.
-
builder
- Returns:
- a
PixelValueMappingToCodedConceptSequence.Holder.Builderto create Pixel Value Mapping to Coded Concept Sequence Items with a fluent API.
-
builder
static PixelValueMappingToCodedConceptSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by thePixelValueMappingToCodedConceptSequence.Holder.Builder.- Returns:
- a
PixelValueMappingToCodedConceptSequence.Holder.Builderto create Pixel Value Mapping to Coded Concept Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPixelValueMappingToCodedConceptSequence
- Returns:
- the Pixel Value Mapping to Coded Concept Sequence (see
PixelValueMappingToCodedConceptSequence)
-
newPixelValueMappingToCodedConceptSequence
default PixelValueMappingToCodedConceptSequence newPixelValueMappingToCodedConceptSequence(int initialCapacity) Adds a new Pixel Value Mapping to Coded Concept Sequence. (seePixelValueMappingToCodedConceptSequence)- Parameters:
initialCapacity- the initial capacity for the new Pixel Value Mapping to Coded Concept Sequence
-
ensurePixelValueMappingToCodedConceptSequence
default PixelValueMappingToCodedConceptSequence ensurePixelValueMappingToCodedConceptSequence(int initialCapacity) Adds a new Pixel Value Mapping to Coded Concept Sequence (seePixelValueMappingToCodedConceptSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Pixel Value Mapping to Coded Concept Sequence is created.- Returns:
- Either the already existing Pixel Value Mapping to Coded Concept Sequence (see
PixelValueMappingToCodedConceptSequence) or a new one with capacityinitialCapacity.
-
ensurePixelValueMappingToCodedConceptSequence
Adds a new Pixel Value Mapping to Coded Concept Sequence (seePixelValueMappingToCodedConceptSequence) with initial capacity 1 (seeensurePixelValueMappingToCodedConceptSequence(int)) if it does not already exist.- Returns:
- Either the already existing Pixel Value Mapping to Coded Concept Sequence (see
PixelValueMappingToCodedConceptSequence) or a new one with capacity 1.
-
containsPixelValueMappingToCodedConceptSequence
default boolean containsPixelValueMappingToCodedConceptSequence()- Returns:
- Whether it contains the Pixel Value Mapping to Coded Concept Sequence (see
PixelValueMappingToCodedConceptSequence)
-
removePixelValueMappingToCodedConceptSequence
default void removePixelValueMappingToCodedConceptSequence()Removes the Pixel Value Mapping to Coded Concept Sequence (seePixelValueMappingToCodedConceptSequence
-