Interface PhantomType.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- Enclosing class:
- PhantomType
public static interface PhantomType.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Phantom Type" (seePhantomType)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPhantomType.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static PhantomType.Holder.Builderbuilder()static PhantomType.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsPhantomType()default PhantomTypegetPhantomType()default voidremovePhantomType()Removes the Phantom Type (seePhantomTypestatic PhantomType.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static PhantomType.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Phantom Type (seePhantomType)- Returns:
- a wrapper object implementing the
PhantomType.Holderinterface.
-
builder
static PhantomType.Holder.Builder builder()
- Returns:
- a
PhantomType.Holder.Builderto create Phantom Type Items with a fluent API.
-
builder
static PhantomType.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- 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
default PhantomType 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
-
-