Interface AsserterIdentificationSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
ApprovalSequence.Item,ConfirmationSequence.Item,OmittedRadiationSequence.Item
- Enclosing class:
- AsserterIdentificationSequence
public static interface AsserterIdentificationSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Asserter Identification Sequence" (seeAsserterIdentificationSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAsserterIdentificationSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static AsserterIdentificationSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Asserter Identification Sequence (seeAsserterIdentificationSequence)- Returns:
- a wrapper object implementing the
AsserterIdentificationSequence.Holderinterface.
-
builder
static AsserterIdentificationSequence.Holder.Builder builder()
- Returns:
- a
AsserterIdentificationSequence.Holder.Builderto create Asserter Identification Sequence Items with a fluent API.
-
builder
static AsserterIdentificationSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theAsserterIdentificationSequence.Holder.Builder.- Returns:
- a
AsserterIdentificationSequence.Holder.Builderto create Asserter Identification Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getAsserterIdentificationSequence
default AsserterIdentificationSequence getAsserterIdentificationSequence()
- Returns:
- the Asserter Identification Sequence (see
AsserterIdentificationSequence)
-
newAsserterIdentificationSequence
default AsserterIdentificationSequence newAsserterIdentificationSequence(int initialCapacity)
Adds a new Asserter Identification Sequence. (seeAsserterIdentificationSequence)- Parameters:
initialCapacity- the initial capacity for the new Asserter Identification Sequence- Returns:
- the newly created AsserterIdentificationSequence.
-
ensureAsserterIdentificationSequence
default AsserterIdentificationSequence ensureAsserterIdentificationSequence(int initialCapacity)
Adds a new Asserter Identification Sequence (seeAsserterIdentificationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Asserter Identification Sequence is created.- Returns:
- either the already existing Asserter Identification Sequence (see
AsserterIdentificationSequence) or a new one with capacityinitialCapacity.
-
ensureAsserterIdentificationSequence
default AsserterIdentificationSequence ensureAsserterIdentificationSequence()
Adds a new Asserter Identification Sequence (seeAsserterIdentificationSequence) with initial capacity 1 (seeensureAsserterIdentificationSequence(int)) if it does not already exist.- Returns:
- either the already existing Asserter Identification Sequence (see
AsserterIdentificationSequence) or a new one with capacity 1.
-
containsAsserterIdentificationSequence
default boolean containsAsserterIdentificationSequence()
- Returns:
- whether it contains the Asserter Identification Sequence (see
AsserterIdentificationSequence)
-
removeAsserterIdentificationSequence
default void removeAsserterIdentificationSequence()
Removes the Asserter Identification Sequence (seeAsserterIdentificationSequence
-
-