org.apache.ojb.broker.metadata.fieldaccess
Class PersistentFieldBase

java.lang.Object
  extended by org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldBase
All Implemented Interfaces:
java.io.Serializable, PersistentField
Direct Known Subclasses:
PersistentFieldAutoProxyImpl, PersistentFieldDirectImpl, PersistentFieldDynaBeanImpl, PersistentFieldIntrospectorImpl

public abstract class PersistentFieldBase
extends java.lang.Object
implements PersistentField

Abstract PersistentField base implementation class.

Version:
$Id: PersistentFieldBase.java 365232 2005-12-21 22:36:07Z tomdz $
Author:
Armin Waibel
See Also:
Serialized Form

Field Summary
static java.lang.String PATH_TOKEN
           
 
Constructor Summary
PersistentFieldBase()
          For internal use only!!
PersistentFieldBase(java.lang.Class clazz, java.lang.String fieldname)
           
 
Method Summary
 java.lang.Class getDeclaringClass()
           
 java.lang.String getName()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.ojb.broker.metadata.fieldaccess.PersistentField
get, getType, set, usesAccessorsAndMutators
 

Field Detail

PATH_TOKEN

public static final java.lang.String PATH_TOKEN
See Also:
Constant Field Values
Constructor Detail

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(java.lang.Class clazz,
                           java.lang.String fieldname)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface PersistentField

getDeclaringClass

public java.lang.Class getDeclaringClass()
Specified by:
getDeclaringClass in interface PersistentField

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30