Interface IrradiationEventIdentificationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
IrradiationEventIdentificationSequence.SimpleHolder
- Enclosing class:
- IrradiationEventIdentificationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Irradiation Event Identification Sequence" (see
IrradiationEventIdentificationSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Irradiation Event Identification Sequence (seeIrradiationEventIdentificationSequence) with initial capacity 1 (seeensureIrradiationEventIdentificationSequence(int)) if it does not already exist.ensureIrradiationEventIdentificationSequence(int initialCapacity) Adds a new Irradiation Event Identification Sequence (seeIrradiationEventIdentificationSequence) if it does not already exist.newIrradiationEventIdentificationSequence(int initialCapacity) Adds a new Irradiation Event Identification Sequence.default voidRemoves the Irradiation Event Identification Sequence (seeIrradiationEventIdentificationSequencewrap(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 Irradiation Event Identification Sequence (seeIrradiationEventIdentificationSequence)- Returns:
- A wrapper object implementing the
IrradiationEventIdentificationSequence.Holderinterface.
-
builder
- Returns:
- a
IrradiationEventIdentificationSequence.Holder.Builderto create Irradiation Event Identification Sequence Items with a fluent API.
-
builder
static IrradiationEventIdentificationSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theIrradiationEventIdentificationSequence.Holder.Builder.- Returns:
- a
IrradiationEventIdentificationSequence.Holder.Builderto create Irradiation Event Identification Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getIrradiationEventIdentificationSequence
- Returns:
- the Irradiation Event Identification Sequence (see
IrradiationEventIdentificationSequence)
-
newIrradiationEventIdentificationSequence
default IrradiationEventIdentificationSequence newIrradiationEventIdentificationSequence(int initialCapacity) Adds a new Irradiation Event Identification Sequence. (seeIrradiationEventIdentificationSequence)- Parameters:
initialCapacity- the initial capacity for the new Irradiation Event Identification Sequence
-
ensureIrradiationEventIdentificationSequence
default IrradiationEventIdentificationSequence ensureIrradiationEventIdentificationSequence(int initialCapacity) Adds a new Irradiation Event Identification Sequence (seeIrradiationEventIdentificationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Irradiation Event Identification Sequence is created.- Returns:
- Either the already existing Irradiation Event Identification Sequence (see
IrradiationEventIdentificationSequence) or a new one with capacityinitialCapacity.
-
ensureIrradiationEventIdentificationSequence
Adds a new Irradiation Event Identification Sequence (seeIrradiationEventIdentificationSequence) with initial capacity 1 (seeensureIrradiationEventIdentificationSequence(int)) if it does not already exist.- Returns:
- Either the already existing Irradiation Event Identification Sequence (see
IrradiationEventIdentificationSequence) or a new one with capacity 1.
-
containsIrradiationEventIdentificationSequence
default boolean containsIrradiationEventIdentificationSequence()- Returns:
- Whether it contains the Irradiation Event Identification Sequence (see
IrradiationEventIdentificationSequence)
-
removeIrradiationEventIdentificationSequence
default void removeIrradiationEventIdentificationSequence()Removes the Irradiation Event Identification Sequence (seeIrradiationEventIdentificationSequence
-