Interface InformationFromManufacturerSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
GenericImplantTemplateDescriptionModule
- All Known Implementing Classes:
GenericImplantTemplateIOD,InformationFromManufacturerSequence.SimpleHolder
- Enclosing class:
- InformationFromManufacturerSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Information From Manufacturer Sequence" (see
InformationFromManufacturerSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Information From Manufacturer Sequence (seeInformationFromManufacturerSequence) with initial capacity 1 (seeensureInformationFromManufacturerSequence(int)) if it does not already exist.ensureInformationFromManufacturerSequence(int initialCapacity) Adds a new Information From Manufacturer Sequence (seeInformationFromManufacturerSequence) if it does not already exist.newInformationFromManufacturerSequence(int initialCapacity) Adds a new Information From Manufacturer Sequence.default voidRemoves the Information From Manufacturer Sequence (seeInformationFromManufacturerSequencewrap(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 Information From Manufacturer Sequence (seeInformationFromManufacturerSequence)- Returns:
- A wrapper object implementing the
InformationFromManufacturerSequence.Holderinterface.
-
builder
- Returns:
- a
InformationFromManufacturerSequence.Holder.Builderto create Information From Manufacturer Sequence Items with a fluent API.
-
builder
static InformationFromManufacturerSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theInformationFromManufacturerSequence.Holder.Builder.- Returns:
- a
InformationFromManufacturerSequence.Holder.Builderto create Information From Manufacturer Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getInformationFromManufacturerSequence
- Returns:
- the Information From Manufacturer Sequence (see
InformationFromManufacturerSequence)
-
newInformationFromManufacturerSequence
default InformationFromManufacturerSequence newInformationFromManufacturerSequence(int initialCapacity) Adds a new Information From Manufacturer Sequence. (seeInformationFromManufacturerSequence)- Parameters:
initialCapacity- the initial capacity for the new Information From Manufacturer Sequence
-
ensureInformationFromManufacturerSequence
default InformationFromManufacturerSequence ensureInformationFromManufacturerSequence(int initialCapacity) Adds a new Information From Manufacturer Sequence (seeInformationFromManufacturerSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Information From Manufacturer Sequence is created.- Returns:
- Either the already existing Information From Manufacturer Sequence (see
InformationFromManufacturerSequence) or a new one with capacityinitialCapacity.
-
ensureInformationFromManufacturerSequence
Adds a new Information From Manufacturer Sequence (seeInformationFromManufacturerSequence) with initial capacity 1 (seeensureInformationFromManufacturerSequence(int)) if it does not already exist.- Returns:
- Either the already existing Information From Manufacturer Sequence (see
InformationFromManufacturerSequence) or a new one with capacity 1.
-
containsInformationFromManufacturerSequence
default boolean containsInformationFromManufacturerSequence()- Returns:
- Whether it contains the Information From Manufacturer Sequence (see
InformationFromManufacturerSequence)
-
removeInformationFromManufacturerSequence
default void removeInformationFromManufacturerSequence()Removes the Information From Manufacturer Sequence (seeInformationFromManufacturerSequence
-