Interface HPGLDocumentSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
GenericImplantTemplate2DDrawingsModule
- All Known Implementing Classes:
GenericImplantTemplateIOD
- Enclosing class:
- HPGLDocumentSequence
A class implementing this interface can hold attributes which contain the DICOM tag "HPGL Document Sequence" (see
HPGLDocumentSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault HPGLDocumentSequenceAdds 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 HPGLDocumentSequencedefault HPGLDocumentSequencenewHPGLDocumentSequence(int initialCapacity) Adds a new HPGL Document Sequence.default voidRemoves the HPGL Document Sequence (seeHPGLDocumentSequencestatic HPGLDocumentSequence.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 HPGL Document Sequence (seeHPGLDocumentSequence)- Returns:
- A wrapper object implementing the
HPGLDocumentSequence.Holderinterface.
-
getHPGLDocumentSequence
- Returns:
- the HPGL Document Sequence (see
HPGLDocumentSequence)
-
newHPGLDocumentSequence
Adds a new HPGL Document Sequence. (seeHPGLDocumentSequence)- Parameters:
initialCapacity- the initial capacity for the new HPGL Document Sequence
-
ensureHPGLDocumentSequence
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
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
-