Interface AnomalyLocatorIndicatorSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
AnomalyLocatorIndicatorSequence.SimpleHolder
- Enclosing class:
- AnomalyLocatorIndicatorSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Anomaly Locator Indicator Sequence" (see
AnomalyLocatorIndicatorSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault AnomalyLocatorIndicatorSequenceAdds a new Anomaly Locator Indicator Sequence (seeAnomalyLocatorIndicatorSequence) with initial capacity 1 (seeensureAnomalyLocatorIndicatorSequence(int)) if it does not already exist.default AnomalyLocatorIndicatorSequenceensureAnomalyLocatorIndicatorSequence(int initialCapacity) Adds a new Anomaly Locator Indicator Sequence (seeAnomalyLocatorIndicatorSequence) if it does not already exist.default AnomalyLocatorIndicatorSequencedefault AnomalyLocatorIndicatorSequencenewAnomalyLocatorIndicatorSequence(int initialCapacity) Adds a new Anomaly Locator Indicator Sequence.default voidRemoves the Anomaly Locator Indicator Sequence (seeAnomalyLocatorIndicatorSequencewrap(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 Anomaly Locator Indicator Sequence (seeAnomalyLocatorIndicatorSequence)- Returns:
- A wrapper object implementing the
AnomalyLocatorIndicatorSequence.Holderinterface.
-
builder
- Returns:
- a
AnomalyLocatorIndicatorSequence.Holder.Builderto create Anomaly Locator Indicator Sequence Items with a fluent API.
-
builder
static AnomalyLocatorIndicatorSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theAnomalyLocatorIndicatorSequence.Holder.Builder.- Returns:
- a
AnomalyLocatorIndicatorSequence.Holder.Builderto create Anomaly Locator Indicator Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getAnomalyLocatorIndicatorSequence
- Returns:
- the Anomaly Locator Indicator Sequence (see
AnomalyLocatorIndicatorSequence)
-
newAnomalyLocatorIndicatorSequence
Adds a new Anomaly Locator Indicator Sequence. (seeAnomalyLocatorIndicatorSequence)- Parameters:
initialCapacity- the initial capacity for the new Anomaly Locator Indicator Sequence
-
ensureAnomalyLocatorIndicatorSequence
Adds a new Anomaly Locator Indicator Sequence (seeAnomalyLocatorIndicatorSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Anomaly Locator Indicator Sequence is created.- Returns:
- Either the already existing Anomaly Locator Indicator Sequence (see
AnomalyLocatorIndicatorSequence) or a new one with capacityinitialCapacity.
-
ensureAnomalyLocatorIndicatorSequence
Adds a new Anomaly Locator Indicator Sequence (seeAnomalyLocatorIndicatorSequence) with initial capacity 1 (seeensureAnomalyLocatorIndicatorSequence(int)) if it does not already exist.- Returns:
- Either the already existing Anomaly Locator Indicator Sequence (see
AnomalyLocatorIndicatorSequence) or a new one with capacity 1.
-
containsAnomalyLocatorIndicatorSequence
default boolean containsAnomalyLocatorIndicatorSequence()- Returns:
- Whether it contains the Anomaly Locator Indicator Sequence (see
AnomalyLocatorIndicatorSequence)
-
removeAnomalyLocatorIndicatorSequence
default void removeAnomalyLocatorIndicatorSequence()Removes the Anomaly Locator Indicator Sequence (seeAnomalyLocatorIndicatorSequence
-