Interface GapLength.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
CompoundGraphicSequence.Item,GapLength.SimpleHolder
- Enclosing class:
- GapLength
A class implementing this interface can hold attributes which contain the DICOM tag "Gap Length" (see
GapLength)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic GapLength.Holder.Builderbuilder()static GapLength.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault GapLengthdefault voidRemoves the Gap Length (seeGapLengthstatic GapLength.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 Gap Length (seeGapLength)- Returns:
- A wrapper object implementing the
GapLength.Holderinterface.
-
builder
- Returns:
- a
GapLength.Holder.Builderto create Gap Length Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theGapLength.Holder.Builder.- Returns:
- a
GapLength.Holder.Builderto create Gap Length Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getGapLength
- Returns:
- the Gap Length (see
GapLength)
-
containsGapLength
default boolean containsGapLength()- Returns:
- Whether it contains the Gap Length (see
GapLength)
-
removeGapLength
default void removeGapLength()Removes the Gap Length (seeGapLength
-