Interface TimeOfFrameGroupSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
CurrentFrameFunctionalGroupsSequence.Item,PerFrameFunctionalGroupsSequence.Item,SharedFunctionalGroupsSequence.Item,TimeOfFrameGroupSequence.SimpleHolder
- Enclosing class:
- TimeOfFrameGroupSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Time of Frame Group Sequence" (see
TimeOfFrameGroupSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault TimeOfFrameGroupSequenceAdds a new Time of Frame Group Sequence (seeTimeOfFrameGroupSequence) with initial capacity 1 (seeensureTimeOfFrameGroupSequence(int)) if it does not already exist.default TimeOfFrameGroupSequenceensureTimeOfFrameGroupSequence(int initialCapacity) Adds a new Time of Frame Group Sequence (seeTimeOfFrameGroupSequence) if it does not already exist.default TimeOfFrameGroupSequencedefault TimeOfFrameGroupSequencenewTimeOfFrameGroupSequence(int initialCapacity) Adds a new Time of Frame Group Sequence.default voidRemoves the Time of Frame Group Sequence (seeTimeOfFrameGroupSequencewrap(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 Time of Frame Group Sequence (seeTimeOfFrameGroupSequence)- Returns:
- A wrapper object implementing the
TimeOfFrameGroupSequence.Holderinterface.
-
builder
- Returns:
- a
TimeOfFrameGroupSequence.Holder.Builderto create Time of Frame Group Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theTimeOfFrameGroupSequence.Holder.Builder.- Returns:
- a
TimeOfFrameGroupSequence.Holder.Builderto create Time of Frame Group Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTimeOfFrameGroupSequence
- Returns:
- the Time of Frame Group Sequence (see
TimeOfFrameGroupSequence)
-
newTimeOfFrameGroupSequence
Adds a new Time of Frame Group Sequence. (seeTimeOfFrameGroupSequence)- Parameters:
initialCapacity- the initial capacity for the new Time of Frame Group Sequence
-
ensureTimeOfFrameGroupSequence
Adds a new Time of Frame Group Sequence (seeTimeOfFrameGroupSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Time of Frame Group Sequence is created.- Returns:
- Either the already existing Time of Frame Group Sequence (see
TimeOfFrameGroupSequence) or a new one with capacityinitialCapacity.
-
ensureTimeOfFrameGroupSequence
Adds a new Time of Frame Group Sequence (seeTimeOfFrameGroupSequence) with initial capacity 1 (seeensureTimeOfFrameGroupSequence(int)) if it does not already exist.- Returns:
- Either the already existing Time of Frame Group Sequence (see
TimeOfFrameGroupSequence) or a new one with capacity 1.
-
containsTimeOfFrameGroupSequence
default boolean containsTimeOfFrameGroupSequence()- Returns:
- Whether it contains the Time of Frame Group Sequence (see
TimeOfFrameGroupSequence)
-
removeTimeOfFrameGroupSequence
default void removeTimeOfFrameGroupSequence()Removes the Time of Frame Group Sequence (seeTimeOfFrameGroupSequence
-