Interface PhantomType.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
PhantomType.SimpleHolder
- Enclosing class:
- PhantomType
A class implementing this interface can hold attributes which contain the DICOM tag "Phantom Type" (see
PhantomType)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic PhantomType.Holder.Builderbuilder()static PhantomType.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault PhantomTypedefault voidRemoves the Phantom Type (seePhantomTypestatic PhantomType.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 Phantom Type (seePhantomType)- Returns:
- A wrapper object implementing the
PhantomType.Holderinterface.
-
builder
- Returns:
- a
PhantomType.Holder.Builderto create Phantom Type Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by thePhantomType.Holder.Builder.- Returns:
- a
PhantomType.Holder.Builderto create Phantom Type Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPhantomType
- Returns:
- the Phantom Type (see
PhantomType)
-
containsPhantomType
default boolean containsPhantomType()- Returns:
- Whether it contains the Phantom Type (see
PhantomType)
-
removePhantomType
default void removePhantomType()Removes the Phantom Type (seePhantomType
-