Interface HL7DocumentTypeCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
HL7DocumentTypeCodeSequence.SimpleHolder
- Enclosing class:
- HL7DocumentTypeCodeSequence
public static interface HL7DocumentTypeCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "HL7 Document Type Code Sequence" (seeHL7DocumentTypeCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classHL7DocumentTypeCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static HL7DocumentTypeCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the HL7 Document Type Code Sequence (seeHL7DocumentTypeCodeSequence)- Returns:
- a wrapper object implementing the
HL7DocumentTypeCodeSequence.Holderinterface.
-
builder
static HL7DocumentTypeCodeSequence.Holder.Builder builder()
- Returns:
- a
HL7DocumentTypeCodeSequence.Holder.Builderto create HL7 Document Type Code Sequence Items with a fluent API.
-
builder
static HL7DocumentTypeCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- 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
default HL7DocumentTypeCodeSequence getHL7DocumentTypeCodeSequence()
- Returns:
- the HL7 Document Type Code Sequence (see
HL7DocumentTypeCodeSequence)
-
newHL7DocumentTypeCodeSequence
default HL7DocumentTypeCodeSequence newHL7DocumentTypeCodeSequence(int initialCapacity)
Adds a new HL7 Document Type Code Sequence. (seeHL7DocumentTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new HL7 Document Type Code Sequence- Returns:
- the newly created HL7DocumentTypeCodeSequence.
-
ensureHL7DocumentTypeCodeSequence
default HL7DocumentTypeCodeSequence ensureHL7DocumentTypeCodeSequence(int initialCapacity)
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
default HL7DocumentTypeCodeSequence 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
-
-