Package ghidra.util.database.annot

# Annotation Interface DBAnnotatedObjectInfo

@Target(TYPE) @Retention(RUNTIME) public @interface DBAnnotatedObjectInfo
Required annotation for `DBAnnotatedObject`

- ## Required Element Summary

  Required Elements
  Modifier and Type
  Required Element
  Description
  `int`
  `version`
  The schema version

- ## Element Details

  - ### version

    int version
    The schema version

    This should be incremented in many situtations, including but not limited to:

    - A field is added or removed
    - A field's type changes
    - A field's column name changes. See `DBAnnotatedField.column()`
    - A field's codec changes. See `DBAnnotatedField.codec()`
    - A field's sparse-storage flag changes. See `DBAnnotatedField.sparse()`
    - A field's index flag changes. See `DBAnnotatedField.indexed()`
    - The order of field declarations changes.
    - The codec used by a field changes how it encodes values
    - The fields of a superclass change in any of the above ways