Interface PotentialReasonsForProcedureCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
ProtocolContextModule
- All Known Implementing Classes:
CTDefinedProcedureProtocolIOD,CTPerformedProcedureProtocolIOD,XADefinedProcedureProtocolIOD,XAPerformedProcedureProtocolIOD
- Enclosing class:
- PotentialReasonsForProcedureCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Potential Reasons for Procedure Code Sequence" (see
PotentialReasonsForProcedureCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanAdds a new Potential Reasons for Procedure Code Sequence (seePotentialReasonsForProcedureCodeSequence) with initial capacity 1 (seeensurePotentialReasonsForProcedureCodeSequence(int)) if it does not already exist.ensurePotentialReasonsForProcedureCodeSequence(int initialCapacity) Adds a new Potential Reasons for Procedure Code Sequence (seePotentialReasonsForProcedureCodeSequence) if it does not already exist.newPotentialReasonsForProcedureCodeSequence(int initialCapacity) Adds a new Potential Reasons for Procedure Code Sequence.default voidRemoves the Potential Reasons for Procedure Code Sequence (seePotentialReasonsForProcedureCodeSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
static PotentialReasonsForProcedureCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- An attributes object containing the Potential Reasons for Procedure Code Sequence (seePotentialReasonsForProcedureCodeSequence)- Returns:
- A wrapper object implementing the
PotentialReasonsForProcedureCodeSequence.Holderinterface.
-
getPotentialReasonsForProcedureCodeSequence
- Returns:
- the Potential Reasons for Procedure Code Sequence (see
PotentialReasonsForProcedureCodeSequence)
-
newPotentialReasonsForProcedureCodeSequence
default PotentialReasonsForProcedureCodeSequence newPotentialReasonsForProcedureCodeSequence(int initialCapacity) Adds a new Potential Reasons for Procedure Code Sequence. (seePotentialReasonsForProcedureCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Potential Reasons for Procedure Code Sequence
-
ensurePotentialReasonsForProcedureCodeSequence
default PotentialReasonsForProcedureCodeSequence ensurePotentialReasonsForProcedureCodeSequence(int initialCapacity) Adds a new Potential Reasons for Procedure Code Sequence (seePotentialReasonsForProcedureCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Potential Reasons for Procedure Code Sequence is created.- Returns:
- Either the already existing Potential Reasons for Procedure Code Sequence (see
PotentialReasonsForProcedureCodeSequence) or a new one with capacityinitialCapacity.
-
ensurePotentialReasonsForProcedureCodeSequence
Adds a new Potential Reasons for Procedure Code Sequence (seePotentialReasonsForProcedureCodeSequence) with initial capacity 1 (seeensurePotentialReasonsForProcedureCodeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Potential Reasons for Procedure Code Sequence (see
PotentialReasonsForProcedureCodeSequence) or a new one with capacity 1.
-
containsPotentialReasonsForProcedureCodeSequence
default boolean containsPotentialReasonsForProcedureCodeSequence()- Returns:
- Whether it contains the Potential Reasons for Procedure Code Sequence (see
PotentialReasonsForProcedureCodeSequence)
-
removePotentialReasonsForProcedureCodeSequence
default void removePotentialReasonsForProcedureCodeSequence()Removes the Potential Reasons for Procedure Code Sequence (seePotentialReasonsForProcedureCodeSequence
-