Interface TabulatedValuesSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
SRDocumentContentModule
- All Known Implementing Classes:
AcquisitionContextSRIOD,BasicTextSRIOD,ChestCADSRIOD,ColonCADSRIOD,Comprehensive3DSRIOD,ComprehensiveSRIOD,ContentSequence.Item,EnhancedSRIOD,EnhancedXRayRadiationDoseStructuredReportIOD,ExtensibleSRIOD,ImplantationPlanSRDocumentIOD,KeyObjectSelectionDocumentIOD,MacularGridThicknessAndVolumeReportIOD,MammographyCADSRIOD,PatientRadiationDoseStructuredReportIOD,PerformedImagingAgentAdministrationSRIOD,PlannedImagingAgentAdministrationSRIOD,ProcedureLogIOD,RadiopharmaceuticalRadiationDoseSRIOD,RenditionSelectionDocumentIOD,SimplifiedAdultEchoSRIOD,SpectaclePrescriptionReportIOD,TabulatedValuesSequence.SimpleHolder,XRayRadiationDoseSRIOD
- Enclosing class:
- TabulatedValuesSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Tabulated Values Sequence" (see
TabulatedValuesSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault TabulatedValuesSequenceAdds a new Tabulated Values Sequence (seeTabulatedValuesSequence) with initial capacity 1 (seeensureTabulatedValuesSequence(int)) if it does not already exist.default TabulatedValuesSequenceensureTabulatedValuesSequence(int initialCapacity) Adds a new Tabulated Values Sequence (seeTabulatedValuesSequence) if it does not already exist.default TabulatedValuesSequencedefault TabulatedValuesSequencenewTabulatedValuesSequence(int initialCapacity) Adds a new Tabulated Values Sequence.default voidRemoves the Tabulated Values Sequence (seeTabulatedValuesSequencewrap(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 Tabulated Values Sequence (seeTabulatedValuesSequence)- Returns:
- A wrapper object implementing the
TabulatedValuesSequence.Holderinterface.
-
builder
- Returns:
- a
TabulatedValuesSequence.Holder.Builderto create Tabulated Values Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theTabulatedValuesSequence.Holder.Builder.- Returns:
- a
TabulatedValuesSequence.Holder.Builderto create Tabulated Values Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTabulatedValuesSequence
- Returns:
- the Tabulated Values Sequence (see
TabulatedValuesSequence)
-
newTabulatedValuesSequence
Adds a new Tabulated Values Sequence. (seeTabulatedValuesSequence)- Parameters:
initialCapacity- the initial capacity for the new Tabulated Values Sequence
-
ensureTabulatedValuesSequence
Adds a new Tabulated Values Sequence (seeTabulatedValuesSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Tabulated Values Sequence is created.- Returns:
- Either the already existing Tabulated Values Sequence (see
TabulatedValuesSequence) or a new one with capacityinitialCapacity.
-
ensureTabulatedValuesSequence
Adds a new Tabulated Values Sequence (seeTabulatedValuesSequence) with initial capacity 1 (seeensureTabulatedValuesSequence(int)) if it does not already exist.- Returns:
- Either the already existing Tabulated Values Sequence (see
TabulatedValuesSequence) or a new one with capacity 1.
-
containsTabulatedValuesSequence
default boolean containsTabulatedValuesSequence()- Returns:
- Whether it contains the Tabulated Values Sequence (see
TabulatedValuesSequence)
-
removeTabulatedValuesSequence
default void removeTabulatedValuesSequence()Removes the Tabulated Values Sequence (seeTabulatedValuesSequence
-