Interface DataRepresentation.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
MRSpectroscopyDataModule
- All Known Implementing Classes:
DataRepresentation.SimpleHolder,MRSpectroscopyIOD
- Enclosing class:
- DataRepresentation
A class implementing this interface can hold attributes which contain the DICOM tag "Data Representation" (see
DataRepresentation)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault DataRepresentationdefault voidRemoves the Data Representation (seeDataRepresentationstatic DataRepresentation.Holderwrap(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 Data Representation (seeDataRepresentation)- Returns:
- A wrapper object implementing the
DataRepresentation.Holderinterface.
-
builder
- Returns:
- a
DataRepresentation.Holder.Builderto create Data Representation Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theDataRepresentation.Holder.Builder.- Returns:
- a
DataRepresentation.Holder.Builderto create Data Representation Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getDataRepresentation
- Returns:
- the Data Representation (see
DataRepresentation)
-
containsDataRepresentation
default boolean containsDataRepresentation()- Returns:
- Whether it contains the Data Representation (see
DataRepresentation)
-
removeDataRepresentation
default void removeDataRepresentation()Removes the Data Representation (seeDataRepresentation
-