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