Interface CylinderSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
AutorefractionLeftEyeSequence.Item,AutorefractionRightEyeSequence.Item,LeftLensSequence.Item,RightLensSequence.Item,SubjectiveRefractionLeftEyeSequence.Item,SubjectiveRefractionRightEyeSequence.Item,UnspecifiedLateralityLensSequence.Item
- Enclosing class:
- CylinderSequence
public static interface CylinderSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Cylinder Sequence" (seeCylinderSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCylinderSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static CylinderSequence.Holder.Builderbuilder()static CylinderSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsCylinderSequence()default CylinderSequenceensureCylinderSequence()Adds a new Cylinder Sequence (seeCylinderSequence) with initial capacity 1 (seeensureCylinderSequence(int)) if it does not already exist.default CylinderSequenceensureCylinderSequence(int initialCapacity)Adds a new Cylinder Sequence (seeCylinderSequence) if it does not already exist.default CylinderSequencegetCylinderSequence()default CylinderSequencenewCylinderSequence(int initialCapacity)Adds a new Cylinder Sequence.default voidremoveCylinderSequence()Removes the Cylinder Sequence (seeCylinderSequencestatic CylinderSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static CylinderSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Cylinder Sequence (seeCylinderSequence)- Returns:
- a wrapper object implementing the
CylinderSequence.Holderinterface.
-
builder
static CylinderSequence.Holder.Builder builder()
- Returns:
- a
CylinderSequence.Holder.Builderto create Cylinder Sequence Items with a fluent API.
-
builder
static CylinderSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theCylinderSequence.Holder.Builder.- Returns:
- a
CylinderSequence.Holder.Builderto create Cylinder Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getCylinderSequence
default CylinderSequence getCylinderSequence()
- Returns:
- the Cylinder Sequence (see
CylinderSequence)
-
newCylinderSequence
default CylinderSequence newCylinderSequence(int initialCapacity)
Adds a new Cylinder Sequence. (seeCylinderSequence)- Parameters:
initialCapacity- the initial capacity for the new Cylinder Sequence- Returns:
- the newly created CylinderSequence.
-
ensureCylinderSequence
default CylinderSequence ensureCylinderSequence(int initialCapacity)
Adds a new Cylinder Sequence (seeCylinderSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Cylinder Sequence is created.- Returns:
- either the already existing Cylinder Sequence (see
CylinderSequence) or a new one with capacityinitialCapacity.
-
ensureCylinderSequence
default CylinderSequence ensureCylinderSequence()
Adds a new Cylinder Sequence (seeCylinderSequence) with initial capacity 1 (seeensureCylinderSequence(int)) if it does not already exist.- Returns:
- either the already existing Cylinder Sequence (see
CylinderSequence) or a new one with capacity 1.
-
containsCylinderSequence
default boolean containsCylinderSequence()
- Returns:
- whether it contains the Cylinder Sequence (see
CylinderSequence)
-
removeCylinderSequence
default void removeCylinderSequence()
Removes the Cylinder Sequence (seeCylinderSequence
-
-