Interface OtherMediaAvailableSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
OtherMediaAvailableSequence.SimpleHolder,PrinterConfigurationSequence.Item
- Enclosing class:
- OtherMediaAvailableSequence
public static interface OtherMediaAvailableSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Other Media Available Sequence" (seeOtherMediaAvailableSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOtherMediaAvailableSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static OtherMediaAvailableSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Other Media Available Sequence (seeOtherMediaAvailableSequence)- Returns:
- a wrapper object implementing the
OtherMediaAvailableSequence.Holderinterface.
-
builder
static OtherMediaAvailableSequence.Holder.Builder builder()
- Returns:
- a
OtherMediaAvailableSequence.Holder.Builderto create Other Media Available Sequence Items with a fluent API.
-
builder
static OtherMediaAvailableSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theOtherMediaAvailableSequence.Holder.Builder.- Returns:
- a
OtherMediaAvailableSequence.Holder.Builderto create Other Media Available Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getOtherMediaAvailableSequence
default OtherMediaAvailableSequence getOtherMediaAvailableSequence()
- Returns:
- the Other Media Available Sequence (see
OtherMediaAvailableSequence)
-
newOtherMediaAvailableSequence
default OtherMediaAvailableSequence newOtherMediaAvailableSequence(int initialCapacity)
Adds a new Other Media Available Sequence. (seeOtherMediaAvailableSequence)- Parameters:
initialCapacity- the initial capacity for the new Other Media Available Sequence- Returns:
- the newly created OtherMediaAvailableSequence.
-
ensureOtherMediaAvailableSequence
default OtherMediaAvailableSequence ensureOtherMediaAvailableSequence(int initialCapacity)
Adds a new Other Media Available Sequence (seeOtherMediaAvailableSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Other Media Available Sequence is created.- Returns:
- either the already existing Other Media Available Sequence (see
OtherMediaAvailableSequence) or a new one with capacityinitialCapacity.
-
ensureOtherMediaAvailableSequence
default OtherMediaAvailableSequence ensureOtherMediaAvailableSequence()
Adds a new Other Media Available Sequence (seeOtherMediaAvailableSequence) with initial capacity 1 (seeensureOtherMediaAvailableSequence(int)) if it does not already exist.- Returns:
- either the already existing Other Media Available Sequence (see
OtherMediaAvailableSequence) or a new one with capacity 1.
-
containsOtherMediaAvailableSequence
default boolean containsOtherMediaAvailableSequence()
- Returns:
- whether it contains the Other Media Available Sequence (see
OtherMediaAvailableSequence)
-
removeOtherMediaAvailableSequence
default void removeOtherMediaAvailableSequence()
Removes the Other Media Available Sequence (seeOtherMediaAvailableSequence
-
-