Interface DerivationImplantAssemblyTemplateSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
ImplantAssemblyTemplateModule
- All Known Implementing Classes:
ImplantAssemblyTemplateIOD
- Enclosing class:
- DerivationImplantAssemblyTemplateSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Derivation Implant Assembly Template Sequence" (see
DerivationImplantAssemblyTemplateSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Derivation Implant Assembly Template Sequence (seeDerivationImplantAssemblyTemplateSequence) with initial capacity 1 (seeensureDerivationImplantAssemblyTemplateSequence(int)) if it does not already exist.ensureDerivationImplantAssemblyTemplateSequence(int initialCapacity) Adds a new Derivation Implant Assembly Template Sequence (seeDerivationImplantAssemblyTemplateSequence) if it does not already exist.newDerivationImplantAssemblyTemplateSequence(int initialCapacity) Adds a new Derivation Implant Assembly Template Sequence.default voidRemoves the Derivation Implant Assembly Template Sequence (seeDerivationImplantAssemblyTemplateSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
static DerivationImplantAssemblyTemplateSequence.Holder wrap(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- An attributes object containing the Derivation Implant Assembly Template Sequence (seeDerivationImplantAssemblyTemplateSequence)- Returns:
- A wrapper object implementing the
DerivationImplantAssemblyTemplateSequence.Holderinterface.
-
builder
- Returns:
- a
DerivationImplantAssemblyTemplateSequence.Holder.Builderto create Derivation Implant Assembly Template Sequence Items with a fluent API.
-
builder
static DerivationImplantAssemblyTemplateSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theDerivationImplantAssemblyTemplateSequence.Holder.Builder.- Returns:
- a
DerivationImplantAssemblyTemplateSequence.Holder.Builderto create Derivation Implant Assembly Template Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getDerivationImplantAssemblyTemplateSequence
- Returns:
- the Derivation Implant Assembly Template Sequence (see
DerivationImplantAssemblyTemplateSequence)
-
newDerivationImplantAssemblyTemplateSequence
default DerivationImplantAssemblyTemplateSequence newDerivationImplantAssemblyTemplateSequence(int initialCapacity) Adds a new Derivation Implant Assembly Template Sequence. (seeDerivationImplantAssemblyTemplateSequence)- Parameters:
initialCapacity- the initial capacity for the new Derivation Implant Assembly Template Sequence
-
ensureDerivationImplantAssemblyTemplateSequence
default DerivationImplantAssemblyTemplateSequence ensureDerivationImplantAssemblyTemplateSequence(int initialCapacity) Adds a new Derivation Implant Assembly Template Sequence (seeDerivationImplantAssemblyTemplateSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Derivation Implant Assembly Template Sequence is created.- Returns:
- Either the already existing Derivation Implant Assembly Template Sequence (see
DerivationImplantAssemblyTemplateSequence) or a new one with capacityinitialCapacity.
-
ensureDerivationImplantAssemblyTemplateSequence
Adds a new Derivation Implant Assembly Template Sequence (seeDerivationImplantAssemblyTemplateSequence) with initial capacity 1 (seeensureDerivationImplantAssemblyTemplateSequence(int)) if it does not already exist.- Returns:
- Either the already existing Derivation Implant Assembly Template Sequence (see
DerivationImplantAssemblyTemplateSequence) or a new one with capacity 1.
-
containsDerivationImplantAssemblyTemplateSequence
default boolean containsDerivationImplantAssemblyTemplateSequence()- Returns:
- Whether it contains the Derivation Implant Assembly Template Sequence (see
DerivationImplantAssemblyTemplateSequence)
-
removeDerivationImplantAssemblyTemplateSequence
default void removeDerivationImplantAssemblyTemplateSequence()Removes the Derivation Implant Assembly Template Sequence (seeDerivationImplantAssemblyTemplateSequence
-