Interface ProcedureTypeCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
ImplantAssemblyTemplateModule
- All Known Implementing Classes:
ImplantAssemblyTemplateIOD
- Enclosing class:
- ProcedureTypeCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Procedure Type Code Sequence" (see
ProcedureTypeCodeSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault ProcedureTypeCodeSequenceAdds a new Procedure Type Code Sequence (seeProcedureTypeCodeSequence) with initial capacity 1 (seeensureProcedureTypeCodeSequence(int)) if it does not already exist.default ProcedureTypeCodeSequenceensureProcedureTypeCodeSequence(int initialCapacity) Adds a new Procedure Type Code Sequence (seeProcedureTypeCodeSequence) if it does not already exist.default ProcedureTypeCodeSequencedefault ProcedureTypeCodeSequencenewProcedureTypeCodeSequence(int initialCapacity) Adds a new Procedure Type Code Sequence.default voidRemoves the Procedure Type Code Sequence (seeProcedureTypeCodeSequencewrap(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 Procedure Type Code Sequence (seeProcedureTypeCodeSequence)- Returns:
- A wrapper object implementing the
ProcedureTypeCodeSequence.Holderinterface.
-
builder
- Returns:
- a
ProcedureTypeCodeSequence.Holder.Builderto create Procedure Type Code Sequence Items with a fluent API.
-
builder
- 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
- Returns:
- the Procedure Type Code Sequence (see
ProcedureTypeCodeSequence)
-
newProcedureTypeCodeSequence
Adds a new Procedure Type Code Sequence. (seeProcedureTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Procedure Type Code Sequence
-
ensureProcedureTypeCodeSequence
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
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
-