org.apache.openjpa.jdbc.meta.strats
Class NoneFieldStrategy

java.lang.Object
  extended by org.apache.openjpa.jdbc.meta.strats.AbstractStrategy
      extended by org.apache.openjpa.jdbc.meta.strats.AbstractFieldStrategy
          extended by org.apache.openjpa.jdbc.meta.strats.NoneFieldStrategy
All Implemented Interfaces:
Serializable, FieldStrategy, Strategy

public class NoneFieldStrategy
extends AbstractFieldStrategy

An unmapped field.

Author:
Abe White
See Also:
Serialized Form

Field Summary
static String ALIAS
           
 
Fields inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractFieldStrategy
field
 
Method Summary
 String getAlias()
          Return the alias of this strategy.
static NoneFieldStrategy getInstance()
          Return the singleton instance.
 void setFieldMapping(FieldMapping owner)
          Set the class mapping using this strategy.
 
Methods inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractFieldStrategy
appendIndex, appendIsEmpty, appendIsNotEmpty, appendIsNotNull, appendIsNull, appendSize, appendType, assertNotMappedBy, isEagerSelectToMany, isVersionable, join, joinKey, joinKeyRelation, joinRelation, load, load, loadEagerJoin, loadEagerParallel, loadKeyProjection, loadProjection, select, selectEagerJoin, selectEagerParallel, supportsSelect, toDataStoreValue, toKeyDataStoreValue, where
 
Methods inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractStrategy
customDelete, customInsert, customUpdate, delete, initialize, insert, isCustomDelete, isCustomInsert, isCustomUpdate, map, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.openjpa.jdbc.meta.Strategy
customDelete, customInsert, customUpdate, delete, initialize, insert, isCustomDelete, isCustomInsert, isCustomUpdate, map, update
 

Field Detail

ALIAS

public static final String ALIAS
See Also:
Constant Field Values
Method Detail

getInstance

public static NoneFieldStrategy getInstance()
Return the singleton instance.


getAlias

public String getAlias()
Description copied from interface: Strategy
Return the alias of this strategy. For custom strategies, return the full class name.

Specified by:
getAlias in interface Strategy
Overrides:
getAlias in class AbstractStrategy

setFieldMapping

public void setFieldMapping(FieldMapping owner)
Description copied from interface: FieldStrategy
Set the class mapping using this strategy. This will be called before use.

Specified by:
setFieldMapping in interface FieldStrategy
Overrides:
setFieldMapping in class AbstractFieldStrategy


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.