Interface ScheduledStationGeographicLocationCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
UnifiedProcedureStepScheduledProcedureInformationModule
- All Known Implementing Classes:
UnifiedProcedureStepIOD
- Enclosing class:
- ScheduledStationGeographicLocationCodeSequence
public static interface ScheduledStationGeographicLocationCodeSequence.Holder
extends AttributesWrapper
A class implementing this interface can hold attributes which contain the DICOM tag "Scheduled Station Geographic Location Code Sequence" (see
ScheduledStationGeographicLocationCodeSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Scheduled Station Geographic Location Code Sequence (seeScheduledStationGeographicLocationCodeSequence) with initial capacity 1 (seeensureScheduledStationGeographicLocationCodeSequence(int)) if it does not already exist.ensureScheduledStationGeographicLocationCodeSequence(int initialCapacity) Adds a new Scheduled Station Geographic Location Code Sequence (seeScheduledStationGeographicLocationCodeSequence) if it does not already exist.newScheduledStationGeographicLocationCodeSequence(int initialCapacity) Adds a new Scheduled Station Geographic Location Code Sequence.default voidRemoves the Scheduled Station Geographic Location Code Sequence (seeScheduledStationGeographicLocationCodeSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
static ScheduledStationGeographicLocationCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- An attributes object containing the Scheduled Station Geographic Location Code Sequence (seeScheduledStationGeographicLocationCodeSequence)- Returns:
- A wrapper object implementing the
ScheduledStationGeographicLocationCodeSequence.Holderinterface.
-
builder
- Returns:
- a
ScheduledStationGeographicLocationCodeSequence.Holder.Builderto create Scheduled Station Geographic Location Code Sequence Items with a fluent API.
-
builder
static ScheduledStationGeographicLocationCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theScheduledStationGeographicLocationCodeSequence.Holder.Builder.- Returns:
- a
ScheduledStationGeographicLocationCodeSequence.Holder.Builderto create Scheduled Station Geographic Location Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getScheduledStationGeographicLocationCodeSequence
default ScheduledStationGeographicLocationCodeSequence getScheduledStationGeographicLocationCodeSequence()- Returns:
- the Scheduled Station Geographic Location Code Sequence (see
ScheduledStationGeographicLocationCodeSequence)
-
newScheduledStationGeographicLocationCodeSequence
default ScheduledStationGeographicLocationCodeSequence newScheduledStationGeographicLocationCodeSequence(int initialCapacity) Adds a new Scheduled Station Geographic Location Code Sequence. (seeScheduledStationGeographicLocationCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Scheduled Station Geographic Location Code Sequence
-
ensureScheduledStationGeographicLocationCodeSequence
default ScheduledStationGeographicLocationCodeSequence ensureScheduledStationGeographicLocationCodeSequence(int initialCapacity) Adds a new Scheduled Station Geographic Location Code Sequence (seeScheduledStationGeographicLocationCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Scheduled Station Geographic Location Code Sequence is created.- Returns:
- Either the already existing Scheduled Station Geographic Location Code Sequence (see
ScheduledStationGeographicLocationCodeSequence) or a new one with capacityinitialCapacity.
-
ensureScheduledStationGeographicLocationCodeSequence
default ScheduledStationGeographicLocationCodeSequence ensureScheduledStationGeographicLocationCodeSequence()Adds a new Scheduled Station Geographic Location Code Sequence (seeScheduledStationGeographicLocationCodeSequence) with initial capacity 1 (seeensureScheduledStationGeographicLocationCodeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Scheduled Station Geographic Location Code Sequence (see
ScheduledStationGeographicLocationCodeSequence) or a new one with capacity 1.
-
containsScheduledStationGeographicLocationCodeSequence
default boolean containsScheduledStationGeographicLocationCodeSequence()- Returns:
- Whether it contains the Scheduled Station Geographic Location Code Sequence (see
ScheduledStationGeographicLocationCodeSequence)
-
removeScheduledStationGeographicLocationCodeSequence
default void removeScheduledStationGeographicLocationCodeSequence()Removes the Scheduled Station Geographic Location Code Sequence (seeScheduledStationGeographicLocationCodeSequence
-