Annotation Type SettingsPersistenceUtil.PersistentSequence
-
@Retention(RUNTIME) @Target(METHOD) public static @interface SettingsPersistenceUtil.PersistentSequence
Tags the getter of a collection for persistence. The collection elements must implementSettingsOwner
and have a noargs constructor. This is a solution to the problem of serializing collections of items of arbitrary complexity.When restoring such a property, we assume that the property already has a value, and we either update existing items with the properties or we instantiate new items if not enough are already available.