Interface ApprovalSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
ProtocolApprovalModule
- All Known Implementing Classes:
ProtocolApprovalIOD
- Enclosing class:
- ApprovalSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Approval Sequence" (see
ApprovalSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault ApprovalSequenceensureApprovalSequence(int initialCapacity) Adds a new Approval Sequence if it does not already exist.default ApprovalSequencedefault ApprovalSequencenewApprovalSequence(int initialCapacity) Adds a new Approval Sequence.default voidRemoves the Approval Sequence (seeApprovalSequencestatic ApprovalSequence.Holderwrap(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 Approval Sequence (seeApprovalSequence)- Returns:
- A wrapper object implementing the
ApprovalSequence.Holderinterface.
-
getApprovalSequence
- Returns:
- the Approval Sequence (see
ApprovalSequence)
-
newApprovalSequence
Adds a new Approval Sequence. (seeApprovalSequence)- Parameters:
initialCapacity- the initial capacity for the new Approval Sequence
-
ensureApprovalSequence
Adds a new Approval Sequence if it does not already exist. (seeApprovalSequence)- Parameters:
initialCapacity- the initial capacity if a new Approval Sequence is created
-
containsApprovalSequence
default boolean containsApprovalSequence()- Returns:
- Whether it contains the Approval Sequence (see
ApprovalSequence)
-
removeApprovalSequence
default void removeApprovalSequence()Removes the Approval Sequence (seeApprovalSequence
-