Interface IsocenterReferenceSystemSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
IsocenterReferenceSystemSequence.SimpleHolder
- Enclosing class:
- IsocenterReferenceSystemSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Isocenter Reference System Sequence" (see
IsocenterReferenceSystemSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault IsocenterReferenceSystemSequenceAdds a new Isocenter Reference System Sequence (seeIsocenterReferenceSystemSequence) with initial capacity 1 (seeensureIsocenterReferenceSystemSequence(int)) if it does not already exist.default IsocenterReferenceSystemSequenceensureIsocenterReferenceSystemSequence(int initialCapacity) Adds a new Isocenter Reference System Sequence (seeIsocenterReferenceSystemSequence) if it does not already exist.default IsocenterReferenceSystemSequencedefault IsocenterReferenceSystemSequencenewIsocenterReferenceSystemSequence(int initialCapacity) Adds a new Isocenter Reference System Sequence.default voidRemoves the Isocenter Reference System Sequence (seeIsocenterReferenceSystemSequencewrap(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 Isocenter Reference System Sequence (seeIsocenterReferenceSystemSequence)- Returns:
- A wrapper object implementing the
IsocenterReferenceSystemSequence.Holderinterface.
-
builder
- Returns:
- a
IsocenterReferenceSystemSequence.Holder.Builderto create Isocenter Reference System Sequence Items with a fluent API.
-
builder
static IsocenterReferenceSystemSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theIsocenterReferenceSystemSequence.Holder.Builder.- Returns:
- a
IsocenterReferenceSystemSequence.Holder.Builderto create Isocenter Reference System Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getIsocenterReferenceSystemSequence
- Returns:
- the Isocenter Reference System Sequence (see
IsocenterReferenceSystemSequence)
-
newIsocenterReferenceSystemSequence
Adds a new Isocenter Reference System Sequence. (seeIsocenterReferenceSystemSequence)- Parameters:
initialCapacity- the initial capacity for the new Isocenter Reference System Sequence
-
ensureIsocenterReferenceSystemSequence
default IsocenterReferenceSystemSequence ensureIsocenterReferenceSystemSequence(int initialCapacity) Adds a new Isocenter Reference System Sequence (seeIsocenterReferenceSystemSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Isocenter Reference System Sequence is created.- Returns:
- Either the already existing Isocenter Reference System Sequence (see
IsocenterReferenceSystemSequence) or a new one with capacityinitialCapacity.
-
ensureIsocenterReferenceSystemSequence
Adds a new Isocenter Reference System Sequence (seeIsocenterReferenceSystemSequence) with initial capacity 1 (seeensureIsocenterReferenceSystemSequence(int)) if it does not already exist.- Returns:
- Either the already existing Isocenter Reference System Sequence (see
IsocenterReferenceSystemSequence) or a new one with capacity 1.
-
containsIsocenterReferenceSystemSequence
default boolean containsIsocenterReferenceSystemSequence()- Returns:
- Whether it contains the Isocenter Reference System Sequence (see
IsocenterReferenceSystemSequence)
-
removeIsocenterReferenceSystemSequence
default void removeIsocenterReferenceSystemSequence()Removes the Isocenter Reference System Sequence (seeIsocenterReferenceSystemSequence
-