Interface ProductTypeCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
ProductCharacteristicsModule
- Enclosing class:
- ProductTypeCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Product Type Code Sequence" (see
ProductTypeCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault ProductTypeCodeSequenceensureProductTypeCodeSequence(int initialCapacity) Adds a new Product Type Code Sequence if it does not already exist.default ProductTypeCodeSequencedefault ProductTypeCodeSequencenewProductTypeCodeSequence(int initialCapacity) Adds a new Product Type Code Sequence.default voidRemoves the Product Type Code Sequence (seeProductTypeCodeSequencewrap(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 Product Type Code Sequence (seeProductTypeCodeSequence)- Returns:
- A wrapper object implementing the
ProductTypeCodeSequence.Holderinterface.
-
getProductTypeCodeSequence
- Returns:
- the Product Type Code Sequence (see
ProductTypeCodeSequence)
-
newProductTypeCodeSequence
Adds a new Product Type Code Sequence. (seeProductTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Product Type Code Sequence
-
ensureProductTypeCodeSequence
Adds a new Product Type Code Sequence if it does not already exist. (seeProductTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity if a new Product Type Code Sequence is created
-
containsProductTypeCodeSequence
default boolean containsProductTypeCodeSequence()- Returns:
- Whether it contains the Product Type Code Sequence (see
ProductTypeCodeSequence)
-
removeProductTypeCodeSequence
default void removeProductTypeCodeSequence()Removes the Product Type Code Sequence (seeProductTypeCodeSequence
-