Annotation Interface GenAsDatastoreSequence


@Retention(CLASS) @Target(TYPE) @Documented public @interface GenAsDatastoreSequence
Indicates that the class is to be implemented as a DatastoreSequence. Annotated classes will automatically implement the DatastoreSequence interface and need not include it in the implements clause.

Supported API: true

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    The amount by which the sequence should be incremented when the next value is requested.
    The database's name for this object.
    long
    The initial value for this sequence.
  • Element Details

    • objectName

      String objectName
      The database's name for this object. Note that the default value ("") indicates that the class's name should be used.

      Rose conversion note: Corresponds to Class Specification -> Windchill -> Sequence Set -> ObjectName.

      Supported API: true

      Default:
      ""
    • seed

      long seed
      The initial value for this sequence.

      Rose conversion note: Corresponds to Class Specification -> Windchill -> Sequence Set -> Seed.

      Supported API: true

      Default:
      1L
    • increment

      int increment
      The amount by which the sequence should be incremented when the next value is requested.

      Rose conversion note: Corresponds to Class Specification -> Windchill -> Sequence Set -> Increment.

      Supported API: true

      Default:
      1