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