Interface AlternateRepresentationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- AlternateRepresentationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Alternate Representation Sequence" (see
AlternateRepresentationSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault AlternateRepresentationSequenceensureAlternateRepresentationSequence(int initialCapacity) Adds a new Alternate Representation Sequence if it does not already exist.default AlternateRepresentationSequencedefault AlternateRepresentationSequencenewAlternateRepresentationSequence(int initialCapacity) Adds a new Alternate Representation Sequence.default voidRemoves the Alternate Representation Sequence (seeAlternateRepresentationSequencewrap(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 Alternate Representation Sequence (seeAlternateRepresentationSequence)- Returns:
- A wrapper object implementing the
AlternateRepresentationSequence.Holderinterface.
-
getAlternateRepresentationSequence
- Returns:
- the Alternate Representation Sequence (see
AlternateRepresentationSequence)
-
newAlternateRepresentationSequence
Adds a new Alternate Representation Sequence. (seeAlternateRepresentationSequence)- Parameters:
initialCapacity- the initial capacity for the new Alternate Representation Sequence
-
ensureAlternateRepresentationSequence
Adds a new Alternate Representation Sequence if it does not already exist. (seeAlternateRepresentationSequence)- Parameters:
initialCapacity- the initial capacity if a new Alternate Representation Sequence is created
-
containsAlternateRepresentationSequence
default boolean containsAlternateRepresentationSequence()- Returns:
- Whether it contains the Alternate Representation Sequence (see
AlternateRepresentationSequence)
-
removeAlternateRepresentationSequence
default void removeAlternateRepresentationSequence()Removes the Alternate Representation Sequence (seeAlternateRepresentationSequence
-