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