Annotation Interface GenAsDatastoreStruct
DatastoreStruct. Annotated
classes will automatically implement the DatastoreStruct interface and need not
include it in the implements clause.
Supported API: true
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass[]The interfaces this class/interface extends/implements.The database's name for this object.A required array of properties for this type.The parent class for this class.
-
Element Details
-
objectName
String objectNameThe 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 -> Struct Set -> ObjectName.
Supported API: true
- Default:
""
-
superClass
Class superClassThe parent class for this class. This class would normally be the class designated by theextendsstatement and is needed because the annotated class must extend "_"+classname" (for examplepublic MyClass extends _MyClass).Note: the parent should either be
Object(which is the default) or some abstract/concrete class that implementsDatastoreStruct, likeAbstractDatastoreStruct.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[] interfacesThe interfaces this class/interface extends/implements. These interfaces would normally be present in theextendsclause (for an interface) or theimplementsclause (for a class), but must, instead, be present in this property because of the manner in whichJavatreatsstatic finalfields.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:
{}
-
properties
GeneratedProperty[] propertiesA required array of properties for this type. Should consist of database primitives (java.langorjava.sqltypes) or instances ofGenAsDatastoreStruct. This property is required as it makes little sense to create an empty database structure.Rose conversion note: Corresponds to Class Specification -> Windchill -> Attributes.
Supported API: true
- Default:
{}
-