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