Interface ConceptualVolumeConstituentSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
CombinationSegmentReferenceSequence.Item,ConceptualVolumeConstituentSequence.SimpleHolder,ConceptualVolumeSequence.Item
- Enclosing class:
- ConceptualVolumeConstituentSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Conceptual Volume Constituent Sequence" (see
ConceptualVolumeConstituentSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Conceptual Volume Constituent Sequence (seeConceptualVolumeConstituentSequence) with initial capacity 1 (seeensureConceptualVolumeConstituentSequence(int)) if it does not already exist.ensureConceptualVolumeConstituentSequence(int initialCapacity) Adds a new Conceptual Volume Constituent Sequence (seeConceptualVolumeConstituentSequence) if it does not already exist.newConceptualVolumeConstituentSequence(int initialCapacity) Adds a new Conceptual Volume Constituent Sequence.default voidRemoves the Conceptual Volume Constituent Sequence (seeConceptualVolumeConstituentSequencewrap(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 Conceptual Volume Constituent Sequence (seeConceptualVolumeConstituentSequence)- Returns:
- A wrapper object implementing the
ConceptualVolumeConstituentSequence.Holderinterface.
-
builder
- Returns:
- a
ConceptualVolumeConstituentSequence.Holder.Builderto create Conceptual Volume Constituent Sequence Items with a fluent API.
-
builder
static ConceptualVolumeConstituentSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theConceptualVolumeConstituentSequence.Holder.Builder.- Returns:
- a
ConceptualVolumeConstituentSequence.Holder.Builderto create Conceptual Volume Constituent Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getConceptualVolumeConstituentSequence
- Returns:
- the Conceptual Volume Constituent Sequence (see
ConceptualVolumeConstituentSequence)
-
newConceptualVolumeConstituentSequence
default ConceptualVolumeConstituentSequence newConceptualVolumeConstituentSequence(int initialCapacity) Adds a new Conceptual Volume Constituent Sequence. (seeConceptualVolumeConstituentSequence)- Parameters:
initialCapacity- the initial capacity for the new Conceptual Volume Constituent Sequence
-
ensureConceptualVolumeConstituentSequence
default ConceptualVolumeConstituentSequence ensureConceptualVolumeConstituentSequence(int initialCapacity) Adds a new Conceptual Volume Constituent Sequence (seeConceptualVolumeConstituentSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Conceptual Volume Constituent Sequence is created.- Returns:
- Either the already existing Conceptual Volume Constituent Sequence (see
ConceptualVolumeConstituentSequence) or a new one with capacityinitialCapacity.
-
ensureConceptualVolumeConstituentSequence
Adds a new Conceptual Volume Constituent Sequence (seeConceptualVolumeConstituentSequence) with initial capacity 1 (seeensureConceptualVolumeConstituentSequence(int)) if it does not already exist.- Returns:
- Either the already existing Conceptual Volume Constituent Sequence (see
ConceptualVolumeConstituentSequence) or a new one with capacity 1.
-
containsConceptualVolumeConstituentSequence
default boolean containsConceptualVolumeConstituentSequence()- Returns:
- Whether it contains the Conceptual Volume Constituent Sequence (see
ConceptualVolumeConstituentSequence)
-
removeConceptualVolumeConstituentSequence
default void removeConceptualVolumeConstituentSequence()Removes the Conceptual Volume Constituent Sequence (seeConceptualVolumeConstituentSequence
-