Interface PixelValueMappingCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
PixelValueMappingToCodedConceptSequence.Item,SequenceOfUltrasoundRegions.Item
- Enclosing class:
- PixelValueMappingCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Pixel Value Mapping Code Sequence" (see
PixelValueMappingCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault PixelValueMappingCodeSequenceAdds a new Pixel Value Mapping Code Sequence (seePixelValueMappingCodeSequence) with initial capacity 1 (seeensurePixelValueMappingCodeSequence(int)) if it does not already exist.default PixelValueMappingCodeSequenceensurePixelValueMappingCodeSequence(int initialCapacity) Adds a new Pixel Value Mapping Code Sequence (seePixelValueMappingCodeSequence) if it does not already exist.default PixelValueMappingCodeSequencedefault PixelValueMappingCodeSequencenewPixelValueMappingCodeSequence(int initialCapacity) Adds a new Pixel Value Mapping Code Sequence.default voidRemoves the Pixel Value Mapping Code Sequence (seePixelValueMappingCodeSequencewrap(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 Code Sequence (seePixelValueMappingCodeSequence)- Returns:
- A wrapper object implementing the
PixelValueMappingCodeSequence.Holderinterface.
-
getPixelValueMappingCodeSequence
- Returns:
- the Pixel Value Mapping Code Sequence (see
PixelValueMappingCodeSequence)
-
newPixelValueMappingCodeSequence
Adds a new Pixel Value Mapping Code Sequence. (seePixelValueMappingCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Pixel Value Mapping Code Sequence
-
ensurePixelValueMappingCodeSequence
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
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
-