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

Public Member Functions

String name () default""
String column () default""
Column[] columns () default

Detailed Description

Annotation on a member to define it as a primary key member of a class or persistent interface.

Definition at line 32 of file PrimaryKey.java.

Member Function Documentation

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

Name of the column to use for the primary key

Returns
the name of the column to use for the primary key
Column [] com.mysql.clusterj.annotation.PrimaryKey.columns ( )
inline

The column(s) for the primary key

Returns
the column(s) for the primary key

Definition at line 50 of file PrimaryKey.java.

String com.mysql.clusterj.annotation.PrimaryKey.name ( )

Name of the primary key constraint

Returns
the name of the primary key constraint

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