Interface ParticipantSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
SRDocumentGeneralModule
- All Known Implementing Classes:
AcquisitionContextSRIOD,BasicTextSRIOD,ChestCADSRIOD,ColonCADSRIOD,Comprehensive3DSRIOD,ComprehensiveSRIOD,EnhancedSRIOD,EnhancedXRayRadiationDoseSRIOD,ExtensibleSRIOD,ImplantationPlanSRDocumentIOD,MacularGridThicknessAndVolumeReportIOD,MammographyCADSRIOD,PatientRadiationDoseSRIOD,PerformedImagingAgentAdministrationSRIOD,PlannedImagingAgentAdministrationSRIOD,ProcedureLogIOD,RadiopharmaceuticalRadiationDoseSRIOD,SimplifiedAdultEchoSRIOD,SpectaclePrescriptionReportIOD,SRDocumentGeneralModule.SimpleWrapper,XRayRadiationDoseSRIOD
- Enclosing class:
- ParticipantSequence
public static interface ParticipantSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Participant Sequence" (seeParticipantSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classParticipantSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ParticipantSequence.Holder.Builderbuilder()static ParticipantSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsParticipantSequence()default ParticipantSequenceensureParticipantSequence()Adds a new Participant Sequence (seeParticipantSequence) with initial capacity 1 (seeensureParticipantSequence(int)) if it does not already exist.default ParticipantSequenceensureParticipantSequence(int initialCapacity)Adds a new Participant Sequence (seeParticipantSequence) if it does not already exist.default ParticipantSequencegetParticipantSequence()default ParticipantSequencenewParticipantSequence(int initialCapacity)Adds a new Participant Sequence.default voidremoveParticipantSequence()Removes the Participant Sequence (seeParticipantSequencestatic ParticipantSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static ParticipantSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Participant Sequence (seeParticipantSequence)- Returns:
- a wrapper object implementing the
ParticipantSequence.Holderinterface.
-
builder
static ParticipantSequence.Holder.Builder builder()
- Returns:
- a
ParticipantSequence.Holder.Builderto create Participant Sequence Items with a fluent API.
-
builder
static ParticipantSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theParticipantSequence.Holder.Builder.- Returns:
- a
ParticipantSequence.Holder.Builderto create Participant Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getParticipantSequence
default ParticipantSequence getParticipantSequence()
- Returns:
- the Participant Sequence (see
ParticipantSequence)
-
newParticipantSequence
default ParticipantSequence newParticipantSequence(int initialCapacity)
Adds a new Participant Sequence. (seeParticipantSequence)- Parameters:
initialCapacity- the initial capacity for the new Participant Sequence- Returns:
- the newly created ParticipantSequence.
-
ensureParticipantSequence
default ParticipantSequence ensureParticipantSequence(int initialCapacity)
Adds a new Participant Sequence (seeParticipantSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Participant Sequence is created.- Returns:
- either the already existing Participant Sequence (see
ParticipantSequence) or a new one with capacityinitialCapacity.
-
ensureParticipantSequence
default ParticipantSequence ensureParticipantSequence()
Adds a new Participant Sequence (seeParticipantSequence) with initial capacity 1 (seeensureParticipantSequence(int)) if it does not already exist.- Returns:
- either the already existing Participant Sequence (see
ParticipantSequence) or a new one with capacity 1.
-
containsParticipantSequence
default boolean containsParticipantSequence()
- Returns:
- whether it contains the Participant Sequence (see
ParticipantSequence)
-
removeParticipantSequence
default void removeParticipantSequence()
Removes the Participant Sequence (seeParticipantSequence
-
-