Interface OrderPlacerIdentifierSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
ImagingServiceRequestModule
- All Known Implementing Classes:
OrderPlacerIdentifierSequence.SimpleHolder,ReferencedRequestSequence.Item,ScheduledStepAttributesSequence.Item
- Enclosing class:
- OrderPlacerIdentifierSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Order Placer Identifier Sequence" (see
OrderPlacerIdentifierSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault OrderPlacerIdentifierSequenceAdds a new Order Placer Identifier Sequence (seeOrderPlacerIdentifierSequence) with initial capacity 1 (seeensureOrderPlacerIdentifierSequence(int)) if it does not already exist.default OrderPlacerIdentifierSequenceensureOrderPlacerIdentifierSequence(int initialCapacity) Adds a new Order Placer Identifier Sequence (seeOrderPlacerIdentifierSequence) if it does not already exist.default OrderPlacerIdentifierSequencedefault OrderPlacerIdentifierSequencenewOrderPlacerIdentifierSequence(int initialCapacity) Adds a new Order Placer Identifier Sequence.default voidRemoves the Order Placer Identifier Sequence (seeOrderPlacerIdentifierSequencewrap(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 Order Placer Identifier Sequence (seeOrderPlacerIdentifierSequence)- Returns:
- A wrapper object implementing the
OrderPlacerIdentifierSequence.Holderinterface.
-
builder
- Returns:
- a
OrderPlacerIdentifierSequence.Holder.Builderto create Order Placer Identifier Sequence Items with a fluent API.
-
builder
static OrderPlacerIdentifierSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theOrderPlacerIdentifierSequence.Holder.Builder.- Returns:
- a
OrderPlacerIdentifierSequence.Holder.Builderto create Order Placer Identifier Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getOrderPlacerIdentifierSequence
- Returns:
- the Order Placer Identifier Sequence (see
OrderPlacerIdentifierSequence)
-
newOrderPlacerIdentifierSequence
Adds a new Order Placer Identifier Sequence. (seeOrderPlacerIdentifierSequence)- Parameters:
initialCapacity- the initial capacity for the new Order Placer Identifier Sequence
-
ensureOrderPlacerIdentifierSequence
Adds a new Order Placer Identifier Sequence (seeOrderPlacerIdentifierSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Order Placer Identifier Sequence is created.- Returns:
- Either the already existing Order Placer Identifier Sequence (see
OrderPlacerIdentifierSequence) or a new one with capacityinitialCapacity.
-
ensureOrderPlacerIdentifierSequence
Adds a new Order Placer Identifier Sequence (seeOrderPlacerIdentifierSequence) with initial capacity 1 (seeensureOrderPlacerIdentifierSequence(int)) if it does not already exist.- Returns:
- Either the already existing Order Placer Identifier Sequence (see
OrderPlacerIdentifierSequence) or a new one with capacity 1.
-
containsOrderPlacerIdentifierSequence
default boolean containsOrderPlacerIdentifierSequence()- Returns:
- Whether it contains the Order Placer Identifier Sequence (see
OrderPlacerIdentifierSequence)
-
removeOrderPlacerIdentifierSequence
default void removeOrderPlacerIdentifierSequence()Removes the Order Placer Identifier Sequence (seeOrderPlacerIdentifierSequence
-