Interface InterlockResolutionUserSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
InterlockSequence.Item
- Enclosing class:
- InterlockResolutionUserSequence
public static interface InterlockResolutionUserSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Interlock Resolution User Sequence" (seeInterlockResolutionUserSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classInterlockResolutionUserSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static InterlockResolutionUserSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Interlock Resolution User Sequence (seeInterlockResolutionUserSequence)- Returns:
- a wrapper object implementing the
InterlockResolutionUserSequence.Holderinterface.
-
builder
static InterlockResolutionUserSequence.Holder.Builder builder()
- Returns:
- a
InterlockResolutionUserSequence.Holder.Builderto create Interlock Resolution User Sequence Items with a fluent API.
-
builder
static InterlockResolutionUserSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theInterlockResolutionUserSequence.Holder.Builder.- Returns:
- a
InterlockResolutionUserSequence.Holder.Builderto create Interlock Resolution User Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getInterlockResolutionUserSequence
default InterlockResolutionUserSequence getInterlockResolutionUserSequence()
- Returns:
- the Interlock Resolution User Sequence (see
InterlockResolutionUserSequence)
-
newInterlockResolutionUserSequence
default InterlockResolutionUserSequence newInterlockResolutionUserSequence(int initialCapacity)
Adds a new Interlock Resolution User Sequence. (seeInterlockResolutionUserSequence)- Parameters:
initialCapacity- the initial capacity for the new Interlock Resolution User Sequence- Returns:
- the newly created InterlockResolutionUserSequence.
-
ensureInterlockResolutionUserSequence
default InterlockResolutionUserSequence ensureInterlockResolutionUserSequence(int initialCapacity)
Adds a new Interlock Resolution User Sequence (seeInterlockResolutionUserSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Interlock Resolution User Sequence is created.- Returns:
- either the already existing Interlock Resolution User Sequence (see
InterlockResolutionUserSequence) or a new one with capacityinitialCapacity.
-
ensureInterlockResolutionUserSequence
default InterlockResolutionUserSequence ensureInterlockResolutionUserSequence()
Adds a new Interlock Resolution User Sequence (seeInterlockResolutionUserSequence) with initial capacity 1 (seeensureInterlockResolutionUserSequence(int)) if it does not already exist.- Returns:
- either the already existing Interlock Resolution User Sequence (see
InterlockResolutionUserSequence) or a new one with capacity 1.
-
containsInterlockResolutionUserSequence
default boolean containsInterlockResolutionUserSequence()
- Returns:
- whether it contains the Interlock Resolution User Sequence (see
InterlockResolutionUserSequence)
-
removeInterlockResolutionUserSequence
default void removeInterlockResolutionUserSequence()
Removes the Interlock Resolution User Sequence (seeInterlockResolutionUserSequence
-
-