Interface ConstraintWeight.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ConstraintWeight.SimpleHolder,DoseReferenceSequence.Item,ReferencedDoseReferenceSequence.Item
- Enclosing class:
- ConstraintWeight
A class implementing this interface can hold attributes which contain the DICOM tag "Constraint Weight" (see
ConstraintWeight)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault ConstraintWeightdefault voidRemoves the Constraint Weight (seeConstraintWeightstatic ConstraintWeight.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 Constraint Weight (seeConstraintWeight)- Returns:
- A wrapper object implementing the
ConstraintWeight.Holderinterface.
-
builder
- Returns:
- a
ConstraintWeight.Holder.Builderto create Constraint Weight Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theConstraintWeight.Holder.Builder.- Returns:
- a
ConstraintWeight.Holder.Builderto create Constraint Weight Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getConstraintWeight
- Returns:
- the Constraint Weight (see
ConstraintWeight)
-
containsConstraintWeight
default boolean containsConstraintWeight()- Returns:
- Whether it contains the Constraint Weight (see
ConstraintWeight)
-
removeConstraintWeight
default void removeConstraintWeight()Removes the Constraint Weight (seeConstraintWeight
-