|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jdo.api.persistence.enhancer.meta.JDOMetaDataProperties
public final class JDOMetaDataProperties
This class parses properties containing meta data information about classes. The syntax of the properties is the following:
test.Test1#field, the keys test.Test1 and
test.Test1#Field have to be present.
| Constructor Summary | |
|---|---|
JDOMetaDataProperties(Properties props)
Creates a new object with the given properties. |
|
| Method Summary | |
|---|---|
com.sun.jdo.api.persistence.enhancer.meta.JDOMetaDataProperties.JDOClass |
getJDOClass(String classname)
Get the information about the class with the given name. |
com.sun.jdo.api.persistence.enhancer.meta.JDOMetaDataProperties.JDOField |
getJDOField(String fieldname,
String classname)
Gets the information about the specified field. |
String[] |
getKnownClassNames()
Gets all classnames in the properties. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JDOMetaDataProperties(Properties props)
props - The properties.properties| Method Detail |
|---|
public final com.sun.jdo.api.persistence.enhancer.meta.JDOMetaDataProperties.JDOClass getJDOClass(String classname)
throws JDOMetaDataUserException
classname - The classname.
null if no
information is given.
JDOMetaDataUserException - If something went wrong parsing
the properties.
public final com.sun.jdo.api.persistence.enhancer.meta.JDOMetaDataProperties.JDOField getJDOField(String fieldname,
String classname)
throws JDOMetaDataUserException
classname - The name of the class.fieldname - The name of the field of the class.
null if
no information could be found.
JDOMetaDataUserException - If something went wrong parsing
the properties.public final String[] getKnownClassNames()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||