Interface InterventionSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
InterventionModule
- All Known Implementing Classes:
BreastProjectionXRayImageIOD,BreastTomosynthesisImageIOD,DigitalIntraOralXRayImageIOD,DigitalMammographyXRayImageIOD,DigitalXRayImageIOD,EnhancedPETImageIOD,EnhancedXAImageIOD,EnhancedXRFImageIOD,InterventionModule.SimpleWrapper,LegacyConvertedEnhancedPETImageIOD,XRay3DAngiographicImageIOD,XRay3DCraniofacialImageIOD,XRayAngiographicImageIOD,XRayRadiofluoroscopicImageIOD
- Enclosing class:
- InterventionSequence
public static interface InterventionSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Intervention Sequence" (seeInterventionSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classInterventionSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static InterventionSequence.Holder.Builderbuilder()static InterventionSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsInterventionSequence()default InterventionSequenceensureInterventionSequence()Adds a new Intervention Sequence (seeInterventionSequence) with initial capacity 1 (seeensureInterventionSequence(int)) if it does not already exist.default InterventionSequenceensureInterventionSequence(int initialCapacity)Adds a new Intervention Sequence (seeInterventionSequence) if it does not already exist.default InterventionSequencegetInterventionSequence()default InterventionSequencenewInterventionSequence(int initialCapacity)Adds a new Intervention Sequence.default voidremoveInterventionSequence()Removes the Intervention Sequence (seeInterventionSequencestatic InterventionSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static InterventionSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Intervention Sequence (seeInterventionSequence)- Returns:
- a wrapper object implementing the
InterventionSequence.Holderinterface.
-
builder
static InterventionSequence.Holder.Builder builder()
- Returns:
- a
InterventionSequence.Holder.Builderto create Intervention Sequence Items with a fluent API.
-
builder
static InterventionSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theInterventionSequence.Holder.Builder.- Returns:
- a
InterventionSequence.Holder.Builderto create Intervention Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getInterventionSequence
default InterventionSequence getInterventionSequence()
- Returns:
- the Intervention Sequence (see
InterventionSequence)
-
newInterventionSequence
default InterventionSequence newInterventionSequence(int initialCapacity)
Adds a new Intervention Sequence. (seeInterventionSequence)- Parameters:
initialCapacity- the initial capacity for the new Intervention Sequence- Returns:
- the newly created InterventionSequence.
-
ensureInterventionSequence
default InterventionSequence ensureInterventionSequence(int initialCapacity)
Adds a new Intervention Sequence (seeInterventionSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Intervention Sequence is created.- Returns:
- either the already existing Intervention Sequence (see
InterventionSequence) or a new one with capacityinitialCapacity.
-
ensureInterventionSequence
default InterventionSequence ensureInterventionSequence()
Adds a new Intervention Sequence (seeInterventionSequence) with initial capacity 1 (seeensureInterventionSequence(int)) if it does not already exist.- Returns:
- either the already existing Intervention Sequence (see
InterventionSequence) or a new one with capacity 1.
-
containsInterventionSequence
default boolean containsInterventionSequence()
- Returns:
- whether it contains the Intervention Sequence (see
InterventionSequence)
-
removeInterventionSequence
default void removeInterventionSequence()
Removes the Intervention Sequence (seeInterventionSequence
-
-