Annotation Interface GenAsDatastoreArray


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

Supported API: true

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The database type for elements in this array.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The interfaces this class/interface extends/implements.
    The database's name for this object.
    The parent class for this class.
  • 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 -> Array Set -> ObjectName.

      Supported API: true

      Default:
      ""
    • arrayType

      Class arrayType
      The database type for elements in this array. Should consist of a database primitive (a java.lang or java.sql type) or an instance of GenAsDatastoreStruct.

      Rose conversion note: Corresponds to Class Specification -> Windchill -> Array Set -> ArrayType.

      Supported API: true

    • superClass

      Class superClass
      The parent class for this class. This class would normally be the class designated by the extends statement and is needed because the annotated class must extend "_"+classname" (for example public MyClass extends _MyClass).

      Note: the parent should either be Object (which is the default) or some abstract/concrete class that implements DatastoreArray, like AbstractDatastoreArray.

      Rose conversion note: Corresponds to Class Specification -> Relations -> Specialize Class (where the specialized class is the single (non-interface) parent class).

      Supported API: true

      Default:
      java.lang.Object.class
    • interfaces

      Class[] interfaces
      The interfaces this class/interface extends/implements. These interfaces would normally be present in the extends clause (for an interface) or the implements clause (for a class), but must, instead, be present in this property because of the manner in which Java treats static final fields.

      Rose conversion note: Corresponds to Class Specification -> Relations -> Specialize Class (where the specialized class is the single (non-interface) parent class).

      Supported API: true

      Default:
      {}