Interface NumberOfBeams.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
FractionGroupSequence.Item,NumberOfBeams.SimpleHolder
- Enclosing class:
- NumberOfBeams
A class implementing this interface can hold attributes which contain the DICOM tag "Number of Beams" (see
NumberOfBeams)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic NumberOfBeams.Holder.Builderbuilder()static NumberOfBeams.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault NumberOfBeamsdefault voidRemoves the Number of Beams (seeNumberOfBeamsstatic NumberOfBeams.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 Number of Beams (seeNumberOfBeams)- Returns:
- A wrapper object implementing the
NumberOfBeams.Holderinterface.
-
builder
- Returns:
- a
NumberOfBeams.Holder.Builderto create Number of Beams Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theNumberOfBeams.Holder.Builder.- Returns:
- a
NumberOfBeams.Holder.Builderto create Number of Beams Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getNumberOfBeams
- Returns:
- the Number of Beams (see
NumberOfBeams)
-
containsNumberOfBeams
default boolean containsNumberOfBeams()- Returns:
- Whether it contains the Number of Beams (see
NumberOfBeams)
-
removeNumberOfBeams
default void removeNumberOfBeams()Removes the Number of Beams (seeNumberOfBeams
-