Interface SecondaryInspectionMethodSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
SecondaryInspectionMethodSequence.SimpleHolder
- Enclosing class:
- SecondaryInspectionMethodSequence
public static interface SecondaryInspectionMethodSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Secondary Inspection Method Sequence" (seeSecondaryInspectionMethodSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSecondaryInspectionMethodSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static SecondaryInspectionMethodSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Secondary Inspection Method Sequence (seeSecondaryInspectionMethodSequence)- Returns:
- a wrapper object implementing the
SecondaryInspectionMethodSequence.Holderinterface.
-
builder
static SecondaryInspectionMethodSequence.Holder.Builder builder()
- Returns:
- a
SecondaryInspectionMethodSequence.Holder.Builderto create Secondary Inspection Method Sequence Items with a fluent API.
-
builder
static SecondaryInspectionMethodSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theSecondaryInspectionMethodSequence.Holder.Builder.- Returns:
- a
SecondaryInspectionMethodSequence.Holder.Builderto create Secondary Inspection Method Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSecondaryInspectionMethodSequence
default SecondaryInspectionMethodSequence getSecondaryInspectionMethodSequence()
- Returns:
- the Secondary Inspection Method Sequence (see
SecondaryInspectionMethodSequence)
-
newSecondaryInspectionMethodSequence
default SecondaryInspectionMethodSequence newSecondaryInspectionMethodSequence(int initialCapacity)
Adds a new Secondary Inspection Method Sequence. (seeSecondaryInspectionMethodSequence)- Parameters:
initialCapacity- the initial capacity for the new Secondary Inspection Method Sequence- Returns:
- the newly created SecondaryInspectionMethodSequence.
-
ensureSecondaryInspectionMethodSequence
default SecondaryInspectionMethodSequence ensureSecondaryInspectionMethodSequence(int initialCapacity)
Adds a new Secondary Inspection Method Sequence (seeSecondaryInspectionMethodSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Secondary Inspection Method Sequence is created.- Returns:
- either the already existing Secondary Inspection Method Sequence (see
SecondaryInspectionMethodSequence) or a new one with capacityinitialCapacity.
-
ensureSecondaryInspectionMethodSequence
default SecondaryInspectionMethodSequence ensureSecondaryInspectionMethodSequence()
Adds a new Secondary Inspection Method Sequence (seeSecondaryInspectionMethodSequence) with initial capacity 1 (seeensureSecondaryInspectionMethodSequence(int)) if it does not already exist.- Returns:
- either the already existing Secondary Inspection Method Sequence (see
SecondaryInspectionMethodSequence) or a new one with capacity 1.
-
containsSecondaryInspectionMethodSequence
default boolean containsSecondaryInspectionMethodSequence()
- Returns:
- whether it contains the Secondary Inspection Method Sequence (see
SecondaryInspectionMethodSequence)
-
removeSecondaryInspectionMethodSequence
default void removeSecondaryInspectionMethodSequence()
Removes the Secondary Inspection Method Sequence (seeSecondaryInspectionMethodSequence
-
-