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