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