Interface ScheduledStepAttributesSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
PerformedProcedureStepRelationshipModule
- All Known Implementing Classes:
ModalityPerformedProcedureStepIOD,ScheduledStepAttributesSequence.SimpleHolder
- Enclosing class:
- ScheduledStepAttributesSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Scheduled Step Attributes Sequence" (see
ScheduledStepAttributesSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault ScheduledStepAttributesSequenceAdds a new Scheduled Step Attributes Sequence (seeScheduledStepAttributesSequence) with initial capacity 1 (seeensureScheduledStepAttributesSequence(int)) if it does not already exist.default ScheduledStepAttributesSequenceensureScheduledStepAttributesSequence(int initialCapacity) Adds a new Scheduled Step Attributes Sequence (seeScheduledStepAttributesSequence) if it does not already exist.default ScheduledStepAttributesSequencedefault ScheduledStepAttributesSequencenewScheduledStepAttributesSequence(int initialCapacity) Adds a new Scheduled Step Attributes Sequence.default voidRemoves the Scheduled Step Attributes Sequence (seeScheduledStepAttributesSequencewrap(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 Scheduled Step Attributes Sequence (seeScheduledStepAttributesSequence)- Returns:
- A wrapper object implementing the
ScheduledStepAttributesSequence.Holderinterface.
-
builder
- Returns:
- a
ScheduledStepAttributesSequence.Holder.Builderto create Scheduled Step Attributes Sequence Items with a fluent API.
-
builder
static ScheduledStepAttributesSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theScheduledStepAttributesSequence.Holder.Builder.- Returns:
- a
ScheduledStepAttributesSequence.Holder.Builderto create Scheduled Step Attributes Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getScheduledStepAttributesSequence
- Returns:
- the Scheduled Step Attributes Sequence (see
ScheduledStepAttributesSequence)
-
newScheduledStepAttributesSequence
Adds a new Scheduled Step Attributes Sequence. (seeScheduledStepAttributesSequence)- Parameters:
initialCapacity- the initial capacity for the new Scheduled Step Attributes Sequence
-
ensureScheduledStepAttributesSequence
Adds a new Scheduled Step Attributes Sequence (seeScheduledStepAttributesSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Scheduled Step Attributes Sequence is created.- Returns:
- Either the already existing Scheduled Step Attributes Sequence (see
ScheduledStepAttributesSequence) or a new one with capacityinitialCapacity.
-
ensureScheduledStepAttributesSequence
Adds a new Scheduled Step Attributes Sequence (seeScheduledStepAttributesSequence) with initial capacity 1 (seeensureScheduledStepAttributesSequence(int)) if it does not already exist.- Returns:
- Either the already existing Scheduled Step Attributes Sequence (see
ScheduledStepAttributesSequence) or a new one with capacity 1.
-
containsScheduledStepAttributesSequence
default boolean containsScheduledStepAttributesSequence()- Returns:
- Whether it contains the Scheduled Step Attributes Sequence (see
ScheduledStepAttributesSequence)
-
removeScheduledStepAttributesSequence
default void removeScheduledStepAttributesSequence()Removes the Scheduled Step Attributes Sequence (seeScheduledStepAttributesSequence
-