public final class JDOMetaDataProperties extends Object
test.Test1#field
, the keys test.Test1
and
test.Test1#Field
have to be present.
Constructor and Description |
---|
JDOMetaDataProperties(Properties props)
Creates a new object with the given properties.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public JDOMetaDataProperties(Properties props)
props
- The properties.properties
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()
Copyright © 2019. All rights reserved.