Interface AuthorIdentificationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RadiotherapyCommonInstanceModule
- All Known Implementing Classes:
AuthorIdentificationSequence.SimpleHolder,CArmPhotonElectronRadiationIOD,CArmPhotonElectronRadiationRecordIOD,RoboticArmRadiationIOD,RoboticArmRadiationRecordIOD,RTPhysicianIntentIOD,RTRadiationRecordSetIOD,RTRadiationSalvageRecordIOD,RTRadiationSetDeliveryInstructionIOD,RTRadiationSetIOD,RTSegmentAnnotationIOD,RTTreatmentPreparationIOD,TomotherapeuticRadiationIOD,TomotherapeuticRadiationRecordIOD
- Enclosing class:
- AuthorIdentificationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Author Identification Sequence" (see
AuthorIdentificationSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault AuthorIdentificationSequenceAdds a new Author Identification Sequence (seeAuthorIdentificationSequence) with initial capacity 1 (seeensureAuthorIdentificationSequence(int)) if it does not already exist.default AuthorIdentificationSequenceensureAuthorIdentificationSequence(int initialCapacity) Adds a new Author Identification Sequence (seeAuthorIdentificationSequence) if it does not already exist.default AuthorIdentificationSequencedefault AuthorIdentificationSequencenewAuthorIdentificationSequence(int initialCapacity) Adds a new Author Identification Sequence.default voidRemoves the Author Identification Sequence (seeAuthorIdentificationSequencewrap(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 Author Identification Sequence (seeAuthorIdentificationSequence)- Returns:
- A wrapper object implementing the
AuthorIdentificationSequence.Holderinterface.
-
builder
- Returns:
- a
AuthorIdentificationSequence.Holder.Builderto create Author Identification Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theAuthorIdentificationSequence.Holder.Builder.- Returns:
- a
AuthorIdentificationSequence.Holder.Builderto create Author Identification Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getAuthorIdentificationSequence
- Returns:
- the Author Identification Sequence (see
AuthorIdentificationSequence)
-
newAuthorIdentificationSequence
Adds a new Author Identification Sequence. (seeAuthorIdentificationSequence)- Parameters:
initialCapacity- the initial capacity for the new Author Identification Sequence
-
ensureAuthorIdentificationSequence
Adds a new Author Identification Sequence (seeAuthorIdentificationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Author Identification Sequence is created.- Returns:
- Either the already existing Author Identification Sequence (see
AuthorIdentificationSequence) or a new one with capacityinitialCapacity.
-
ensureAuthorIdentificationSequence
Adds a new Author Identification Sequence (seeAuthorIdentificationSequence) with initial capacity 1 (seeensureAuthorIdentificationSequence(int)) if it does not already exist.- Returns:
- Either the already existing Author Identification Sequence (see
AuthorIdentificationSequence) or a new one with capacity 1.
-
containsAuthorIdentificationSequence
default boolean containsAuthorIdentificationSequence()- Returns:
- Whether it contains the Author Identification Sequence (see
AuthorIdentificationSequence)
-
removeAuthorIdentificationSequence
default void removeAuthorIdentificationSequence()Removes the Author Identification Sequence (seeAuthorIdentificationSequence
-