Interface OtherFailuresSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
OtherFailuresSequence.SimpleHolder
- Enclosing class:
- OtherFailuresSequence
public static interface OtherFailuresSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Other Failures Sequence" (seeOtherFailuresSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOtherFailuresSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static OtherFailuresSequence.Holder.Builderbuilder()static OtherFailuresSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsOtherFailuresSequence()default OtherFailuresSequenceensureOtherFailuresSequence()Adds a new Other Failures Sequence (seeOtherFailuresSequence) with initial capacity 1 (seeensureOtherFailuresSequence(int)) if it does not already exist.default OtherFailuresSequenceensureOtherFailuresSequence(int initialCapacity)Adds a new Other Failures Sequence (seeOtherFailuresSequence) if it does not already exist.default OtherFailuresSequencegetOtherFailuresSequence()default OtherFailuresSequencenewOtherFailuresSequence(int initialCapacity)Adds a new Other Failures Sequence.default voidremoveOtherFailuresSequence()Removes the Other Failures Sequence (seeOtherFailuresSequencestatic OtherFailuresSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static OtherFailuresSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Other Failures Sequence (seeOtherFailuresSequence)- Returns:
- a wrapper object implementing the
OtherFailuresSequence.Holderinterface.
-
builder
static OtherFailuresSequence.Holder.Builder builder()
- Returns:
- a
OtherFailuresSequence.Holder.Builderto create Other Failures Sequence Items with a fluent API.
-
builder
static OtherFailuresSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theOtherFailuresSequence.Holder.Builder.- Returns:
- a
OtherFailuresSequence.Holder.Builderto create Other Failures Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getOtherFailuresSequence
default OtherFailuresSequence getOtherFailuresSequence()
- Returns:
- the Other Failures Sequence (see
OtherFailuresSequence)
-
newOtherFailuresSequence
default OtherFailuresSequence newOtherFailuresSequence(int initialCapacity)
Adds a new Other Failures Sequence. (seeOtherFailuresSequence)- Parameters:
initialCapacity- the initial capacity for the new Other Failures Sequence- Returns:
- the newly created OtherFailuresSequence.
-
ensureOtherFailuresSequence
default OtherFailuresSequence ensureOtherFailuresSequence(int initialCapacity)
Adds a new Other Failures Sequence (seeOtherFailuresSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Other Failures Sequence is created.- Returns:
- either the already existing Other Failures Sequence (see
OtherFailuresSequence) or a new one with capacityinitialCapacity.
-
ensureOtherFailuresSequence
default OtherFailuresSequence ensureOtherFailuresSequence()
Adds a new Other Failures Sequence (seeOtherFailuresSequence) with initial capacity 1 (seeensureOtherFailuresSequence(int)) if it does not already exist.- Returns:
- either the already existing Other Failures Sequence (see
OtherFailuresSequence) or a new one with capacity 1.
-
containsOtherFailuresSequence
default boolean containsOtherFailuresSequence()
- Returns:
- whether it contains the Other Failures Sequence (see
OtherFailuresSequence)
-
removeOtherFailuresSequence
default void removeOtherFailuresSequence()
Removes the Other Failures Sequence (seeOtherFailuresSequence
-
-