Interface PerformedSeriesSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
ImageAcquisitionResultsModule
- All Known Implementing Classes:
ImageAcquisitionResultsModule.SimpleWrapper,ModalityPerformedProcedureStepIOD
- Enclosing class:
- PerformedSeriesSequence
public static interface PerformedSeriesSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Performed Series Sequence" (seePerformedSeriesSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPerformedSeriesSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static PerformedSeriesSequence.Holder.Builderbuilder()static PerformedSeriesSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsPerformedSeriesSequence()default PerformedSeriesSequenceensurePerformedSeriesSequence()Adds a new Performed Series Sequence (seePerformedSeriesSequence) with initial capacity 1 (seeensurePerformedSeriesSequence(int)) if it does not already exist.default PerformedSeriesSequenceensurePerformedSeriesSequence(int initialCapacity)Adds a new Performed Series Sequence (seePerformedSeriesSequence) if it does not already exist.default PerformedSeriesSequencegetPerformedSeriesSequence()default PerformedSeriesSequencenewPerformedSeriesSequence(int initialCapacity)Adds a new Performed Series Sequence.default voidremovePerformedSeriesSequence()Removes the Performed Series Sequence (seePerformedSeriesSequencestatic PerformedSeriesSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static PerformedSeriesSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Performed Series Sequence (seePerformedSeriesSequence)- Returns:
- a wrapper object implementing the
PerformedSeriesSequence.Holderinterface.
-
builder
static PerformedSeriesSequence.Holder.Builder builder()
- Returns:
- a
PerformedSeriesSequence.Holder.Builderto create Performed Series Sequence Items with a fluent API.
-
builder
static PerformedSeriesSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by thePerformedSeriesSequence.Holder.Builder.- Returns:
- a
PerformedSeriesSequence.Holder.Builderto create Performed Series Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPerformedSeriesSequence
default PerformedSeriesSequence getPerformedSeriesSequence()
- Returns:
- the Performed Series Sequence (see
PerformedSeriesSequence)
-
newPerformedSeriesSequence
default PerformedSeriesSequence newPerformedSeriesSequence(int initialCapacity)
Adds a new Performed Series Sequence. (seePerformedSeriesSequence)- Parameters:
initialCapacity- the initial capacity for the new Performed Series Sequence- Returns:
- the newly created PerformedSeriesSequence.
-
ensurePerformedSeriesSequence
default PerformedSeriesSequence ensurePerformedSeriesSequence(int initialCapacity)
Adds a new Performed Series Sequence (seePerformedSeriesSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Performed Series Sequence is created.- Returns:
- either the already existing Performed Series Sequence (see
PerformedSeriesSequence) or a new one with capacityinitialCapacity.
-
ensurePerformedSeriesSequence
default PerformedSeriesSequence ensurePerformedSeriesSequence()
Adds a new Performed Series Sequence (seePerformedSeriesSequence) with initial capacity 1 (seeensurePerformedSeriesSequence(int)) if it does not already exist.- Returns:
- either the already existing Performed Series Sequence (see
PerformedSeriesSequence) or a new one with capacity 1.
-
containsPerformedSeriesSequence
default boolean containsPerformedSeriesSequence()
- Returns:
- whether it contains the Performed Series Sequence (see
PerformedSeriesSequence)
-
removePerformedSeriesSequence
default void removePerformedSeriesSequence()
Removes the Performed Series Sequence (seePerformedSeriesSequence
-
-