Interface SpecimenPreparationStepContentItemSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
SpecimenPreparationSequence.Item
- Enclosing class:
- SpecimenPreparationStepContentItemSequence
public static interface SpecimenPreparationStepContentItemSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Specimen Preparation Step Content Item Sequence" (seeSpecimenPreparationStepContentItemSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSpecimenPreparationStepContentItemSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static SpecimenPreparationStepContentItemSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Specimen Preparation Step Content Item Sequence (seeSpecimenPreparationStepContentItemSequence)- Returns:
- a wrapper object implementing the
SpecimenPreparationStepContentItemSequence.Holderinterface.
-
builder
static SpecimenPreparationStepContentItemSequence.Holder.Builder builder()
- Returns:
- a
SpecimenPreparationStepContentItemSequence.Holder.Builderto create Specimen Preparation Step Content Item Sequence Items with a fluent API.
-
builder
static SpecimenPreparationStepContentItemSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theSpecimenPreparationStepContentItemSequence.Holder.Builder.- Returns:
- a
SpecimenPreparationStepContentItemSequence.Holder.Builderto create Specimen Preparation Step Content Item Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSpecimenPreparationStepContentItemSequence
default SpecimenPreparationStepContentItemSequence getSpecimenPreparationStepContentItemSequence()
- Returns:
- the Specimen Preparation Step Content Item Sequence (see
SpecimenPreparationStepContentItemSequence)
-
newSpecimenPreparationStepContentItemSequence
default SpecimenPreparationStepContentItemSequence newSpecimenPreparationStepContentItemSequence(int initialCapacity)
Adds a new Specimen Preparation Step Content Item Sequence. (seeSpecimenPreparationStepContentItemSequence)- Parameters:
initialCapacity- the initial capacity for the new Specimen Preparation Step Content Item Sequence- Returns:
- the newly created SpecimenPreparationStepContentItemSequence.
-
ensureSpecimenPreparationStepContentItemSequence
default SpecimenPreparationStepContentItemSequence ensureSpecimenPreparationStepContentItemSequence(int initialCapacity)
Adds a new Specimen Preparation Step Content Item Sequence (seeSpecimenPreparationStepContentItemSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Specimen Preparation Step Content Item Sequence is created.- Returns:
- either the already existing Specimen Preparation Step Content Item Sequence (see
SpecimenPreparationStepContentItemSequence) or a new one with capacityinitialCapacity.
-
ensureSpecimenPreparationStepContentItemSequence
default SpecimenPreparationStepContentItemSequence ensureSpecimenPreparationStepContentItemSequence()
Adds a new Specimen Preparation Step Content Item Sequence (seeSpecimenPreparationStepContentItemSequence) with initial capacity 1 (seeensureSpecimenPreparationStepContentItemSequence(int)) if it does not already exist.- Returns:
- either the already existing Specimen Preparation Step Content Item Sequence (see
SpecimenPreparationStepContentItemSequence) or a new one with capacity 1.
-
containsSpecimenPreparationStepContentItemSequence
default boolean containsSpecimenPreparationStepContentItemSequence()
- Returns:
- whether it contains the Specimen Preparation Step Content Item Sequence (see
SpecimenPreparationStepContentItemSequence)
-
removeSpecimenPreparationStepContentItemSequence
default void removeSpecimenPreparationStepContentItemSequence()
Removes the Specimen Preparation Step Content Item Sequence (seeSpecimenPreparationStepContentItemSequence
-
-