|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.persistence.proxy.ObjectRelationalMapping
public class ObjectRelationalMapping
INTERNAL: The generic object relational mapping definition class.
Field Summary | |
---|---|
protected java.util.Map |
cdescs
|
Constructor Summary | |
---|---|
ObjectRelationalMapping(java.io.InputStream istream)
INTERNAL: Creates an object relational mapping instance that is to read its definition from the specified mapping file. |
Method Summary | |
---|---|
void |
addClass(ClassDescriptor cdesc)
INTERNAL: Adds the class descriptor to the mapping. |
ClassDescriptor[] |
getClassDescriptors()
INTERNAL: Gets all the class descriptors in the mapping. |
ClassDescriptor |
getDescriptorByClass(java.lang.Object type)
INTERNAL: Gets the class descriptor by object type. |
ClassDescriptor[] |
getDescriptorClasses()
INTERNAL: Gets all the descriptor classes in describes by the mapping. |
protected void |
loadMapping(org.xml.sax.InputSource isource)
INTERNAL: Read a mapping description from the specified file. |
protected ClassDescriptor[] |
toClassDescriptorArray(java.util.Collection cdescs)
INTERNAL: Utility method that converts a collection of class descriptors to an array of class descriptors. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map cdescs
Constructor Detail |
---|
public ObjectRelationalMapping(java.io.InputStream istream)
Method Detail |
---|
protected void loadMapping(org.xml.sax.InputSource isource)
protected ClassDescriptor[] toClassDescriptorArray(java.util.Collection cdescs)
public ClassDescriptor[] getClassDescriptors()
public ClassDescriptor[] getDescriptorClasses()
public ClassDescriptor getDescriptorByClass(java.lang.Object type)
public void addClass(ClassDescriptor cdesc)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |