Interface PerformedStationNameCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
PerformedStationNameCodeSequence.SimpleHolder,UnifiedProcedureStepPerformedProcedureSequence.Item
- Enclosing class:
- PerformedStationNameCodeSequence
public static interface PerformedStationNameCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Performed Station Name Code Sequence" (seePerformedStationNameCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPerformedStationNameCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static PerformedStationNameCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Performed Station Name Code Sequence (seePerformedStationNameCodeSequence)- Returns:
- a wrapper object implementing the
PerformedStationNameCodeSequence.Holderinterface.
-
builder
static PerformedStationNameCodeSequence.Holder.Builder builder()
- Returns:
- a
PerformedStationNameCodeSequence.Holder.Builderto create Performed Station Name Code Sequence Items with a fluent API.
-
builder
static PerformedStationNameCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by thePerformedStationNameCodeSequence.Holder.Builder.- Returns:
- a
PerformedStationNameCodeSequence.Holder.Builderto create Performed Station Name Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPerformedStationNameCodeSequence
default PerformedStationNameCodeSequence getPerformedStationNameCodeSequence()
- Returns:
- the Performed Station Name Code Sequence (see
PerformedStationNameCodeSequence)
-
newPerformedStationNameCodeSequence
default PerformedStationNameCodeSequence newPerformedStationNameCodeSequence(int initialCapacity)
Adds a new Performed Station Name Code Sequence. (seePerformedStationNameCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Performed Station Name Code Sequence- Returns:
- the newly created PerformedStationNameCodeSequence.
-
ensurePerformedStationNameCodeSequence
default PerformedStationNameCodeSequence ensurePerformedStationNameCodeSequence(int initialCapacity)
Adds a new Performed Station Name Code Sequence (seePerformedStationNameCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Performed Station Name Code Sequence is created.- Returns:
- either the already existing Performed Station Name Code Sequence (see
PerformedStationNameCodeSequence) or a new one with capacityinitialCapacity.
-
ensurePerformedStationNameCodeSequence
default PerformedStationNameCodeSequence ensurePerformedStationNameCodeSequence()
Adds a new Performed Station Name Code Sequence (seePerformedStationNameCodeSequence) with initial capacity 1 (seeensurePerformedStationNameCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Performed Station Name Code Sequence (see
PerformedStationNameCodeSequence) or a new one with capacity 1.
-
containsPerformedStationNameCodeSequence
default boolean containsPerformedStationNameCodeSequence()
- Returns:
- whether it contains the Performed Station Name Code Sequence (see
PerformedStationNameCodeSequence)
-
removePerformedStationNameCodeSequence
default void removePerformedStationNameCodeSequence()
Removes the Performed Station Name Code Sequence (seePerformedStationNameCodeSequence
-
-