Interface UIDListMatchingSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
ScopeOfInventorySequence.Item
- Enclosing class:
- UIDListMatchingSequence
public static interface UIDListMatchingSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "List of UID Matching Sequence" (seeUIDListMatchingSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classUIDListMatchingSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static UIDListMatchingSequence.Holder.Builderbuilder()static UIDListMatchingSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsUIDListMatchingSequence()default UIDListMatchingSequenceensureUIDListMatchingSequence()Adds a new List of UID Matching Sequence (seeUIDListMatchingSequence) with initial capacity 1 (seeensureUIDListMatchingSequence(int)) if it does not already exist.default UIDListMatchingSequenceensureUIDListMatchingSequence(int initialCapacity)Adds a new List of UID Matching Sequence (seeUIDListMatchingSequence) if it does not already exist.default UIDListMatchingSequencegetUIDListMatchingSequence()default UIDListMatchingSequencenewUIDListMatchingSequence(int initialCapacity)Adds a new List of UID Matching Sequence.default voidremoveUIDListMatchingSequence()Removes the List of UID Matching Sequence (seeUIDListMatchingSequencestatic UIDListMatchingSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static UIDListMatchingSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the List of UID Matching Sequence (seeUIDListMatchingSequence)- Returns:
- a wrapper object implementing the
UIDListMatchingSequence.Holderinterface.
-
builder
static UIDListMatchingSequence.Holder.Builder builder()
- Returns:
- a
UIDListMatchingSequence.Holder.Builderto create List of UID Matching Sequence Items with a fluent API.
-
builder
static UIDListMatchingSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theUIDListMatchingSequence.Holder.Builder.- Returns:
- a
UIDListMatchingSequence.Holder.Builderto create List of UID Matching Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getUIDListMatchingSequence
default UIDListMatchingSequence getUIDListMatchingSequence()
- Returns:
- the List of UID Matching Sequence (see
UIDListMatchingSequence)
-
newUIDListMatchingSequence
default UIDListMatchingSequence newUIDListMatchingSequence(int initialCapacity)
Adds a new List of UID Matching Sequence. (seeUIDListMatchingSequence)- Parameters:
initialCapacity- the initial capacity for the new List of UID Matching Sequence- Returns:
- the newly created UIDListMatchingSequence.
-
ensureUIDListMatchingSequence
default UIDListMatchingSequence ensureUIDListMatchingSequence(int initialCapacity)
Adds a new List of UID Matching Sequence (seeUIDListMatchingSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new List of UID Matching Sequence is created.- Returns:
- either the already existing List of UID Matching Sequence (see
UIDListMatchingSequence) or a new one with capacityinitialCapacity.
-
ensureUIDListMatchingSequence
default UIDListMatchingSequence ensureUIDListMatchingSequence()
Adds a new List of UID Matching Sequence (seeUIDListMatchingSequence) with initial capacity 1 (seeensureUIDListMatchingSequence(int)) if it does not already exist.- Returns:
- either the already existing List of UID Matching Sequence (see
UIDListMatchingSequence) or a new one with capacity 1.
-
containsUIDListMatchingSequence
default boolean containsUIDListMatchingSequence()
- Returns:
- whether it contains the List of UID Matching Sequence (see
UIDListMatchingSequence)
-
removeUIDListMatchingSequence
default void removeUIDListMatchingSequence()
Removes the List of UID Matching Sequence (seeUIDListMatchingSequence
-
-