Interface StructuredConstraintObservationSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
AssessmentObservationsSequence.Item,StructuredConstraintObservationSequence.SimpleHolder
- Enclosing class:
- StructuredConstraintObservationSequence
public static interface StructuredConstraintObservationSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Structured Constraint Observation Sequence" (seeStructuredConstraintObservationSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStructuredConstraintObservationSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static StructuredConstraintObservationSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Structured Constraint Observation Sequence (seeStructuredConstraintObservationSequence)- Returns:
- a wrapper object implementing the
StructuredConstraintObservationSequence.Holderinterface.
-
builder
static StructuredConstraintObservationSequence.Holder.Builder builder()
- Returns:
- a
StructuredConstraintObservationSequence.Holder.Builderto create Structured Constraint Observation Sequence Items with a fluent API.
-
builder
static StructuredConstraintObservationSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theStructuredConstraintObservationSequence.Holder.Builder.- Returns:
- a
StructuredConstraintObservationSequence.Holder.Builderto create Structured Constraint Observation Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getStructuredConstraintObservationSequence
default StructuredConstraintObservationSequence getStructuredConstraintObservationSequence()
- Returns:
- the Structured Constraint Observation Sequence (see
StructuredConstraintObservationSequence)
-
newStructuredConstraintObservationSequence
default StructuredConstraintObservationSequence newStructuredConstraintObservationSequence(int initialCapacity)
Adds a new Structured Constraint Observation Sequence. (seeStructuredConstraintObservationSequence)- Parameters:
initialCapacity- the initial capacity for the new Structured Constraint Observation Sequence- Returns:
- the newly created StructuredConstraintObservationSequence.
-
ensureStructuredConstraintObservationSequence
default StructuredConstraintObservationSequence ensureStructuredConstraintObservationSequence(int initialCapacity)
Adds a new Structured Constraint Observation Sequence (seeStructuredConstraintObservationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Structured Constraint Observation Sequence is created.- Returns:
- either the already existing Structured Constraint Observation Sequence (see
StructuredConstraintObservationSequence) or a new one with capacityinitialCapacity.
-
ensureStructuredConstraintObservationSequence
default StructuredConstraintObservationSequence ensureStructuredConstraintObservationSequence()
Adds a new Structured Constraint Observation Sequence (seeStructuredConstraintObservationSequence) with initial capacity 1 (seeensureStructuredConstraintObservationSequence(int)) if it does not already exist.- Returns:
- either the already existing Structured Constraint Observation Sequence (see
StructuredConstraintObservationSequence) or a new one with capacity 1.
-
containsStructuredConstraintObservationSequence
default boolean containsStructuredConstraintObservationSequence()
- Returns:
- whether it contains the Structured Constraint Observation Sequence (see
StructuredConstraintObservationSequence)
-
removeStructuredConstraintObservationSequence
default void removeStructuredConstraintObservationSequence()
Removes the Structured Constraint Observation Sequence (seeStructuredConstraintObservationSequence
-
-