Interface PredecessorProtocolSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
ProtocolContextModule
- All Known Implementing Classes:
CTDefinedProcedureProtocolIOD,CTPerformedProcedureProtocolIOD,XADefinedProcedureProtocolIOD,XAPerformedProcedureProtocolIOD
- Enclosing class:
- PredecessorProtocolSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Predecessor Protocol Sequence" (see
PredecessorProtocolSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault PredecessorProtocolSequenceensurePredecessorProtocolSequence(int initialCapacity) Adds a new Predecessor Protocol Sequence if it does not already exist.default PredecessorProtocolSequencedefault PredecessorProtocolSequencenewPredecessorProtocolSequence(int initialCapacity) Adds a new Predecessor Protocol Sequence.default voidRemoves the Predecessor Protocol Sequence (seePredecessorProtocolSequencewrap(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 Predecessor Protocol Sequence (seePredecessorProtocolSequence)- Returns:
- A wrapper object implementing the
PredecessorProtocolSequence.Holderinterface.
-
getPredecessorProtocolSequence
- Returns:
- the Predecessor Protocol Sequence (see
PredecessorProtocolSequence)
-
newPredecessorProtocolSequence
Adds a new Predecessor Protocol Sequence. (seePredecessorProtocolSequence)- Parameters:
initialCapacity- the initial capacity for the new Predecessor Protocol Sequence
-
ensurePredecessorProtocolSequence
Adds a new Predecessor Protocol Sequence if it does not already exist. (seePredecessorProtocolSequence)- Parameters:
initialCapacity- the initial capacity if a new Predecessor Protocol Sequence is created
-
containsPredecessorProtocolSequence
default boolean containsPredecessorProtocolSequence()- Returns:
- Whether it contains the Predecessor Protocol Sequence (see
PredecessorProtocolSequence)
-
removePredecessorProtocolSequence
default void removePredecessorProtocolSequence()Removes the Predecessor Protocol Sequence (seePredecessorProtocolSequence
-