Interface SpecialNeeds.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
PatientMedicalModule
- All Known Implementing Classes:
SpecialNeeds.SimpleHolder,UnifiedProcedureStepIOD
- Enclosing class:
- SpecialNeeds
A class implementing this interface can hold attributes which contain the DICOM tag "Special Needs" (see
SpecialNeeds)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SpecialNeeds.Holder.Builderbuilder()static SpecialNeeds.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault SpecialNeedsdefault voidRemoves the Special Needs (seeSpecialNeedsstatic SpecialNeeds.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 Special Needs (seeSpecialNeeds)- Returns:
- A wrapper object implementing the
SpecialNeeds.Holderinterface.
-
builder
- Returns:
- a
SpecialNeeds.Holder.Builderto create Special Needs Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theSpecialNeeds.Holder.Builder.- Returns:
- a
SpecialNeeds.Holder.Builderto create Special Needs Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSpecialNeeds
- Returns:
- the Special Needs (see
SpecialNeeds)
-
containsSpecialNeeds
default boolean containsSpecialNeeds()- Returns:
- Whether it contains the Special Needs (see
SpecialNeeds)
-
removeSpecialNeeds
default void removeSpecialNeeds()Removes the Special Needs (seeSpecialNeeds
-