ojb.broker.metadata
Class AttributeDescriptorBase

java.lang.Object
  |
  +--ojb.broker.metadata.AttributeDescriptorBase
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FieldDescriptor, ObjectReferenceDescriptor

public class AttributeDescriptorBase
extends java.lang.Object
implements java.io.Serializable

is the base class for all other attribute descriptors. It holds basic the mapping information for a specific attribute.

Author:
Thomas Mahler
See Also:
Serialized Form

Constructor Summary
AttributeDescriptorBase()
          Constructor declaration
 
Method Summary
 ClassDescriptor getClassDescriptor()
          Gets the classDescriptor.
 PersistentField getPersistentField()
          Method declaration
 void setClassDescriptor(ClassDescriptor classDescriptor)
          Sets the classDescriptor.
static void setDebug(boolean b)
          Method declaration
 void setPersistentField(java.lang.Class c, java.lang.String fieldname)
          Method declaration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeDescriptorBase

public AttributeDescriptorBase()
Constructor declaration

Method Detail

setPersistentField

public void setPersistentField(java.lang.Class c,
                               java.lang.String fieldname)
Method declaration

Parameters:
c -
fieldname -

getPersistentField

public PersistentField getPersistentField()
Method declaration

Returns:

setDebug

public static void setDebug(boolean b)
Method declaration

Parameters:
b -

getClassDescriptor

public ClassDescriptor getClassDescriptor()
Gets the classDescriptor.

Returns:
Returns a ClassDescriptor

setClassDescriptor

public void setClassDescriptor(ClassDescriptor classDescriptor)
Sets the classDescriptor.

Parameters:
classDescriptor - The classDescriptor to set


Authors: Thomas Mahler and others. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.8.375, 2002-04-04