Interface ImplantTypeCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
GenericImplantTemplateDescriptionModule
- All Known Implementing Classes:
GenericImplantTemplateIOD,ImplantTypeCodeSequence.SimpleHolder
- Enclosing class:
- ImplantTypeCodeSequence
public static interface ImplantTypeCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Implant Type Code Sequence" (seeImplantTypeCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classImplantTypeCodeSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ImplantTypeCodeSequence.Holder.Builderbuilder()static ImplantTypeCodeSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsImplantTypeCodeSequence()default ImplantTypeCodeSequenceensureImplantTypeCodeSequence()Adds a new Implant Type Code Sequence (seeImplantTypeCodeSequence) with initial capacity 1 (seeensureImplantTypeCodeSequence(int)) if it does not already exist.default ImplantTypeCodeSequenceensureImplantTypeCodeSequence(int initialCapacity)Adds a new Implant Type Code Sequence (seeImplantTypeCodeSequence) if it does not already exist.default ImplantTypeCodeSequencegetImplantTypeCodeSequence()default ImplantTypeCodeSequencenewImplantTypeCodeSequence(int initialCapacity)Adds a new Implant Type Code Sequence.default voidremoveImplantTypeCodeSequence()Removes the Implant Type Code Sequence (seeImplantTypeCodeSequencestatic ImplantTypeCodeSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static ImplantTypeCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Implant Type Code Sequence (seeImplantTypeCodeSequence)- Returns:
- a wrapper object implementing the
ImplantTypeCodeSequence.Holderinterface.
-
builder
static ImplantTypeCodeSequence.Holder.Builder builder()
- Returns:
- a
ImplantTypeCodeSequence.Holder.Builderto create Implant Type Code Sequence Items with a fluent API.
-
builder
static ImplantTypeCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theImplantTypeCodeSequence.Holder.Builder.- Returns:
- a
ImplantTypeCodeSequence.Holder.Builderto create Implant Type Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getImplantTypeCodeSequence
default ImplantTypeCodeSequence getImplantTypeCodeSequence()
- Returns:
- the Implant Type Code Sequence (see
ImplantTypeCodeSequence)
-
newImplantTypeCodeSequence
default ImplantTypeCodeSequence newImplantTypeCodeSequence(int initialCapacity)
Adds a new Implant Type Code Sequence. (seeImplantTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Implant Type Code Sequence- Returns:
- the newly created ImplantTypeCodeSequence.
-
ensureImplantTypeCodeSequence
default ImplantTypeCodeSequence ensureImplantTypeCodeSequence(int initialCapacity)
Adds a new Implant Type Code Sequence (seeImplantTypeCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Implant Type Code Sequence is created.- Returns:
- either the already existing Implant Type Code Sequence (see
ImplantTypeCodeSequence) or a new one with capacityinitialCapacity.
-
ensureImplantTypeCodeSequence
default ImplantTypeCodeSequence ensureImplantTypeCodeSequence()
Adds a new Implant Type Code Sequence (seeImplantTypeCodeSequence) with initial capacity 1 (seeensureImplantTypeCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Implant Type Code Sequence (see
ImplantTypeCodeSequence) or a new one with capacity 1.
-
containsImplantTypeCodeSequence
default boolean containsImplantTypeCodeSequence()
- Returns:
- whether it contains the Implant Type Code Sequence (see
ImplantTypeCodeSequence)
-
removeImplantTypeCodeSequence
default void removeImplantTypeCodeSequence()
Removes the Implant Type Code Sequence (seeImplantTypeCodeSequence
-
-