Interface InterlockResolutionUserSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
InterlockSequence.Item
- Enclosing class:
- InterlockResolutionUserSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Interlock Resolution User Sequence" (see
InterlockResolutionUserSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault InterlockResolutionUserSequenceAdds a new Interlock Resolution User Sequence (seeInterlockResolutionUserSequence) with initial capacity 1 (seeensureInterlockResolutionUserSequence(int)) if it does not already exist.default InterlockResolutionUserSequenceensureInterlockResolutionUserSequence(int initialCapacity) Adds a new Interlock Resolution User Sequence (seeInterlockResolutionUserSequence) if it does not already exist.default InterlockResolutionUserSequencedefault InterlockResolutionUserSequencenewInterlockResolutionUserSequence(int initialCapacity) Adds a new Interlock Resolution User Sequence.default voidRemoves the Interlock Resolution User Sequence (seeInterlockResolutionUserSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Interlock Resolution User Sequence (seeInterlockResolutionUserSequence)- Returns:
- A wrapper object implementing the
InterlockResolutionUserSequence.Holderinterface.
-
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
- Returns:
- the Interlock Resolution User Sequence (see
InterlockResolutionUserSequence)
-
newInterlockResolutionUserSequence
Adds a new Interlock Resolution User Sequence. (seeInterlockResolutionUserSequence)- Parameters:
initialCapacity- the initial capacity for the new Interlock Resolution User Sequence
-
ensureInterlockResolutionUserSequence
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
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
-