org.apache.ojb.broker.metadata.fieldaccess
Class PersistentFieldBase
java.lang.Object
org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldBase
- All Implemented Interfaces:
- Serializable, PersistentField
- Direct Known Subclasses:
- PersistentFieldAutoProxyImpl, PersistentFieldDirectImpl, PersistentFieldDynaBeanImpl, PersistentFieldIntrospectorImpl
public abstract class PersistentFieldBase
- extends Object
- implements PersistentField
Abstract PersistentField
base implementation class.
- Version:
- $Id: PersistentFieldBase.java,v 1.1 2007-08-24 22:17:35 ewestfal Exp $
- Author:
- Armin Waibel
- See Also:
- Serialized Form
Constructor Summary |
PersistentFieldBase()
For internal use only!!
TODO: Default constructor only needed to support
PersistentFieldFactory#usesAccessorsAndMutators()
method - find a better solution. |
PersistentFieldBase(Class clazz,
String fieldname)
|
PATH_TOKEN
public static final String PATH_TOKEN
- See Also:
- Constant Field Values
rootObjectType
protected Class rootObjectType
PersistentFieldBase
public PersistentFieldBase()
- For internal use only!!
TODO: Default constructor only needed to support
PersistentFieldFactory#usesAccessorsAndMutators()
method - find a better solution. Make 'public' to
allow helper class to instantiate class.
PersistentFieldBase
public PersistentFieldBase(Class clazz,
String fieldname)
makeAccessible
protected abstract boolean makeAccessible()
- A value of true indicates that this field should
suppress Java language access checking when it is used.
getName
public String getName()
- Specified by:
getName
in interface PersistentField
getDeclaringClass
public Class getDeclaringClass()
- Specified by:
getDeclaringClass
in interface PersistentField
getFieldGraph
protected List getFieldGraph(boolean makeAccessible)
getLog
protected Logger getLog()
toString
public String toString()
- Overrides:
toString
in class Object
buildErrorSetMsg
protected String buildErrorSetMsg(Object obj,
Object value,
Field aField)
- Build a String representation of given arguments.
buildErrorGetMsg
protected String buildErrorGetMsg(Object obj,
Field aField)
- Build a String representation of given arguments.
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.