Interface AttributeOccurrenceSequence.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- AttributeOccurrenceSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Attribute Occurrence Sequence" (see
AttributeOccurrenceSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault AttributeOccurrenceSequenceensureAttributeOccurrenceSequence(int initialCapacity) Adds a new Attribute Occurrence Sequence if it does not already exist.default AttributeOccurrenceSequencedefault AttributeOccurrenceSequencenewAttributeOccurrenceSequence(int initialCapacity) Adds a new Attribute Occurrence Sequence.default voidRemoves the Attribute Occurrence Sequence (seeAttributeOccurrenceSequencewrap(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 Attribute Occurrence Sequence (seeAttributeOccurrenceSequence)- Returns:
- A wrapper object implementing the
AttributeOccurrenceSequence.Holderinterface.
-
getAttributeOccurrenceSequence
- Returns:
- the Attribute Occurrence Sequence (see
AttributeOccurrenceSequence)
-
newAttributeOccurrenceSequence
Adds a new Attribute Occurrence Sequence. (seeAttributeOccurrenceSequence)- Parameters:
initialCapacity- the initial capacity for the new Attribute Occurrence Sequence
-
ensureAttributeOccurrenceSequence
Adds a new Attribute Occurrence Sequence if it does not already exist. (seeAttributeOccurrenceSequence)- Parameters:
initialCapacity- the initial capacity if a new Attribute Occurrence Sequence is created
-
containsAttributeOccurrenceSequence
default boolean containsAttributeOccurrenceSequence()- Returns:
- Whether it contains the Attribute Occurrence Sequence (see
AttributeOccurrenceSequence)
-
removeAttributeOccurrenceSequence
default void removeAttributeOccurrenceSequence()Removes the Attribute Occurrence Sequence (seeAttributeOccurrenceSequence
-