Interface HPGLDocumentSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
GenericImplantTemplate2DDrawingsModule
- All Known Implementing Classes:
GenericImplantTemplate2DDrawingsModule.SimpleWrapper,GenericImplantTemplateIOD
- Enclosing class:
- HPGLDocumentSequence
public static interface HPGLDocumentSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "HPGL Document Sequence" (seeHPGLDocumentSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classHPGLDocumentSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static HPGLDocumentSequence.Holder.Builderbuilder()static HPGLDocumentSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsHPGLDocumentSequence()default HPGLDocumentSequenceensureHPGLDocumentSequence()Adds a new HPGL Document Sequence (seeHPGLDocumentSequence) with initial capacity 1 (seeensureHPGLDocumentSequence(int)) if it does not already exist.default HPGLDocumentSequenceensureHPGLDocumentSequence(int initialCapacity)Adds a new HPGL Document Sequence (seeHPGLDocumentSequence) if it does not already exist.default HPGLDocumentSequencegetHPGLDocumentSequence()default HPGLDocumentSequencenewHPGLDocumentSequence(int initialCapacity)Adds a new HPGL Document Sequence.default voidremoveHPGLDocumentSequence()Removes the HPGL Document Sequence (seeHPGLDocumentSequencestatic HPGLDocumentSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static HPGLDocumentSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the HPGL Document Sequence (seeHPGLDocumentSequence)- Returns:
- a wrapper object implementing the
HPGLDocumentSequence.Holderinterface.
-
builder
static HPGLDocumentSequence.Holder.Builder builder()
- Returns:
- a
HPGLDocumentSequence.Holder.Builderto create HPGL Document Sequence Items with a fluent API.
-
builder
static HPGLDocumentSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theHPGLDocumentSequence.Holder.Builder.- Returns:
- a
HPGLDocumentSequence.Holder.Builderto create HPGL Document Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getHPGLDocumentSequence
default HPGLDocumentSequence getHPGLDocumentSequence()
- Returns:
- the HPGL Document Sequence (see
HPGLDocumentSequence)
-
newHPGLDocumentSequence
default HPGLDocumentSequence newHPGLDocumentSequence(int initialCapacity)
Adds a new HPGL Document Sequence. (seeHPGLDocumentSequence)- Parameters:
initialCapacity- the initial capacity for the new HPGL Document Sequence- Returns:
- the newly created HPGLDocumentSequence.
-
ensureHPGLDocumentSequence
default HPGLDocumentSequence ensureHPGLDocumentSequence(int initialCapacity)
Adds a new HPGL Document Sequence (seeHPGLDocumentSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new HPGL Document Sequence is created.- Returns:
- either the already existing HPGL Document Sequence (see
HPGLDocumentSequence) or a new one with capacityinitialCapacity.
-
ensureHPGLDocumentSequence
default HPGLDocumentSequence ensureHPGLDocumentSequence()
Adds a new HPGL Document Sequence (seeHPGLDocumentSequence) with initial capacity 1 (seeensureHPGLDocumentSequence(int)) if it does not already exist.- Returns:
- either the already existing HPGL Document Sequence (see
HPGLDocumentSequence) or a new one with capacity 1.
-
containsHPGLDocumentSequence
default boolean containsHPGLDocumentSequence()
- Returns:
- whether it contains the HPGL Document Sequence (see
HPGLDocumentSequence)
-
removeHPGLDocumentSequence
default void removeHPGLDocumentSequence()
Removes the HPGL Document Sequence (seeHPGLDocumentSequence
-
-