Interface RTPrescriptionLabel.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
RTPrescriptionLabel.SimpleHolder,RTPrescriptionSequence.Item
- Enclosing class:
- RTPrescriptionLabel
A class implementing this interface can hold attributes which contain the DICOM tag "RT Prescription Label" (see
RTPrescriptionLabel)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault RTPrescriptionLabeldefault voidRemoves the RT Prescription Label (seeRTPrescriptionLabelstatic RTPrescriptionLabel.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 RT Prescription Label (seeRTPrescriptionLabel)- Returns:
- A wrapper object implementing the
RTPrescriptionLabel.Holderinterface.
-
builder
- Returns:
- a
RTPrescriptionLabel.Holder.Builderto create RT Prescription Label Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theRTPrescriptionLabel.Holder.Builder.- Returns:
- a
RTPrescriptionLabel.Holder.Builderto create RT Prescription Label Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRTPrescriptionLabel
- Returns:
- the RT Prescription Label (see
RTPrescriptionLabel)
-
containsRTPrescriptionLabel
default boolean containsRTPrescriptionLabel()- Returns:
- Whether it contains the RT Prescription Label (see
RTPrescriptionLabel)
-
removeRTPrescriptionLabel
default void removeRTPrescriptionLabel()Removes the RT Prescription Label (seeRTPrescriptionLabel
-