MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mysql.clusterj.annotation.Persistent Interface Reference

Public Member Functions

NullValue nullValue () default NullValue.NONE
String primaryKey () default""
String column () default""
Extension[] extensions () default

Detailed Description

Annotation for defining the persistence of a member.

Definition at line 31 of file Persistent.java.

Member Function Documentation

String com.mysql.clusterj.annotation.Persistent.column ( )

Column name where the values are stored for this member.

Returns
the name of the column
Extension [] com.mysql.clusterj.annotation.Persistent.extensions ( )
inline

Non-standard extensions for this member.

Returns
the non-standard extensions

Definition at line 54 of file Persistent.java.

NullValue com.mysql.clusterj.annotation.Persistent.nullValue ( )

Behavior when this member contains a null value.

Returns
the behavior when this member contains a null value

Here is the caller graph for this function:

String com.mysql.clusterj.annotation.Persistent.primaryKey ( )

Whether this member is part of the primary key for the table. This is equivalent to specifying as a separate annotation on the member.

Returns
whether this member is part of the primary key

The documentation for this interface was generated from the following file: