Interface SourceType.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
RecordedSourceSequence.Item,SourceSequence.Item
- Enclosing class:
- SourceType
public static interface SourceType.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Source Type" (seeSourceType)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSourceType.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static SourceType.Holder.Builderbuilder()static SourceType.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsSourceType()default SourceTypegetSourceType()default voidremoveSourceType()Removes the Source Type (seeSourceTypestatic SourceType.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static SourceType.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Source Type (seeSourceType)- Returns:
- a wrapper object implementing the
SourceType.Holderinterface.
-
builder
static SourceType.Holder.Builder builder()
- Returns:
- a
SourceType.Holder.Builderto create Source Type Items with a fluent API.
-
builder
static SourceType.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theSourceType.Holder.Builder.- Returns:
- a
SourceType.Holder.Builderto create Source Type Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSourceType
default SourceType getSourceType()
- Returns:
- the Source Type (see
SourceType)
-
containsSourceType
default boolean containsSourceType()
- Returns:
- whether it contains the Source Type (see
SourceType)
-
removeSourceType
default void removeSourceType()
Removes the Source Type (seeSourceType
-
-