Interface PotentialReasonsForProcedureCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
ProtocolContextModule
- All Known Implementing Classes:
CTDefinedProcedureProtocolIOD,CTPerformedProcedureProtocolIOD,PotentialReasonsForProcedureCodeSequence.SimpleHolder,XADefinedProcedureProtocolIOD,XAPerformedProcedureProtocolIOD
- Enclosing class:
- PotentialReasonsForProcedureCodeSequence
public static interface PotentialReasonsForProcedureCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Potential Reasons for Procedure Code Sequence" (seePotentialReasonsForProcedureCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPotentialReasonsForProcedureCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
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.
-
builder
static PotentialReasonsForProcedureCodeSequence.Holder.Builder builder()
- Returns:
- a
PotentialReasonsForProcedureCodeSequence.Holder.Builderto create Potential Reasons for Procedure Code Sequence Items with a fluent API.
-
builder
static PotentialReasonsForProcedureCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by thePotentialReasonsForProcedureCodeSequence.Holder.Builder.- Returns:
- a
PotentialReasonsForProcedureCodeSequence.Holder.Builderto create Potential Reasons for Procedure Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPotentialReasonsForProcedureCodeSequence
default PotentialReasonsForProcedureCodeSequence 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- Returns:
- the newly created PotentialReasonsForProcedureCodeSequence.
-
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
default PotentialReasonsForProcedureCodeSequence 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
-
-