org.apache.ojb.broker.metadata
Class AttributeDescriptorBase
java.lang.Object
org.apache.ojb.broker.metadata.DescriptorBase
org.apache.ojb.broker.metadata.AttributeDescriptorBase
- All Implemented Interfaces:
- Serializable, AttributeContainer
- Direct Known Subclasses:
- FieldDescriptor, ObjectReferenceDescriptor
public class AttributeDescriptorBase
- extends DescriptorBase
- implements Serializable
Is the base class for all other attribute descriptors.
It holds basic the mapping information for a specific attribute.
- Version:
- $Id: AttributeDescriptorBase.java,v 1.1 2007-08-24 22:17:29 ewestfal Exp $
- Author:
- Thomas Mahler
- See Also:
- Serialized Form
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
m_PersistentField
protected PersistentField m_PersistentField
m_ClassDescriptor
protected ClassDescriptor m_ClassDescriptor
AttributeDescriptorBase
public AttributeDescriptorBase(ClassDescriptor descriptor)
- Constructor declaration
setPersistentField
public void setPersistentField(Class c,
String fieldname)
- Throws:
MetadataException
- if an error occours when setting the PersistenteField
setPersistentField
public void setPersistentField(PersistentField pf)
getPersistentField
public PersistentField getPersistentField()
getAttributeName
public String getAttributeName()
- Returns:
- the name of the Attribute
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
toString
public String toString()
- Overrides:
toString
in class DescriptorBase
Copyright © 2007-2012 The Kuali Foundation. All Rights Reserved.