Interface XAXRFFrameCharacteristicsSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
XAXRFFrameCharacteristicsSequence.SimpleHolder
- Enclosing class:
- XAXRFFrameCharacteristicsSequence
A class implementing this interface can hold attributes which contain the DICOM tag "XA/XRF Frame Characteristics Sequence" (see
XAXRFFrameCharacteristicsSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new XA/XRF Frame Characteristics Sequence (seeXAXRFFrameCharacteristicsSequence) with initial capacity 1 (seeensureXAXRFFrameCharacteristicsSequence(int)) if it does not already exist.ensureXAXRFFrameCharacteristicsSequence(int initialCapacity) Adds a new XA/XRF Frame Characteristics Sequence (seeXAXRFFrameCharacteristicsSequence) if it does not already exist.newXAXRFFrameCharacteristicsSequence(int initialCapacity) Adds a new XA/XRF Frame Characteristics Sequence.default voidRemoves the XA/XRF Frame Characteristics Sequence (seeXAXRFFrameCharacteristicsSequencewrap(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 XA/XRF Frame Characteristics Sequence (seeXAXRFFrameCharacteristicsSequence)- Returns:
- A wrapper object implementing the
XAXRFFrameCharacteristicsSequence.Holderinterface.
-
builder
- Returns:
- a
XAXRFFrameCharacteristicsSequence.Holder.Builderto create XA/XRF Frame Characteristics Sequence Items with a fluent API.
-
builder
static XAXRFFrameCharacteristicsSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theXAXRFFrameCharacteristicsSequence.Holder.Builder.- Returns:
- a
XAXRFFrameCharacteristicsSequence.Holder.Builderto create XA/XRF Frame Characteristics Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getXAXRFFrameCharacteristicsSequence
- Returns:
- the XA/XRF Frame Characteristics Sequence (see
XAXRFFrameCharacteristicsSequence)
-
newXAXRFFrameCharacteristicsSequence
Adds a new XA/XRF Frame Characteristics Sequence. (seeXAXRFFrameCharacteristicsSequence)- Parameters:
initialCapacity- the initial capacity for the new XA/XRF Frame Characteristics Sequence
-
ensureXAXRFFrameCharacteristicsSequence
default XAXRFFrameCharacteristicsSequence ensureXAXRFFrameCharacteristicsSequence(int initialCapacity) Adds a new XA/XRF Frame Characteristics Sequence (seeXAXRFFrameCharacteristicsSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new XA/XRF Frame Characteristics Sequence is created.- Returns:
- Either the already existing XA/XRF Frame Characteristics Sequence (see
XAXRFFrameCharacteristicsSequence) or a new one with capacityinitialCapacity.
-
ensureXAXRFFrameCharacteristicsSequence
Adds a new XA/XRF Frame Characteristics Sequence (seeXAXRFFrameCharacteristicsSequence) with initial capacity 1 (seeensureXAXRFFrameCharacteristicsSequence(int)) if it does not already exist.- Returns:
- Either the already existing XA/XRF Frame Characteristics Sequence (see
XAXRFFrameCharacteristicsSequence) or a new one with capacity 1.
-
containsXAXRFFrameCharacteristicsSequence
default boolean containsXAXRFFrameCharacteristicsSequence()- Returns:
- Whether it contains the XA/XRF Frame Characteristics Sequence (see
XAXRFFrameCharacteristicsSequence)
-
removeXAXRFFrameCharacteristicsSequence
default void removeXAXRFFrameCharacteristicsSequence()Removes the XA/XRF Frame Characteristics Sequence (seeXAXRFFrameCharacteristicsSequence
-