Interface ShieldingDeviceSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
PatientSetupSequence.Item
- Enclosing class:
- ShieldingDeviceSequence
public static interface ShieldingDeviceSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Shielding Device Sequence" (seeShieldingDeviceSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classShieldingDeviceSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ShieldingDeviceSequence.Holder.Builderbuilder()static ShieldingDeviceSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsShieldingDeviceSequence()default ShieldingDeviceSequenceensureShieldingDeviceSequence()Adds a new Shielding Device Sequence (seeShieldingDeviceSequence) with initial capacity 1 (seeensureShieldingDeviceSequence(int)) if it does not already exist.default ShieldingDeviceSequenceensureShieldingDeviceSequence(int initialCapacity)Adds a new Shielding Device Sequence (seeShieldingDeviceSequence) if it does not already exist.default ShieldingDeviceSequencegetShieldingDeviceSequence()default ShieldingDeviceSequencenewShieldingDeviceSequence(int initialCapacity)Adds a new Shielding Device Sequence.default voidremoveShieldingDeviceSequence()Removes the Shielding Device Sequence (seeShieldingDeviceSequencestatic ShieldingDeviceSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static ShieldingDeviceSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Shielding Device Sequence (seeShieldingDeviceSequence)- Returns:
- a wrapper object implementing the
ShieldingDeviceSequence.Holderinterface.
-
builder
static ShieldingDeviceSequence.Holder.Builder builder()
- Returns:
- a
ShieldingDeviceSequence.Holder.Builderto create Shielding Device Sequence Items with a fluent API.
-
builder
static ShieldingDeviceSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theShieldingDeviceSequence.Holder.Builder.- Returns:
- a
ShieldingDeviceSequence.Holder.Builderto create Shielding Device Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getShieldingDeviceSequence
default ShieldingDeviceSequence getShieldingDeviceSequence()
- Returns:
- the Shielding Device Sequence (see
ShieldingDeviceSequence)
-
newShieldingDeviceSequence
default ShieldingDeviceSequence newShieldingDeviceSequence(int initialCapacity)
Adds a new Shielding Device Sequence. (seeShieldingDeviceSequence)- Parameters:
initialCapacity- the initial capacity for the new Shielding Device Sequence- Returns:
- the newly created ShieldingDeviceSequence.
-
ensureShieldingDeviceSequence
default ShieldingDeviceSequence ensureShieldingDeviceSequence(int initialCapacity)
Adds a new Shielding Device Sequence (seeShieldingDeviceSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Shielding Device Sequence is created.- Returns:
- either the already existing Shielding Device Sequence (see
ShieldingDeviceSequence) or a new one with capacityinitialCapacity.
-
ensureShieldingDeviceSequence
default ShieldingDeviceSequence ensureShieldingDeviceSequence()
Adds a new Shielding Device Sequence (seeShieldingDeviceSequence) with initial capacity 1 (seeensureShieldingDeviceSequence(int)) if it does not already exist.- Returns:
- either the already existing Shielding Device Sequence (see
ShieldingDeviceSequence) or a new one with capacity 1.
-
containsShieldingDeviceSequence
default boolean containsShieldingDeviceSequence()
- Returns:
- whether it contains the Shielding Device Sequence (see
ShieldingDeviceSequence)
-
removeShieldingDeviceSequence
default void removeShieldingDeviceSequence()
Removes the Shielding Device Sequence (seeShieldingDeviceSequence
-
-