Interface IntendedRecipientsOfResultsIdentificationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RequestedProcedureModule
- All Known Implementing Classes:
IntendedRecipientsOfResultsIdentificationSequence.SimpleHolder
- Enclosing class:
- IntendedRecipientsOfResultsIdentificationSequence
public static interface IntendedRecipientsOfResultsIdentificationSequence.Holder
extends AttributesWrapper
A class implementing this interface can hold attributes which contain the DICOM tag "Intended Recipients of Results Identification Sequence" (see
IntendedRecipientsOfResultsIdentificationSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Intended Recipients of Results Identification Sequence (seeIntendedRecipientsOfResultsIdentificationSequence) with initial capacity 1 (seeensureIntendedRecipientsOfResultsIdentificationSequence(int)) if it does not already exist.ensureIntendedRecipientsOfResultsIdentificationSequence(int initialCapacity) Adds a new Intended Recipients of Results Identification Sequence (seeIntendedRecipientsOfResultsIdentificationSequence) if it does not already exist.newIntendedRecipientsOfResultsIdentificationSequence(int initialCapacity) Adds a new Intended Recipients of Results Identification Sequence.default voidRemoves the Intended Recipients of Results Identification Sequence (seeIntendedRecipientsOfResultsIdentificationSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
static IntendedRecipientsOfResultsIdentificationSequence.Holder wrap(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- An attributes object containing the Intended Recipients of Results Identification Sequence (seeIntendedRecipientsOfResultsIdentificationSequence)- Returns:
- A wrapper object implementing the
IntendedRecipientsOfResultsIdentificationSequence.Holderinterface.
-
builder
- Returns:
- a
IntendedRecipientsOfResultsIdentificationSequence.Holder.Builderto create Intended Recipients of Results Identification Sequence Items with a fluent API.
-
builder
static IntendedRecipientsOfResultsIdentificationSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theIntendedRecipientsOfResultsIdentificationSequence.Holder.Builder.- Returns:
- a
IntendedRecipientsOfResultsIdentificationSequence.Holder.Builderto create Intended Recipients of Results Identification Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getIntendedRecipientsOfResultsIdentificationSequence
default IntendedRecipientsOfResultsIdentificationSequence getIntendedRecipientsOfResultsIdentificationSequence()- Returns:
- the Intended Recipients of Results Identification Sequence (see
IntendedRecipientsOfResultsIdentificationSequence)
-
newIntendedRecipientsOfResultsIdentificationSequence
default IntendedRecipientsOfResultsIdentificationSequence newIntendedRecipientsOfResultsIdentificationSequence(int initialCapacity) Adds a new Intended Recipients of Results Identification Sequence. (seeIntendedRecipientsOfResultsIdentificationSequence)- Parameters:
initialCapacity- the initial capacity for the new Intended Recipients of Results Identification Sequence
-
ensureIntendedRecipientsOfResultsIdentificationSequence
default IntendedRecipientsOfResultsIdentificationSequence ensureIntendedRecipientsOfResultsIdentificationSequence(int initialCapacity) Adds a new Intended Recipients of Results Identification Sequence (seeIntendedRecipientsOfResultsIdentificationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Intended Recipients of Results Identification Sequence is created.- Returns:
- Either the already existing Intended Recipients of Results Identification Sequence (see
IntendedRecipientsOfResultsIdentificationSequence) or a new one with capacityinitialCapacity.
-
ensureIntendedRecipientsOfResultsIdentificationSequence
default IntendedRecipientsOfResultsIdentificationSequence ensureIntendedRecipientsOfResultsIdentificationSequence()Adds a new Intended Recipients of Results Identification Sequence (seeIntendedRecipientsOfResultsIdentificationSequence) with initial capacity 1 (seeensureIntendedRecipientsOfResultsIdentificationSequence(int)) if it does not already exist.- Returns:
- Either the already existing Intended Recipients of Results Identification Sequence (see
IntendedRecipientsOfResultsIdentificationSequence) or a new one with capacity 1.
-
containsIntendedRecipientsOfResultsIdentificationSequence
default boolean containsIntendedRecipientsOfResultsIdentificationSequence()- Returns:
- Whether it contains the Intended Recipients of Results Identification Sequence (see
IntendedRecipientsOfResultsIdentificationSequence)
-
removeIntendedRecipientsOfResultsIdentificationSequence
default void removeIntendedRecipientsOfResultsIdentificationSequence()Removes the Intended Recipients of Results Identification Sequence (seeIntendedRecipientsOfResultsIdentificationSequence
-