Interface InterpretationApproverSequence.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- InterpretationApproverSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Interpretation Approver Sequence" (see
InterpretationApproverSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault InterpretationApproverSequenceAdds a new Interpretation Approver Sequence (seeInterpretationApproverSequence) with initial capacity 1 (seeensureInterpretationApproverSequence(int)) if it does not already exist.default InterpretationApproverSequenceensureInterpretationApproverSequence(int initialCapacity) Adds a new Interpretation Approver Sequence (seeInterpretationApproverSequence) if it does not already exist.default InterpretationApproverSequencedefault InterpretationApproverSequencenewInterpretationApproverSequence(int initialCapacity) Adds a new Interpretation Approver Sequence.default voidRemoves the Interpretation Approver Sequence (seeInterpretationApproverSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Interpretation Approver Sequence (seeInterpretationApproverSequence)- Returns:
- A wrapper object implementing the
InterpretationApproverSequence.Holderinterface.
-
builder
- Returns:
- a
InterpretationApproverSequence.Holder.Builderto create Interpretation Approver Sequence Items with a fluent API.
-
builder
static InterpretationApproverSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theInterpretationApproverSequence.Holder.Builder.- Returns:
- a
InterpretationApproverSequence.Holder.Builderto create Interpretation Approver Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getInterpretationApproverSequence
- Returns:
- the Interpretation Approver Sequence (see
InterpretationApproverSequence)
-
newInterpretationApproverSequence
Adds a new Interpretation Approver Sequence. (seeInterpretationApproverSequence)- Parameters:
initialCapacity- the initial capacity for the new Interpretation Approver Sequence
-
ensureInterpretationApproverSequence
Adds a new Interpretation Approver Sequence (seeInterpretationApproverSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Interpretation Approver Sequence is created.- Returns:
- Either the already existing Interpretation Approver Sequence (see
InterpretationApproverSequence) or a new one with capacityinitialCapacity.
-
ensureInterpretationApproverSequence
Adds a new Interpretation Approver Sequence (seeInterpretationApproverSequence) with initial capacity 1 (seeensureInterpretationApproverSequence(int)) if it does not already exist.- Returns:
- Either the already existing Interpretation Approver Sequence (see
InterpretationApproverSequence) or a new one with capacity 1.
-
containsInterpretationApproverSequence
default boolean containsInterpretationApproverSequence()- Returns:
- Whether it contains the Interpretation Approver Sequence (see
InterpretationApproverSequence)
-
removeInterpretationApproverSequence
default void removeInterpretationApproverSequence()Removes the Interpretation Approver Sequence (seeInterpretationApproverSequence
-