Interface RelevantInformationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- RelevantInformationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Relevant Information Sequence" (see
RelevantInformationSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault RelevantInformationSequenceAdds a new Relevant Information Sequence (seeRelevantInformationSequence) with initial capacity 1 (seeensureRelevantInformationSequence(int)) if it does not already exist.default RelevantInformationSequenceensureRelevantInformationSequence(int initialCapacity) Adds a new Relevant Information Sequence (seeRelevantInformationSequence) if it does not already exist.default RelevantInformationSequencedefault RelevantInformationSequencenewRelevantInformationSequence(int initialCapacity) Adds a new Relevant Information Sequence.default voidRemoves the Relevant Information Sequence (seeRelevantInformationSequencewrap(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 Relevant Information Sequence (seeRelevantInformationSequence)- Returns:
- A wrapper object implementing the
RelevantInformationSequence.Holderinterface.
-
getRelevantInformationSequence
- Returns:
- the Relevant Information Sequence (see
RelevantInformationSequence)
-
newRelevantInformationSequence
Adds a new Relevant Information Sequence. (seeRelevantInformationSequence)- Parameters:
initialCapacity- the initial capacity for the new Relevant Information Sequence
-
ensureRelevantInformationSequence
Adds a new Relevant Information Sequence (seeRelevantInformationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Relevant Information Sequence is created.- Returns:
- Either the already existing Relevant Information Sequence (see
RelevantInformationSequence) or a new one with capacityinitialCapacity.
-
ensureRelevantInformationSequence
Adds a new Relevant Information Sequence (seeRelevantInformationSequence) with initial capacity 1 (seeensureRelevantInformationSequence(int)) if it does not already exist.- Returns:
- Either the already existing Relevant Information Sequence (see
RelevantInformationSequence) or a new one with capacity 1.
-
containsRelevantInformationSequence
default boolean containsRelevantInformationSequence()- Returns:
- Whether it contains the Relevant Information Sequence (see
RelevantInformationSequence)
-
removeRelevantInformationSequence
default void removeRelevantInformationSequence()Removes the Relevant Information Sequence (seeRelevantInformationSequence
-