MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mysql.clusterj.core.metadata.DomainFieldHandlerImpl Class Reference
Inheritance diagram for com.mysql.clusterj.core.metadata.DomainFieldHandlerImpl:
Collaboration diagram for com.mysql.clusterj.core.metadata.DomainFieldHandlerImpl:

Classes

interface  NullObjectOperationHandler

Public Member Functions

int compareTo (Object other)
 DomainFieldHandlerImpl (DomainTypeHandlerImpl<?> domainTypeHandler, Table table, int fieldNumber, String name, Class<?> type, Method getMethod, Method setMethod)
 DomainFieldHandlerImpl (DomainTypeHandlerImpl<?> domainTypeHandler, Table table, int i, com.mysql.clusterj.core.store.Column storeColumn)
boolean isPersistent ()
void operationSetValue (ValueHandler handler, Operation op)

Protected Member Functions

void registerIndices (DomainTypeHandlerImpl<?> domainTypeHandler)

Protected Attributes

Method setMethod
NullObjectOperationHandler nullValueDelegate
com.mysql.clusterj.annotation.Index indexAnnotation = null
Persistent persistentAnnotation = null
Column columnAnnotation = null
String columnAllowsNull
Lob lobAnnotation
NotPersistent notPersistentAnnotation

Additional Inherited Members

Detailed Description

An instance of this class handles a field (property) of a persistence-capable class (interface). Currently only properties (paired get and set methods) of interfaces are supported. Instances of the class bind at construction time to implementations of type-specific handlers for Ndb operations.

Definition at line 49 of file DomainFieldHandlerImpl.java.

Constructor & Destructor Documentation

com.mysql.clusterj.core.metadata.DomainFieldHandlerImpl.DomainFieldHandlerImpl ( DomainTypeHandlerImpl<?>  domainTypeHandler,
Table  table,
int  fieldNumber,
String  name,
Class<?>  type,
Method  getMethod,
Method  setMethod 
)
inline

Create a domain field handler for annotated interfaces.

Parameters
domainTypeHandlerthe domain type handler
tablethe table
fieldNumberthe field number (in schema definition order)
namethe field name
typethe java type
getMethodthe get method for the field
setMethodthe set method for the field

Definition at line 98 of file DomainFieldHandlerImpl.java.

Here is the call graph for this function:

com.mysql.clusterj.core.metadata.DomainFieldHandlerImpl.DomainFieldHandlerImpl ( DomainTypeHandlerImpl<?>  domainTypeHandler,
Table  table,
int  i,
com.mysql.clusterj.core.store.Column  storeColumn 
)
inline

Create a domain field handler for dynamic objects.

Parameters
domainTypeHandlerthe domain type handler
tablethe table
ithe field number
storeColumnthe store column definition

Definition at line 311 of file DomainFieldHandlerImpl.java.

Here is the call graph for this function:

Member Data Documentation

String com.mysql.clusterj.core.metadata.DomainFieldHandlerImpl.columnAllowsNull
protected

The AllowsNull annotation

Definition at line 73 of file DomainFieldHandlerImpl.java.

Column com.mysql.clusterj.core.metadata.DomainFieldHandlerImpl.columnAnnotation = null
protected

The Column annotation on the get method.

Definition at line 70 of file DomainFieldHandlerImpl.java.

com.mysql.clusterj.annotation.Index com.mysql.clusterj.core.metadata.DomainFieldHandlerImpl.indexAnnotation = null
protected

The Index annotation on the get method.

Definition at line 64 of file DomainFieldHandlerImpl.java.

Lob com.mysql.clusterj.core.metadata.DomainFieldHandlerImpl.lobAnnotation
protected

Lob annotation is not null if annotated with .

Definition at line 76 of file DomainFieldHandlerImpl.java.

NotPersistent com.mysql.clusterj.core.metadata.DomainFieldHandlerImpl.notPersistentAnnotation
protected

The NotPersistent annotation indicates that this field is not persistent, but can be used as a property that holds data not stored in the datastore.

Definition at line 82 of file DomainFieldHandlerImpl.java.

NullObjectOperationHandler com.mysql.clusterj.core.metadata.DomainFieldHandlerImpl.nullValueDelegate
protected

The null value handler.

Definition at line 61 of file DomainFieldHandlerImpl.java.

Persistent com.mysql.clusterj.core.metadata.DomainFieldHandlerImpl.persistentAnnotation = null
protected

The Persistent annotation on the get method.

Definition at line 67 of file DomainFieldHandlerImpl.java.

Method com.mysql.clusterj.core.metadata.DomainFieldHandlerImpl.setMethod
protected

The set method.

Definition at line 58 of file DomainFieldHandlerImpl.java.


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