Skip to main content

Class Keywords

This reference describes the keywords that apply to a class as a whole or that specify the default behavior of its members. Later reference sections describe the keywords that apply to specific class members.

For general information on class definitions, see “Class Definitions.”

  • Abstract (Class Keyword) – Specifies whether this is an abstract class.
  • ClassType (Class Keyword) – Specifies the type (or behavior) of this class.
  • ClientDataType (Class Keyword) – Specifies the client data type used when this data type is projected to client technologies. Applies only to data type classes.
  • ClientName (Class Keyword) – Enables you to override the default class name used in client projections of this class.
  • CompileAfter (Class Keyword) – Specifies that this class should be compiled after other (specified) classes.
  • DdlAllowed (Class Keyword) – Specifies whether DDL statements can be used to alter or delete the class definition. Applies only to persistent classes.
  • DependsOn (Class Keyword) – Specifies that this class should be compiled after the compiler has made other (specified) classes runnable.
  • Deprecated (Class Keyword) – Specifies that this class is deprecated. This keyword is ignored by the class compiler and merely provides a human-readable indicator that the class is deprecated.
  • Final (Class Keyword) – Specifies whether this class is final (cannot have subclasses).
  • GeneratedBy (Class Keyword) – Indicates that this class was generated by code in another class and thus should not be edited.
  • Hidden (Class Keyword) – Specifies whether this class is hidden (not listed in the class reference).
  • Inheritance (Class Keyword) – Specifies the inheritance order for the superclasses of this class.
  • Language (Class Keyword) – Specifies the default language used to implement methods for this class.
  • LegacyInstanceContext (Class Keyword) – Specifies whether instance methods in this class can use the now-obsolete %this variable.
  • NoExtent (Class Keyword) – Specifies whether the compiler is prevented from generating an extent for this class (in the case where it would otherwise do so).
  • OdbcType (Class Keyword) – Specifies the type used when this data type is exposed via ODBC or JDBC. Every data type class must specify an ODBC type. This keyword applies only to data type classes.
  • Owner (Class Keyword) – Specifies the owner of this class and its corresponding table. Applies only to persistent classes.
  • ProcedureBlock (Class Keyword) – Specifies whether each ObjectScript method in this class is a procedure block by default.
  • PropertyClass (Class Keyword) – Adds property parameters to this class.
  • ServerOnly (Class Keyword) – Specifies whether this class is projected to Java clients.
  • Sharded – Specifies whether this class is sharded. Applies only to persistent classes in an environment containing a sharded cluster.
  • SoapBindingStyle (Class Keyword) – Specifies the binding style or SOAP invocation mechanism used by any web methods defined in this class. Applies only in a class that is defined as a web service or web client.
  • SoapBodyUse (Class Keyword) – Specifies the encoding for any web methods defined in this class. This keyword applies only to web service and web client classes.
  • SqlCategory (Class Keyword) – Specifies the type to use for calculations in SQL. Applies only to data type classes.
  • SqlRowIdName (Class Keyword) – Overrides the default SQL field name for the ID column for this class. Applies only to persistent classes.
  • SqlRowIdPrivate (Class Keyword) – Specifies whether the ID column for this class is a hidden field when projected to ODBC and JDBC. Applies only to persistent classes.
  • SqlTableName (Class Keyword) – Specifies the name of the SQL table to which this class is projected. Applies only to persistent classes.
  • StorageStrategy (Class Keyword) – Specifies which storage definition controls persistence for this class. Applies only to persistent and serial classes.
  • System (Class Keyword) – Influences the compilation order for this class.
  • ViewQuery (Class Keyword) – Specifies the SQL query for this class. Applies only to view definition classes.
FeedbackOpens in a new tab