Interface PerformedProcessingApplicationsCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
PerformedProcessingApplicationsCodeSequence.SimpleHolder
- Enclosing class:
- PerformedProcessingApplicationsCodeSequence
public static interface PerformedProcessingApplicationsCodeSequence.Holder
extends AttributesWrapper
A class implementing this interface can hold attributes which contain the DICOM tag "Performed Processing Applications Code Sequence" (see
PerformedProcessingApplicationsCodeSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Performed Processing Applications Code Sequence (seePerformedProcessingApplicationsCodeSequence) with initial capacity 1 (seeensurePerformedProcessingApplicationsCodeSequence(int)) if it does not already exist.ensurePerformedProcessingApplicationsCodeSequence(int initialCapacity) Adds a new Performed Processing Applications Code Sequence (seePerformedProcessingApplicationsCodeSequence) if it does not already exist.newPerformedProcessingApplicationsCodeSequence(int initialCapacity) Adds a new Performed Processing Applications Code Sequence.default voidRemoves the Performed Processing Applications Code Sequence (seePerformedProcessingApplicationsCodeSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
static PerformedProcessingApplicationsCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- An attributes object containing the Performed Processing Applications Code Sequence (seePerformedProcessingApplicationsCodeSequence)- Returns:
- A wrapper object implementing the
PerformedProcessingApplicationsCodeSequence.Holderinterface.
-
builder
- Returns:
- a
PerformedProcessingApplicationsCodeSequence.Holder.Builderto create Performed Processing Applications Code Sequence Items with a fluent API.
-
builder
static PerformedProcessingApplicationsCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by thePerformedProcessingApplicationsCodeSequence.Holder.Builder.- Returns:
- a
PerformedProcessingApplicationsCodeSequence.Holder.Builderto create Performed Processing Applications Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPerformedProcessingApplicationsCodeSequence
default PerformedProcessingApplicationsCodeSequence getPerformedProcessingApplicationsCodeSequence()- Returns:
- the Performed Processing Applications Code Sequence (see
PerformedProcessingApplicationsCodeSequence)
-
newPerformedProcessingApplicationsCodeSequence
default PerformedProcessingApplicationsCodeSequence newPerformedProcessingApplicationsCodeSequence(int initialCapacity) Adds a new Performed Processing Applications Code Sequence. (seePerformedProcessingApplicationsCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Performed Processing Applications Code Sequence
-
ensurePerformedProcessingApplicationsCodeSequence
default PerformedProcessingApplicationsCodeSequence ensurePerformedProcessingApplicationsCodeSequence(int initialCapacity) Adds a new Performed Processing Applications Code Sequence (seePerformedProcessingApplicationsCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Performed Processing Applications Code Sequence is created.- Returns:
- Either the already existing Performed Processing Applications Code Sequence (see
PerformedProcessingApplicationsCodeSequence) or a new one with capacityinitialCapacity.
-
ensurePerformedProcessingApplicationsCodeSequence
default PerformedProcessingApplicationsCodeSequence ensurePerformedProcessingApplicationsCodeSequence()Adds a new Performed Processing Applications Code Sequence (seePerformedProcessingApplicationsCodeSequence) with initial capacity 1 (seeensurePerformedProcessingApplicationsCodeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Performed Processing Applications Code Sequence (see
PerformedProcessingApplicationsCodeSequence) or a new one with capacity 1.
-
containsPerformedProcessingApplicationsCodeSequence
default boolean containsPerformedProcessingApplicationsCodeSequence()- Returns:
- Whether it contains the Performed Processing Applications Code Sequence (see
PerformedProcessingApplicationsCodeSequence)
-
removePerformedProcessingApplicationsCodeSequence
default void removePerformedProcessingApplicationsCodeSequence()Removes the Performed Processing Applications Code Sequence (seePerformedProcessingApplicationsCodeSequence
-