Interface SourceSerialNumber.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
RecordedSourceSequence.Item,SourceSequence.Item,SourceSerialNumber.SimpleHolder
- Enclosing class:
- SourceSerialNumber
A class implementing this interface can hold attributes which contain the DICOM tag "Source Serial Number" (see
SourceSerialNumber)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault SourceSerialNumberdefault voidRemoves the Source Serial Number (seeSourceSerialNumberstatic SourceSerialNumber.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 Source Serial Number (seeSourceSerialNumber)- Returns:
- A wrapper object implementing the
SourceSerialNumber.Holderinterface.
-
builder
- Returns:
- a
SourceSerialNumber.Holder.Builderto create Source Serial Number Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theSourceSerialNumber.Holder.Builder.- Returns:
- a
SourceSerialNumber.Holder.Builderto create Source Serial Number Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSourceSerialNumber
- Returns:
- the Source Serial Number (see
SourceSerialNumber)
-
containsSourceSerialNumber
default boolean containsSourceSerialNumber()- Returns:
- Whether it contains the Source Serial Number (see
SourceSerialNumber)
-
removeSourceSerialNumber
default void removeSourceSerialNumber()Removes the Source Serial Number (seeSourceSerialNumber
-