Annotation Interface Persistent


@Documented @Retention(RUNTIME) @Target(TYPE) public @interface Persistent
Identifies a persistent class that is not an Entity class or a
invalid @link
{@link <a href="{@docRoot
}/com/sleepycat/persist/model/Entity.html#simpleTypes">simple type}.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Specifies the class that is proxied by this PersistentProxy instance.
    int
    Identifies a new version of a class when an incompatible class change has been made.
  • Element Details

    • version

      int version
      Identifies a new version of a class when an incompatible class change has been made.
      See Also:
      Default:
      0
    • proxyFor

      Class proxyFor
      Specifies the class that is proxied by this PersistentProxy instance.
      See Also:
      Default:
      void.class