Interface GeneralMachineVerificationSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
RTGeneralMachineVerificationModule
- All Known Implementing Classes:
RTConventionalMachineVerificationIOD,RTGeneralMachineVerificationModule.SimpleWrapper,RTIonMachineVerificationIOD
- Enclosing class:
- GeneralMachineVerificationSequence
public static interface GeneralMachineVerificationSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "General Machine Verification Sequence" (seeGeneralMachineVerificationSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classGeneralMachineVerificationSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static GeneralMachineVerificationSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the General Machine Verification Sequence (seeGeneralMachineVerificationSequence)- Returns:
- a wrapper object implementing the
GeneralMachineVerificationSequence.Holderinterface.
-
builder
static GeneralMachineVerificationSequence.Holder.Builder 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
default GeneralMachineVerificationSequence 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- Returns:
- the newly created GeneralMachineVerificationSequence.
-
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
default GeneralMachineVerificationSequence 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
-
-