Interface FrameOfReferenceRelationshipSequence.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- FrameOfReferenceRelationshipSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Frame of Reference Relationship Sequence" (see
FrameOfReferenceRelationshipSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Frame of Reference Relationship Sequence (seeFrameOfReferenceRelationshipSequence) with initial capacity 1 (seeensureFrameOfReferenceRelationshipSequence(int)) if it does not already exist.ensureFrameOfReferenceRelationshipSequence(int initialCapacity) Adds a new Frame of Reference Relationship Sequence (seeFrameOfReferenceRelationshipSequence) if it does not already exist.newFrameOfReferenceRelationshipSequence(int initialCapacity) Adds a new Frame of Reference Relationship Sequence.default voidRemoves the Frame of Reference Relationship Sequence (seeFrameOfReferenceRelationshipSequencewrap(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 Frame of Reference Relationship Sequence (seeFrameOfReferenceRelationshipSequence)- Returns:
- A wrapper object implementing the
FrameOfReferenceRelationshipSequence.Holderinterface.
-
builder
- Returns:
- a
FrameOfReferenceRelationshipSequence.Holder.Builderto create Frame of Reference Relationship Sequence Items with a fluent API.
-
builder
static FrameOfReferenceRelationshipSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theFrameOfReferenceRelationshipSequence.Holder.Builder.- Returns:
- a
FrameOfReferenceRelationshipSequence.Holder.Builderto create Frame of Reference Relationship Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getFrameOfReferenceRelationshipSequence
- Returns:
- the Frame of Reference Relationship Sequence (see
FrameOfReferenceRelationshipSequence)
-
newFrameOfReferenceRelationshipSequence
default FrameOfReferenceRelationshipSequence newFrameOfReferenceRelationshipSequence(int initialCapacity) Adds a new Frame of Reference Relationship Sequence. (seeFrameOfReferenceRelationshipSequence)- Parameters:
initialCapacity- the initial capacity for the new Frame of Reference Relationship Sequence
-
ensureFrameOfReferenceRelationshipSequence
default FrameOfReferenceRelationshipSequence ensureFrameOfReferenceRelationshipSequence(int initialCapacity) Adds a new Frame of Reference Relationship Sequence (seeFrameOfReferenceRelationshipSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Frame of Reference Relationship Sequence is created.- Returns:
- Either the already existing Frame of Reference Relationship Sequence (see
FrameOfReferenceRelationshipSequence) or a new one with capacityinitialCapacity.
-
ensureFrameOfReferenceRelationshipSequence
Adds a new Frame of Reference Relationship Sequence (seeFrameOfReferenceRelationshipSequence) with initial capacity 1 (seeensureFrameOfReferenceRelationshipSequence(int)) if it does not already exist.- Returns:
- Either the already existing Frame of Reference Relationship Sequence (see
FrameOfReferenceRelationshipSequence) or a new one with capacity 1.
-
containsFrameOfReferenceRelationshipSequence
default boolean containsFrameOfReferenceRelationshipSequence()- Returns:
- Whether it contains the Frame of Reference Relationship Sequence (see
FrameOfReferenceRelationshipSequence)
-
removeFrameOfReferenceRelationshipSequence
default void removeFrameOfReferenceRelationshipSequence()Removes the Frame of Reference Relationship Sequence (seeFrameOfReferenceRelationshipSequence
-