Interface PerformedStationClassCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
PerformedStationClassCodeSequence.SimpleHolder,UnifiedProcedureStepPerformedProcedureSequence.Item
- Enclosing class:
- PerformedStationClassCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Performed Station Class Code Sequence" (see
PerformedStationClassCodeSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Performed Station Class Code Sequence (seePerformedStationClassCodeSequence) with initial capacity 1 (seeensurePerformedStationClassCodeSequence(int)) if it does not already exist.ensurePerformedStationClassCodeSequence(int initialCapacity) Adds a new Performed Station Class Code Sequence (seePerformedStationClassCodeSequence) if it does not already exist.newPerformedStationClassCodeSequence(int initialCapacity) Adds a new Performed Station Class Code Sequence.default voidRemoves the Performed Station Class Code Sequence (seePerformedStationClassCodeSequencewrap(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 Performed Station Class Code Sequence (seePerformedStationClassCodeSequence)- Returns:
- A wrapper object implementing the
PerformedStationClassCodeSequence.Holderinterface.
-
builder
- Returns:
- a
PerformedStationClassCodeSequence.Holder.Builderto create Performed Station Class Code Sequence Items with a fluent API.
-
builder
static PerformedStationClassCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by thePerformedStationClassCodeSequence.Holder.Builder.- Returns:
- a
PerformedStationClassCodeSequence.Holder.Builderto create Performed Station Class Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPerformedStationClassCodeSequence
- Returns:
- the Performed Station Class Code Sequence (see
PerformedStationClassCodeSequence)
-
newPerformedStationClassCodeSequence
Adds a new Performed Station Class Code Sequence. (seePerformedStationClassCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Performed Station Class Code Sequence
-
ensurePerformedStationClassCodeSequence
default PerformedStationClassCodeSequence ensurePerformedStationClassCodeSequence(int initialCapacity) Adds a new Performed Station Class Code Sequence (seePerformedStationClassCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Performed Station Class Code Sequence is created.- Returns:
- Either the already existing Performed Station Class Code Sequence (see
PerformedStationClassCodeSequence) or a new one with capacityinitialCapacity.
-
ensurePerformedStationClassCodeSequence
Adds a new Performed Station Class Code Sequence (seePerformedStationClassCodeSequence) with initial capacity 1 (seeensurePerformedStationClassCodeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Performed Station Class Code Sequence (see
PerformedStationClassCodeSequence) or a new one with capacity 1.
-
containsPerformedStationClassCodeSequence
default boolean containsPerformedStationClassCodeSequence()- Returns:
- Whether it contains the Performed Station Class Code Sequence (see
PerformedStationClassCodeSequence)
-
removePerformedStationClassCodeSequence
default void removePerformedStationClassCodeSequence()Removes the Performed Station Class Code Sequence (seePerformedStationClassCodeSequence
-