Interface UnspecifiedLateralityLensSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
LensometryMeasurementsModule
- All Known Implementing Classes:
LensometryMeasurementsIOD,UnspecifiedLateralityLensSequence.SimpleHolder
- Enclosing class:
- UnspecifiedLateralityLensSequence
public static interface UnspecifiedLateralityLensSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Unspecified Laterality Lens Sequence" (seeUnspecifiedLateralityLensSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classUnspecifiedLateralityLensSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static UnspecifiedLateralityLensSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Unspecified Laterality Lens Sequence (seeUnspecifiedLateralityLensSequence)- Returns:
- a wrapper object implementing the
UnspecifiedLateralityLensSequence.Holderinterface.
-
builder
static UnspecifiedLateralityLensSequence.Holder.Builder 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
default UnspecifiedLateralityLensSequence getUnspecifiedLateralityLensSequence()
- Returns:
- the Unspecified Laterality Lens Sequence (see
UnspecifiedLateralityLensSequence)
-
newUnspecifiedLateralityLensSequence
default UnspecifiedLateralityLensSequence newUnspecifiedLateralityLensSequence(int initialCapacity)
Adds a new Unspecified Laterality Lens Sequence. (seeUnspecifiedLateralityLensSequence)- Parameters:
initialCapacity- the initial capacity for the new Unspecified Laterality Lens Sequence- Returns:
- the newly created UnspecifiedLateralityLensSequence.
-
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
default UnspecifiedLateralityLensSequence 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
-
-