Interface GeneralMachineVerificationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTGeneralMachineVerificationModule
- All Known Implementing Classes:
GeneralMachineVerificationSequence.SimpleHolder,RTConventionalMachineVerificationIOD,RTIonMachineVerificationIOD
- Enclosing class:
- GeneralMachineVerificationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "General Machine Verification Sequence" (see
GeneralMachineVerificationSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new General Machine Verification Sequence (seeGeneralMachineVerificationSequence) with initial capacity 1 (seeensureGeneralMachineVerificationSequence(int)) if it does not already exist.ensureGeneralMachineVerificationSequence(int initialCapacity) Adds a new General Machine Verification Sequence (seeGeneralMachineVerificationSequence) if it does not already exist.newGeneralMachineVerificationSequence(int initialCapacity) Adds a new General Machine Verification Sequence.default voidRemoves the General Machine Verification Sequence (seeGeneralMachineVerificationSequencewrap(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 General Machine Verification Sequence (seeGeneralMachineVerificationSequence)- Returns:
- A wrapper object implementing the
GeneralMachineVerificationSequence.Holderinterface.
-
builder
- Returns:
- a
GeneralMachineVerificationSequence.Holder.Builderto create General Machine Verification Sequence Items with a fluent API.
-
builder
static GeneralMachineVerificationSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theGeneralMachineVerificationSequence.Holder.Builder.- Returns:
- a
GeneralMachineVerificationSequence.Holder.Builderto create General Machine Verification Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getGeneralMachineVerificationSequence
- Returns:
- the General Machine Verification Sequence (see
GeneralMachineVerificationSequence)
-
newGeneralMachineVerificationSequence
default GeneralMachineVerificationSequence newGeneralMachineVerificationSequence(int initialCapacity) Adds a new General Machine Verification Sequence. (seeGeneralMachineVerificationSequence)- Parameters:
initialCapacity- the initial capacity for the new General Machine Verification Sequence
-
ensureGeneralMachineVerificationSequence
default GeneralMachineVerificationSequence ensureGeneralMachineVerificationSequence(int initialCapacity) Adds a new General Machine Verification Sequence (seeGeneralMachineVerificationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new General Machine Verification Sequence is created.- Returns:
- Either the already existing General Machine Verification Sequence (see
GeneralMachineVerificationSequence) or a new one with capacityinitialCapacity.
-
ensureGeneralMachineVerificationSequence
Adds a new General Machine Verification Sequence (seeGeneralMachineVerificationSequence) with initial capacity 1 (seeensureGeneralMachineVerificationSequence(int)) if it does not already exist.- Returns:
- Either the already existing General Machine Verification Sequence (see
GeneralMachineVerificationSequence) or a new one with capacity 1.
-
containsGeneralMachineVerificationSequence
default boolean containsGeneralMachineVerificationSequence()- Returns:
- Whether it contains the General Machine Verification Sequence (see
GeneralMachineVerificationSequence)
-
removeGeneralMachineVerificationSequence
default void removeGeneralMachineVerificationSequence()Removes the General Machine Verification Sequence (seeGeneralMachineVerificationSequence
-