Interface AnnotationGroupAlgorithmIdentificationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
AnnotationGroupAlgorithmIdentificationSequence.SimpleHolder,AnnotationGroupSequence.Item
- Enclosing class:
- AnnotationGroupAlgorithmIdentificationSequence
public static interface AnnotationGroupAlgorithmIdentificationSequence.Holder
extends AttributesWrapper
A class implementing this interface can hold attributes which contain the DICOM tag "Annotation Group Algorithm Identification Sequence" (see
AnnotationGroupAlgorithmIdentificationSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Annotation Group Algorithm Identification Sequence (seeAnnotationGroupAlgorithmIdentificationSequence) with initial capacity 1 (seeensureAnnotationGroupAlgorithmIdentificationSequence(int)) if it does not already exist.ensureAnnotationGroupAlgorithmIdentificationSequence(int initialCapacity) Adds a new Annotation Group Algorithm Identification Sequence (seeAnnotationGroupAlgorithmIdentificationSequence) if it does not already exist.newAnnotationGroupAlgorithmIdentificationSequence(int initialCapacity) Adds a new Annotation Group Algorithm Identification Sequence.default voidRemoves the Annotation Group Algorithm Identification Sequence (seeAnnotationGroupAlgorithmIdentificationSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
static AnnotationGroupAlgorithmIdentificationSequence.Holder wrap(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- An attributes object containing the Annotation Group Algorithm Identification Sequence (seeAnnotationGroupAlgorithmIdentificationSequence)- Returns:
- A wrapper object implementing the
AnnotationGroupAlgorithmIdentificationSequence.Holderinterface.
-
builder
- Returns:
- a
AnnotationGroupAlgorithmIdentificationSequence.Holder.Builderto create Annotation Group Algorithm Identification Sequence Items with a fluent API.
-
builder
static AnnotationGroupAlgorithmIdentificationSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theAnnotationGroupAlgorithmIdentificationSequence.Holder.Builder.- Returns:
- a
AnnotationGroupAlgorithmIdentificationSequence.Holder.Builderto create Annotation Group Algorithm Identification Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getAnnotationGroupAlgorithmIdentificationSequence
default AnnotationGroupAlgorithmIdentificationSequence getAnnotationGroupAlgorithmIdentificationSequence()- Returns:
- the Annotation Group Algorithm Identification Sequence (see
AnnotationGroupAlgorithmIdentificationSequence)
-
newAnnotationGroupAlgorithmIdentificationSequence
default AnnotationGroupAlgorithmIdentificationSequence newAnnotationGroupAlgorithmIdentificationSequence(int initialCapacity) Adds a new Annotation Group Algorithm Identification Sequence. (seeAnnotationGroupAlgorithmIdentificationSequence)- Parameters:
initialCapacity- the initial capacity for the new Annotation Group Algorithm Identification Sequence
-
ensureAnnotationGroupAlgorithmIdentificationSequence
default AnnotationGroupAlgorithmIdentificationSequence ensureAnnotationGroupAlgorithmIdentificationSequence(int initialCapacity) Adds a new Annotation Group Algorithm Identification Sequence (seeAnnotationGroupAlgorithmIdentificationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Annotation Group Algorithm Identification Sequence is created.- Returns:
- Either the already existing Annotation Group Algorithm Identification Sequence (see
AnnotationGroupAlgorithmIdentificationSequence) or a new one with capacityinitialCapacity.
-
ensureAnnotationGroupAlgorithmIdentificationSequence
default AnnotationGroupAlgorithmIdentificationSequence ensureAnnotationGroupAlgorithmIdentificationSequence()Adds a new Annotation Group Algorithm Identification Sequence (seeAnnotationGroupAlgorithmIdentificationSequence) with initial capacity 1 (seeensureAnnotationGroupAlgorithmIdentificationSequence(int)) if it does not already exist.- Returns:
- Either the already existing Annotation Group Algorithm Identification Sequence (see
AnnotationGroupAlgorithmIdentificationSequence) or a new one with capacity 1.
-
containsAnnotationGroupAlgorithmIdentificationSequence
default boolean containsAnnotationGroupAlgorithmIdentificationSequence()- Returns:
- Whether it contains the Annotation Group Algorithm Identification Sequence (see
AnnotationGroupAlgorithmIdentificationSequence)
-
removeAnnotationGroupAlgorithmIdentificationSequence
default void removeAnnotationGroupAlgorithmIdentificationSequence()Removes the Annotation Group Algorithm Identification Sequence (seeAnnotationGroupAlgorithmIdentificationSequence
-