Interface ProcedureTypeCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
ImplantAssemblyTemplateModule
- All Known Implementing Classes:
ImplantAssemblyTemplateIOD,ImplantAssemblyTemplateModule.SimpleWrapper
- Enclosing class:
- ProcedureTypeCodeSequence
public static interface ProcedureTypeCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Procedure Type Code Sequence" (seeProcedureTypeCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classProcedureTypeCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static ProcedureTypeCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Procedure Type Code Sequence (seeProcedureTypeCodeSequence)- Returns:
- a wrapper object implementing the
ProcedureTypeCodeSequence.Holderinterface.
-
builder
static ProcedureTypeCodeSequence.Holder.Builder builder()
- Returns:
- a
ProcedureTypeCodeSequence.Holder.Builderto create Procedure Type Code Sequence Items with a fluent API.
-
builder
static ProcedureTypeCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theProcedureTypeCodeSequence.Holder.Builder.- Returns:
- a
ProcedureTypeCodeSequence.Holder.Builderto create Procedure Type Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getProcedureTypeCodeSequence
default ProcedureTypeCodeSequence getProcedureTypeCodeSequence()
- Returns:
- the Procedure Type Code Sequence (see
ProcedureTypeCodeSequence)
-
newProcedureTypeCodeSequence
default ProcedureTypeCodeSequence newProcedureTypeCodeSequence(int initialCapacity)
Adds a new Procedure Type Code Sequence. (seeProcedureTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Procedure Type Code Sequence- Returns:
- the newly created ProcedureTypeCodeSequence.
-
ensureProcedureTypeCodeSequence
default ProcedureTypeCodeSequence ensureProcedureTypeCodeSequence(int initialCapacity)
Adds a new Procedure Type Code Sequence (seeProcedureTypeCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Procedure Type Code Sequence is created.- Returns:
- either the already existing Procedure Type Code Sequence (see
ProcedureTypeCodeSequence) or a new one with capacityinitialCapacity.
-
ensureProcedureTypeCodeSequence
default ProcedureTypeCodeSequence ensureProcedureTypeCodeSequence()
Adds a new Procedure Type Code Sequence (seeProcedureTypeCodeSequence) with initial capacity 1 (seeensureProcedureTypeCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Procedure Type Code Sequence (see
ProcedureTypeCodeSequence) or a new one with capacity 1.
-
containsProcedureTypeCodeSequence
default boolean containsProcedureTypeCodeSequence()
- Returns:
- whether it contains the Procedure Type Code Sequence (see
ProcedureTypeCodeSequence)
-
removeProcedureTypeCodeSequence
default void removeProcedureTypeCodeSequence()
Removes the Procedure Type Code Sequence (seeProcedureTypeCodeSequence
-
-