Interface SubjectLocation.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
VLPhotographicAcquisitionModule
- All Known Implementing Classes:
DermoscopicPhotographyImageIOD,SubjectLocation.SimpleHolder,VLPhotographicImageIOD
- Enclosing class:
- SubjectLocation
A class implementing this interface can hold attributes which contain the DICOM tag "Subject Location" (see
SubjectLocation)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault SubjectLocationdefault voidRemoves the Subject Location (seeSubjectLocationstatic SubjectLocation.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 Subject Location (seeSubjectLocation)- Returns:
- A wrapper object implementing the
SubjectLocation.Holderinterface.
-
builder
- Returns:
- a
SubjectLocation.Holder.Builderto create Subject Location Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theSubjectLocation.Holder.Builder.- Returns:
- a
SubjectLocation.Holder.Builderto create Subject Location Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSubjectLocation
- Returns:
- the Subject Location (see
SubjectLocation)
-
containsSubjectLocation
default boolean containsSubjectLocation()- Returns:
- Whether it contains the Subject Location (see
SubjectLocation)
-
removeSubjectLocation
default void removeSubjectLocation()Removes the Subject Location (seeSubjectLocation
-