Interface RecordInUseFlag.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
DirectoryRecordSequence.Item,RecordInUseFlag.SimpleHolder
- Enclosing class:
- RecordInUseFlag
A class implementing this interface can hold attributes which contain the DICOM tag "Record In-use Flag" (see
RecordInUseFlag)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault RecordInUseFlagdefault voidRemoves the Record In-use Flag (seeRecordInUseFlagstatic RecordInUseFlag.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 Record In-use Flag (seeRecordInUseFlag)- Returns:
- A wrapper object implementing the
RecordInUseFlag.Holderinterface.
-
builder
- Returns:
- a
RecordInUseFlag.Holder.Builderto create Record In-use Flag Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theRecordInUseFlag.Holder.Builder.- Returns:
- a
RecordInUseFlag.Holder.Builderto create Record In-use Flag Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRecordInUseFlag
- Returns:
- the Record In-use Flag (see
RecordInUseFlag)
-
containsRecordInUseFlag
default boolean containsRecordInUseFlag()- Returns:
- Whether it contains the Record In-use Flag (see
RecordInUseFlag)
-
removeRecordInUseFlag
default void removeRecordInUseFlag()Removes the Record In-use Flag (seeRecordInUseFlag
-