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