Interface SpatialLocationsPreserved.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
SourceImageSequence.Item,SpatialLocationsPreserved.SimpleHolder
- Enclosing class:
- SpatialLocationsPreserved
A class implementing this interface can hold attributes which contain the DICOM tag "Spatial Locations Preserved" (see
SpatialLocationsPreserved)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault SpatialLocationsPreserveddefault voidRemoves the Spatial Locations Preserved (seeSpatialLocationsPreservedwrap(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 Spatial Locations Preserved (seeSpatialLocationsPreserved)- Returns:
- A wrapper object implementing the
SpatialLocationsPreserved.Holderinterface.
-
builder
- Returns:
- a
SpatialLocationsPreserved.Holder.Builderto create Spatial Locations Preserved Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theSpatialLocationsPreserved.Holder.Builder.- Returns:
- a
SpatialLocationsPreserved.Holder.Builderto create Spatial Locations Preserved Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSpatialLocationsPreserved
- Returns:
- the Spatial Locations Preserved (see
SpatialLocationsPreserved)
-
containsSpatialLocationsPreserved
default boolean containsSpatialLocationsPreserved()- Returns:
- Whether it contains the Spatial Locations Preserved (see
SpatialLocationsPreserved)
-
removeSpatialLocationsPreserved
default void removeSpatialLocationsPreserved()Removes the Spatial Locations Preserved (seeSpatialLocationsPreserved
-