Interface IonMachineVerificationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTIonMachineVerificationModule
- All Known Implementing Classes:
IonMachineVerificationSequence.SimpleHolder,RTIonMachineVerificationIOD
- Enclosing class:
- IonMachineVerificationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Ion Machine Verification Sequence" (see
IonMachineVerificationSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault IonMachineVerificationSequenceAdds a new Ion Machine Verification Sequence (seeIonMachineVerificationSequence) with initial capacity 1 (seeensureIonMachineVerificationSequence(int)) if it does not already exist.default IonMachineVerificationSequenceensureIonMachineVerificationSequence(int initialCapacity) Adds a new Ion Machine Verification Sequence (seeIonMachineVerificationSequence) if it does not already exist.default IonMachineVerificationSequencedefault IonMachineVerificationSequencenewIonMachineVerificationSequence(int initialCapacity) Adds a new Ion Machine Verification Sequence.default voidRemoves the Ion Machine Verification Sequence (seeIonMachineVerificationSequencewrap(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 Ion Machine Verification Sequence (seeIonMachineVerificationSequence)- Returns:
- A wrapper object implementing the
IonMachineVerificationSequence.Holderinterface.
-
builder
- Returns:
- a
IonMachineVerificationSequence.Holder.Builderto create Ion Machine Verification Sequence Items with a fluent API.
-
builder
static IonMachineVerificationSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theIonMachineVerificationSequence.Holder.Builder.- Returns:
- a
IonMachineVerificationSequence.Holder.Builderto create Ion Machine Verification Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getIonMachineVerificationSequence
- Returns:
- the Ion Machine Verification Sequence (see
IonMachineVerificationSequence)
-
newIonMachineVerificationSequence
Adds a new Ion Machine Verification Sequence. (seeIonMachineVerificationSequence)- Parameters:
initialCapacity- the initial capacity for the new Ion Machine Verification Sequence
-
ensureIonMachineVerificationSequence
Adds a new Ion Machine Verification Sequence (seeIonMachineVerificationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Ion Machine Verification Sequence is created.- Returns:
- Either the already existing Ion Machine Verification Sequence (see
IonMachineVerificationSequence) or a new one with capacityinitialCapacity.
-
ensureIonMachineVerificationSequence
Adds a new Ion Machine Verification Sequence (seeIonMachineVerificationSequence) with initial capacity 1 (seeensureIonMachineVerificationSequence(int)) if it does not already exist.- Returns:
- Either the already existing Ion Machine Verification Sequence (see
IonMachineVerificationSequence) or a new one with capacity 1.
-
containsIonMachineVerificationSequence
default boolean containsIonMachineVerificationSequence()- Returns:
- Whether it contains the Ion Machine Verification Sequence (see
IonMachineVerificationSequence)
-
removeIonMachineVerificationSequence
default void removeIonMachineVerificationSequence()Removes the Ion Machine Verification Sequence (seeIonMachineVerificationSequence
-