org.exolab.castor.jdo.conf

Class DatabaseDescriptor

Implemented Interfaces:
ClassDescriptor, XMLClassDescriptor

public class DatabaseDescriptor
extends java.lang.Object
implements XMLClassDescriptor

Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:09 $

Constructor Summary

DatabaseDescriptor()

Method Summary

boolean
canAccept(String fieldName, Object object)
false
AccessMode
getAccessMode()
XMLFieldDescriptor[]
getAttributeDescriptors()
XMLFieldDescriptor
getContentDescriptor()
XMLFieldDescriptor[]
getElementDescriptors()
ClassDescriptor
getExtends()
XMLFieldDescriptor
getFieldDescriptor(String name, NodeType nodeType)
Returns the XML field descriptor matching the given xml name and nodeType.
FieldDescriptor[]
getFields()
FieldDescriptor
getIdentity()
java.lang.Class
getJavaClass()
java.lang.String
getNameSpacePrefix()
java.lang.String
getNameSpaceURI()
TypeValidator
getValidator()
java.lang.String
getXMLName()

Constructor Details

DatabaseDescriptor

public DatabaseDescriptor()

Method Details

canAccept

public boolean canAccept(String fieldName,
                         Object object)
false
Specified by:
canAccept in interface XMLClassDescriptor


getAccessMode

public AccessMode getAccessMode()
Specified by:
getAccessMode in interface ClassDescriptor


getAttributeDescriptors

public XMLFieldDescriptor[] getAttributeDescriptors()
Specified by:
getAttributeDescriptors in interface XMLClassDescriptor


getContentDescriptor

public XMLFieldDescriptor getContentDescriptor()
Specified by:
getContentDescriptor in interface XMLClassDescriptor


getElementDescriptors

public XMLFieldDescriptor[] getElementDescriptors()
Specified by:
getElementDescriptors in interface XMLClassDescriptor


getExtends

public ClassDescriptor getExtends()
Specified by:
getExtends in interface ClassDescriptor


getFieldDescriptor

public XMLFieldDescriptor getFieldDescriptor(String name,
                                             NodeType nodeType)
Returns the XML field descriptor matching the given xml name and nodeType. If NodeType is null, then either an AttributeDescriptor, or ElementDescriptor may be returned. Null is returned if no matching descriptor is available.
Specified by:
getFieldDescriptor in interface XMLClassDescriptor

Parameters:
name - the xml name to match against

Returns:
the matching descriptor, or null if no matching descriptor is available.


getFields

public FieldDescriptor[] getFields()
Specified by:
getFields in interface ClassDescriptor


getIdentity

public FieldDescriptor getIdentity()
Specified by:
getIdentity in interface ClassDescriptor


getJavaClass

public java.lang.Class getJavaClass()
Specified by:
getJavaClass in interface ClassDescriptor


getNameSpacePrefix

public java.lang.String getNameSpacePrefix()
Specified by:
getNameSpacePrefix in interface XMLClassDescriptor


getNameSpaceURI

public java.lang.String getNameSpaceURI()
Specified by:
getNameSpaceURI in interface XMLClassDescriptor


getValidator

public TypeValidator getValidator()
Specified by:
getValidator in interface XMLClassDescriptor


getXMLName

public java.lang.String getXMLName()
Specified by:
getXMLName in interface XMLClassDescriptor


Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com