Interface HL7DocumentTypeCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
HL7DocumentTypeCodeSequence.SimpleHolder
- Enclosing class:
- HL7DocumentTypeCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "HL7 Document Type Code Sequence" (see
HL7DocumentTypeCodeSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault HL7DocumentTypeCodeSequenceAdds a new HL7 Document Type Code Sequence (seeHL7DocumentTypeCodeSequence) with initial capacity 1 (seeensureHL7DocumentTypeCodeSequence(int)) if it does not already exist.default HL7DocumentTypeCodeSequenceensureHL7DocumentTypeCodeSequence(int initialCapacity) Adds a new HL7 Document Type Code Sequence (seeHL7DocumentTypeCodeSequence) if it does not already exist.default HL7DocumentTypeCodeSequencedefault HL7DocumentTypeCodeSequencenewHL7DocumentTypeCodeSequence(int initialCapacity) Adds a new HL7 Document Type Code Sequence.default voidRemoves the HL7 Document Type Code Sequence (seeHL7DocumentTypeCodeSequencewrap(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 HL7 Document Type Code Sequence (seeHL7DocumentTypeCodeSequence)- Returns:
- A wrapper object implementing the
HL7DocumentTypeCodeSequence.Holderinterface.
-
builder
- Returns:
- a
HL7DocumentTypeCodeSequence.Holder.Builderto create HL7 Document Type Code Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theHL7DocumentTypeCodeSequence.Holder.Builder.- Returns:
- a
HL7DocumentTypeCodeSequence.Holder.Builderto create HL7 Document Type Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getHL7DocumentTypeCodeSequence
- Returns:
- the HL7 Document Type Code Sequence (see
HL7DocumentTypeCodeSequence)
-
newHL7DocumentTypeCodeSequence
Adds a new HL7 Document Type Code Sequence. (seeHL7DocumentTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new HL7 Document Type Code Sequence
-
ensureHL7DocumentTypeCodeSequence
Adds a new HL7 Document Type Code Sequence (seeHL7DocumentTypeCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new HL7 Document Type Code Sequence is created.- Returns:
- Either the already existing HL7 Document Type Code Sequence (see
HL7DocumentTypeCodeSequence) or a new one with capacityinitialCapacity.
-
ensureHL7DocumentTypeCodeSequence
Adds a new HL7 Document Type Code Sequence (seeHL7DocumentTypeCodeSequence) with initial capacity 1 (seeensureHL7DocumentTypeCodeSequence(int)) if it does not already exist.- Returns:
- Either the already existing HL7 Document Type Code Sequence (see
HL7DocumentTypeCodeSequence) or a new one with capacity 1.
-
containsHL7DocumentTypeCodeSequence
default boolean containsHL7DocumentTypeCodeSequence()- Returns:
- Whether it contains the HL7 Document Type Code Sequence (see
HL7DocumentTypeCodeSequence)
-
removeHL7DocumentTypeCodeSequence
default void removeHL7DocumentTypeCodeSequence()Removes the HL7 Document Type Code Sequence (seeHL7DocumentTypeCodeSequence
-