Interface HumanPerformerCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
ActualHumanPerformersSequence.Item,HumanPerformerCodeSequence.SimpleHolder,ScheduledHumanPerformersSequence.Item
- Enclosing class:
- HumanPerformerCodeSequence
public static interface HumanPerformerCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Human Performer Code Sequence" (seeHumanPerformerCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classHumanPerformerCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static HumanPerformerCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Human Performer Code Sequence (seeHumanPerformerCodeSequence)- Returns:
- a wrapper object implementing the
HumanPerformerCodeSequence.Holderinterface.
-
builder
static HumanPerformerCodeSequence.Holder.Builder builder()
- Returns:
- a
HumanPerformerCodeSequence.Holder.Builderto create Human Performer Code Sequence Items with a fluent API.
-
builder
static HumanPerformerCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theHumanPerformerCodeSequence.Holder.Builder.- Returns:
- a
HumanPerformerCodeSequence.Holder.Builderto create Human Performer Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getHumanPerformerCodeSequence
default HumanPerformerCodeSequence getHumanPerformerCodeSequence()
- Returns:
- the Human Performer Code Sequence (see
HumanPerformerCodeSequence)
-
newHumanPerformerCodeSequence
default HumanPerformerCodeSequence newHumanPerformerCodeSequence(int initialCapacity)
Adds a new Human Performer Code Sequence. (seeHumanPerformerCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Human Performer Code Sequence- Returns:
- the newly created HumanPerformerCodeSequence.
-
ensureHumanPerformerCodeSequence
default HumanPerformerCodeSequence ensureHumanPerformerCodeSequence(int initialCapacity)
Adds a new Human Performer Code Sequence (seeHumanPerformerCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Human Performer Code Sequence is created.- Returns:
- either the already existing Human Performer Code Sequence (see
HumanPerformerCodeSequence) or a new one with capacityinitialCapacity.
-
ensureHumanPerformerCodeSequence
default HumanPerformerCodeSequence ensureHumanPerformerCodeSequence()
Adds a new Human Performer Code Sequence (seeHumanPerformerCodeSequence) with initial capacity 1 (seeensureHumanPerformerCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Human Performer Code Sequence (see
HumanPerformerCodeSequence) or a new one with capacity 1.
-
containsHumanPerformerCodeSequence
default boolean containsHumanPerformerCodeSequence()
- Returns:
- whether it contains the Human Performer Code Sequence (see
HumanPerformerCodeSequence)
-
removeHumanPerformerCodeSequence
default void removeHumanPerformerCodeSequence()
Removes the Human Performer Code Sequence (seeHumanPerformerCodeSequence
-
-