Interface TestPointNormalsSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
VisualFieldStaticPerimetryTestMeasurementsModule
- All Known Implementing Classes:
OphthalmicVisualFieldStaticPerimetryMeasurementsIOD,TestPointNormalsSequence.SimpleHolder
- Enclosing class:
- TestPointNormalsSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Test Point Normals Sequence" (see
TestPointNormalsSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault TestPointNormalsSequenceAdds a new Test Point Normals Sequence (seeTestPointNormalsSequence) with initial capacity 1 (seeensureTestPointNormalsSequence(int)) if it does not already exist.default TestPointNormalsSequenceensureTestPointNormalsSequence(int initialCapacity) Adds a new Test Point Normals Sequence (seeTestPointNormalsSequence) if it does not already exist.default TestPointNormalsSequencedefault TestPointNormalsSequencenewTestPointNormalsSequence(int initialCapacity) Adds a new Test Point Normals Sequence.default voidRemoves the Test Point Normals Sequence (seeTestPointNormalsSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Test Point Normals Sequence (seeTestPointNormalsSequence)- Returns:
- A wrapper object implementing the
TestPointNormalsSequence.Holderinterface.
-
builder
- Returns:
- a
TestPointNormalsSequence.Holder.Builderto create Test Point Normals Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theTestPointNormalsSequence.Holder.Builder.- Returns:
- a
TestPointNormalsSequence.Holder.Builderto create Test Point Normals Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTestPointNormalsSequence
- Returns:
- the Test Point Normals Sequence (see
TestPointNormalsSequence)
-
newTestPointNormalsSequence
Adds a new Test Point Normals Sequence. (seeTestPointNormalsSequence)- Parameters:
initialCapacity- the initial capacity for the new Test Point Normals Sequence
-
ensureTestPointNormalsSequence
Adds a new Test Point Normals Sequence (seeTestPointNormalsSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Test Point Normals Sequence is created.- Returns:
- Either the already existing Test Point Normals Sequence (see
TestPointNormalsSequence) or a new one with capacityinitialCapacity.
-
ensureTestPointNormalsSequence
Adds a new Test Point Normals Sequence (seeTestPointNormalsSequence) with initial capacity 1 (seeensureTestPointNormalsSequence(int)) if it does not already exist.- Returns:
- Either the already existing Test Point Normals Sequence (see
TestPointNormalsSequence) or a new one with capacity 1.
-
containsTestPointNormalsSequence
default boolean containsTestPointNormalsSequence()- Returns:
- Whether it contains the Test Point Normals Sequence (see
TestPointNormalsSequence)
-
removeTestPointNormalsSequence
default void removeTestPointNormalsSequence()Removes the Test Point Normals Sequence (seeTestPointNormalsSequence
-