Interface BrachyControlPointDeliveredSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
BrachyControlPointDeliveredSequence.SimpleHolder,RecordedChannelSequence.Item
- Enclosing class:
- BrachyControlPointDeliveredSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Brachy Control Point Delivered Sequence" (see
BrachyControlPointDeliveredSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Brachy Control Point Delivered Sequence (seeBrachyControlPointDeliveredSequence) with initial capacity 1 (seeensureBrachyControlPointDeliveredSequence(int)) if it does not already exist.ensureBrachyControlPointDeliveredSequence(int initialCapacity) Adds a new Brachy Control Point Delivered Sequence (seeBrachyControlPointDeliveredSequence) if it does not already exist.newBrachyControlPointDeliveredSequence(int initialCapacity) Adds a new Brachy Control Point Delivered Sequence.default voidRemoves the Brachy Control Point Delivered Sequence (seeBrachyControlPointDeliveredSequencewrap(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 Brachy Control Point Delivered Sequence (seeBrachyControlPointDeliveredSequence)- Returns:
- A wrapper object implementing the
BrachyControlPointDeliveredSequence.Holderinterface.
-
builder
- Returns:
- a
BrachyControlPointDeliveredSequence.Holder.Builderto create Brachy Control Point Delivered Sequence Items with a fluent API.
-
builder
static BrachyControlPointDeliveredSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theBrachyControlPointDeliveredSequence.Holder.Builder.- Returns:
- a
BrachyControlPointDeliveredSequence.Holder.Builderto create Brachy Control Point Delivered Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getBrachyControlPointDeliveredSequence
- Returns:
- the Brachy Control Point Delivered Sequence (see
BrachyControlPointDeliveredSequence)
-
newBrachyControlPointDeliveredSequence
default BrachyControlPointDeliveredSequence newBrachyControlPointDeliveredSequence(int initialCapacity) Adds a new Brachy Control Point Delivered Sequence. (seeBrachyControlPointDeliveredSequence)- Parameters:
initialCapacity- the initial capacity for the new Brachy Control Point Delivered Sequence
-
ensureBrachyControlPointDeliveredSequence
default BrachyControlPointDeliveredSequence ensureBrachyControlPointDeliveredSequence(int initialCapacity) Adds a new Brachy Control Point Delivered Sequence (seeBrachyControlPointDeliveredSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Brachy Control Point Delivered Sequence is created.- Returns:
- Either the already existing Brachy Control Point Delivered Sequence (see
BrachyControlPointDeliveredSequence) or a new one with capacityinitialCapacity.
-
ensureBrachyControlPointDeliveredSequence
Adds a new Brachy Control Point Delivered Sequence (seeBrachyControlPointDeliveredSequence) with initial capacity 1 (seeensureBrachyControlPointDeliveredSequence(int)) if it does not already exist.- Returns:
- Either the already existing Brachy Control Point Delivered Sequence (see
BrachyControlPointDeliveredSequence) or a new one with capacity 1.
-
containsBrachyControlPointDeliveredSequence
default boolean containsBrachyControlPointDeliveredSequence()- Returns:
- Whether it contains the Brachy Control Point Delivered Sequence (see
BrachyControlPointDeliveredSequence)
-
removeBrachyControlPointDeliveredSequence
default void removeBrachyControlPointDeliveredSequence()Removes the Brachy Control Point Delivered Sequence (seeBrachyControlPointDeliveredSequence
-