Interface TabulatedValuesSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
SRDocumentContentModule
- All Known Implementing Classes:
AcquisitionContextSRIOD,BasicTextSRIOD,ChestCADSRIOD,ColonCADSRIOD,Comprehensive3DSRIOD,ComprehensiveSRIOD,ContentSequence.Item,EnhancedSRIOD,EnhancedXRayRadiationDoseSRIOD,ExtensibleSRIOD,ImplantationPlanSRDocumentIOD,KeyObjectSelectionDocumentIOD,MacularGridThicknessAndVolumeReportIOD,MammographyCADSRIOD,PatientRadiationDoseSRIOD,PerformedImagingAgentAdministrationSRIOD,PlannedImagingAgentAdministrationSRIOD,ProcedureLogIOD,RadiopharmaceuticalRadiationDoseSRIOD,RenditionSelectionDocumentIOD,SimplifiedAdultEchoSRIOD,SpectaclePrescriptionReportIOD,SRDocumentContentModule.SimpleWrapper,XRayRadiationDoseSRIOD
- Enclosing class:
- TabulatedValuesSequence
public static interface TabulatedValuesSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Tabulated Values Sequence" (seeTabulatedValuesSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTabulatedValuesSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static TabulatedValuesSequence.Holder.Builderbuilder()static TabulatedValuesSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsTabulatedValuesSequence()default TabulatedValuesSequenceensureTabulatedValuesSequence()Adds 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 TabulatedValuesSequencegetTabulatedValuesSequence()default TabulatedValuesSequencenewTabulatedValuesSequence(int initialCapacity)Adds a new Tabulated Values Sequence.default voidremoveTabulatedValuesSequence()Removes the Tabulated Values Sequence (seeTabulatedValuesSequencestatic TabulatedValuesSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static TabulatedValuesSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Tabulated Values Sequence (seeTabulatedValuesSequence)- Returns:
- a wrapper object implementing the
TabulatedValuesSequence.Holderinterface.
-
builder
static TabulatedValuesSequence.Holder.Builder builder()
- Returns:
- a
TabulatedValuesSequence.Holder.Builderto create Tabulated Values Sequence Items with a fluent API.
-
builder
static TabulatedValuesSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- 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
default TabulatedValuesSequence getTabulatedValuesSequence()
- Returns:
- the Tabulated Values Sequence (see
TabulatedValuesSequence)
-
newTabulatedValuesSequence
default TabulatedValuesSequence newTabulatedValuesSequence(int initialCapacity)
Adds a new Tabulated Values Sequence. (seeTabulatedValuesSequence)- Parameters:
initialCapacity- the initial capacity for the new Tabulated Values Sequence- Returns:
- the newly created TabulatedValuesSequence.
-
ensureTabulatedValuesSequence
default TabulatedValuesSequence ensureTabulatedValuesSequence(int initialCapacity)
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
default TabulatedValuesSequence 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
-
-