Interface TestResult.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
TestResult.SimpleHolder,VisualEvaluationTestSequence.Item
- Enclosing class:
- TestResult
A class implementing this interface can hold attributes which contain the DICOM tag "Test Result" (see
TestResult)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TestResult.Holder.Builderbuilder()static TestResult.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault TestResultdefault voidRemoves the Test Result (seeTestResultstatic TestResult.Holderwrap(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 Test Result (seeTestResult)- Returns:
- A wrapper object implementing the
TestResult.Holderinterface.
-
builder
- Returns:
- a
TestResult.Holder.Builderto create Test Result Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theTestResult.Holder.Builder.- Returns:
- a
TestResult.Holder.Builderto create Test Result Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTestResult
- Returns:
- the Test Result (see
TestResult)
-
containsTestResult
default boolean containsTestResult()- Returns:
- Whether it contains the Test Result (see
TestResult)
-
removeTestResult
default void removeTestResult()Removes the Test Result (seeTestResult
-