Interface UnspecifiedLateralityLensSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
LensometryMeasurementsModule
- All Known Implementing Classes:
LensometryMeasurementsIOD,UnspecifiedLateralityLensSequence.SimpleHolder
- Enclosing class:
- UnspecifiedLateralityLensSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Unspecified Laterality Lens Sequence" (see
UnspecifiedLateralityLensSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Unspecified Laterality Lens Sequence (seeUnspecifiedLateralityLensSequence) with initial capacity 1 (seeensureUnspecifiedLateralityLensSequence(int)) if it does not already exist.ensureUnspecifiedLateralityLensSequence(int initialCapacity) Adds a new Unspecified Laterality Lens Sequence (seeUnspecifiedLateralityLensSequence) if it does not already exist.newUnspecifiedLateralityLensSequence(int initialCapacity) Adds a new Unspecified Laterality Lens Sequence.default voidRemoves the Unspecified Laterality Lens Sequence (seeUnspecifiedLateralityLensSequencewrap(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 Unspecified Laterality Lens Sequence (seeUnspecifiedLateralityLensSequence)- Returns:
- A wrapper object implementing the
UnspecifiedLateralityLensSequence.Holderinterface.
-
builder
- Returns:
- a
UnspecifiedLateralityLensSequence.Holder.Builderto create Unspecified Laterality Lens Sequence Items with a fluent API.
-
builder
static UnspecifiedLateralityLensSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theUnspecifiedLateralityLensSequence.Holder.Builder.- Returns:
- a
UnspecifiedLateralityLensSequence.Holder.Builderto create Unspecified Laterality Lens Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getUnspecifiedLateralityLensSequence
- Returns:
- the Unspecified Laterality Lens Sequence (see
UnspecifiedLateralityLensSequence)
-
newUnspecifiedLateralityLensSequence
Adds a new Unspecified Laterality Lens Sequence. (seeUnspecifiedLateralityLensSequence)- Parameters:
initialCapacity- the initial capacity for the new Unspecified Laterality Lens Sequence
-
ensureUnspecifiedLateralityLensSequence
default UnspecifiedLateralityLensSequence ensureUnspecifiedLateralityLensSequence(int initialCapacity) Adds a new Unspecified Laterality Lens Sequence (seeUnspecifiedLateralityLensSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Unspecified Laterality Lens Sequence is created.- Returns:
- Either the already existing Unspecified Laterality Lens Sequence (see
UnspecifiedLateralityLensSequence) or a new one with capacityinitialCapacity.
-
ensureUnspecifiedLateralityLensSequence
Adds a new Unspecified Laterality Lens Sequence (seeUnspecifiedLateralityLensSequence) with initial capacity 1 (seeensureUnspecifiedLateralityLensSequence(int)) if it does not already exist.- Returns:
- Either the already existing Unspecified Laterality Lens Sequence (see
UnspecifiedLateralityLensSequence) or a new one with capacity 1.
-
containsUnspecifiedLateralityLensSequence
default boolean containsUnspecifiedLateralityLensSequence()- Returns:
- Whether it contains the Unspecified Laterality Lens Sequence (see
UnspecifiedLateralityLensSequence)
-
removeUnspecifiedLateralityLensSequence
default void removeUnspecifiedLateralityLensSequence()Removes the Unspecified Laterality Lens Sequence (seeUnspecifiedLateralityLensSequence
-