Interface PerformedStationClassCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
PerformedStationClassCodeSequence.SimpleHolder,UnifiedProcedureStepPerformedProcedureSequence.Item
- Enclosing class:
- PerformedStationClassCodeSequence
public static interface PerformedStationClassCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Performed Station Class Code Sequence" (seePerformedStationClassCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPerformedStationClassCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static PerformedStationClassCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Performed Station Class Code Sequence (seePerformedStationClassCodeSequence)- Returns:
- a wrapper object implementing the
PerformedStationClassCodeSequence.Holderinterface.
-
builder
static PerformedStationClassCodeSequence.Holder.Builder 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
default PerformedStationClassCodeSequence getPerformedStationClassCodeSequence()
- Returns:
- the Performed Station Class Code Sequence (see
PerformedStationClassCodeSequence)
-
newPerformedStationClassCodeSequence
default PerformedStationClassCodeSequence newPerformedStationClassCodeSequence(int initialCapacity)
Adds a new Performed Station Class Code Sequence. (seePerformedStationClassCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Performed Station Class Code Sequence- Returns:
- the newly created PerformedStationClassCodeSequence.
-
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
default PerformedStationClassCodeSequence 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
-
-