Interface RangeOfFreedom.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
MatingFeatureDegreeOfFreedomSequence.Item,RangeOfFreedom.SimpleHolder,TwoDDegreeOfFreedomSequence.Item
- Enclosing class:
- RangeOfFreedom
A class implementing this interface can hold attributes which contain the DICOM tag "Range of Freedom" (see
RangeOfFreedom)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault RangeOfFreedomdefault voidRemoves the Range of Freedom (seeRangeOfFreedomstatic RangeOfFreedom.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 Range of Freedom (seeRangeOfFreedom)- Returns:
- A wrapper object implementing the
RangeOfFreedom.Holderinterface.
-
builder
- Returns:
- a
RangeOfFreedom.Holder.Builderto create Range of Freedom Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theRangeOfFreedom.Holder.Builder.- Returns:
- a
RangeOfFreedom.Holder.Builderto create Range of Freedom Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRangeOfFreedom
- Returns:
- the Range of Freedom (see
RangeOfFreedom)
-
containsRangeOfFreedom
default boolean containsRangeOfFreedom()- Returns:
- Whether it contains the Range of Freedom (see
RangeOfFreedom)
-
removeRangeOfFreedom
default void removeRangeOfFreedom()Removes the Range of Freedom (seeRangeOfFreedom
-