|
Kodo 4.2.0. generated on July 28 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.meta.AbstractMetaDataFactory org.apache.openjpa.meta.AbstractCFMetaDataFactory kodo.jdo.JDOMetaDataFactory
public class JDOMetaDataFactory
JDO-compliant MetaDataFactory
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.openjpa.meta.AbstractCFMetaDataFactory |
---|
AbstractCFMetaDataFactory.Parser, AbstractCFMetaDataFactory.Serializer |
Field Summary |
---|
Fields inherited from class org.apache.openjpa.meta.AbstractCFMetaDataFactory |
---|
cpath, files, rsrcs, urls |
Fields inherited from class org.apache.openjpa.meta.AbstractMetaDataFactory |
---|
dir, log, repos, store, strict, types |
Fields inherited from interface org.apache.openjpa.meta.MetaDataFactory |
---|
STORE_DEFAULT, STORE_PER_CLASS, STORE_VERBOSE |
Fields inherited from interface org.apache.openjpa.meta.MetaDataModes |
---|
MODE_ALL, MODE_ANN_MAPPING, MODE_MAPPING, MODE_MAPPING_INIT, MODE_META, MODE_NONE, MODE_QUERY |
Constructor Summary | |
---|---|
JDOMetaDataFactory()
|
Method Summary | |
---|---|
void |
addClassExtensionKeys(Collection exts)
|
void |
addFieldExtensionKeys(Collection exts)
|
void |
clear()
|
protected File |
defaultSourceFile(ClassMetaData meta)
|
protected File |
defaultSourceFile(QueryMetaData query,
Map clsNames)
|
protected File |
defaultSourceFile(SequenceMetaData seq,
Map clsNames)
|
MetaDataDefaults |
getDefaults()
|
protected String |
getMetaDataSuffix()
Metadata file suffix. |
JDOMetaDataParser |
getParser()
Return metadata parser, creating it if it does not already exist. |
boolean |
isDeclaredInterfacePersistent()
Whether declared interfaces of a given persistent-class are persistence-capable (i.e. |
protected boolean |
isParseTopDown()
|
boolean |
isScanTopDown()
Whether to scan for class metadata top-down in the package tree. |
void |
load(Class cls,
int mode,
ClassLoader envLoader)
|
void |
loadXMLMetaData(FieldMetaData fieldMetaData)
|
protected AbstractCFMetaDataFactory.Serializer |
newAnnotationSerializer()
|
ClassArgParser |
newClassArgParser()
|
protected MetaDataFilter |
newMetaDataFilter()
|
protected AbstractCFMetaDataFactory.Parser |
newParser(boolean loading)
|
protected AbstractCFMetaDataFactory.Serializer |
newSerializer()
|
void |
setDeclaredInterfacePersistent(boolean pers)
Whether declared interfaces of a given persistent-class are persistence-capable (i.e. |
void |
setLoadObjectIds()
|
void |
setParser(JDOMetaDataParser parser)
Set the metadata parser. |
void |
setScanTopDown(boolean topDown)
Whether to scan for class metadata top-down in the package tree. |
void |
setUseSchemaValidation(boolean useSchema)
Whether to use XSD schema validation (as opposed to DTD). |
boolean |
useSchemaValidation()
Whether to use XSD schema validation (as opposed to DTD). |
Methods inherited from class org.apache.openjpa.meta.AbstractCFMetaDataFactory |
---|
backupAndDelete, clearMapping, drop, getDefiningMetaData, getPersistentTypeNames, getSourceFile, getSourceFile, isMappingOnlyFactory, mapPersistentTypeNames, parse, parse, serialize, setClasspathScan, setClasspathScan, setFiles, setFiles, setResources, setResources, setSourceFile, setSourceFile, setURLs, setURLs, store |
Methods inherited from class org.apache.openjpa.meta.AbstractMetaDataFactory |
---|
getQueryScope, getResultSetMappingScope, setRepository, setStoreDirectory, setStoreMode, setStrict, setTypes, setTypes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JDOMetaDataFactory()
Method Detail |
---|
public boolean isScanTopDown()
public void setScanTopDown(boolean topDown)
public boolean useSchemaValidation()
public void setUseSchemaValidation(boolean useSchema)
public boolean isDeclaredInterfacePersistent()
public void setDeclaredInterfacePersistent(boolean pers)
public JDOMetaDataParser getParser()
public void setParser(JDOMetaDataParser parser)
public void load(Class cls, int mode, ClassLoader envLoader)
load
in interface MetaDataFactory
public MetaDataDefaults getDefaults()
getDefaults
in interface MetaDataFactory
public ClassArgParser newClassArgParser()
newClassArgParser
in interface MetaDataFactory
newClassArgParser
in class AbstractMetaDataFactory
public void clear()
clear
in interface MetaDataFactory
clear
in class AbstractCFMetaDataFactory
public void addClassExtensionKeys(Collection exts)
addClassExtensionKeys
in interface MetaDataFactory
addClassExtensionKeys
in class AbstractMetaDataFactory
public void addFieldExtensionKeys(Collection exts)
addFieldExtensionKeys
in interface MetaDataFactory
addFieldExtensionKeys
in class AbstractMetaDataFactory
public void loadXMLMetaData(FieldMetaData fieldMetaData)
loadXMLMetaData
in interface MetaDataFactory
protected AbstractCFMetaDataFactory.Parser newParser(boolean loading)
newParser
in class AbstractCFMetaDataFactory
protected AbstractCFMetaDataFactory.Serializer newSerializer()
newSerializer
in class AbstractCFMetaDataFactory
protected AbstractCFMetaDataFactory.Serializer newAnnotationSerializer()
newAnnotationSerializer
in class AbstractCFMetaDataFactory
protected boolean isParseTopDown()
isParseTopDown
in class AbstractCFMetaDataFactory
protected File defaultSourceFile(ClassMetaData meta)
defaultSourceFile
in class AbstractCFMetaDataFactory
protected File defaultSourceFile(QueryMetaData query, Map clsNames)
defaultSourceFile
in class AbstractCFMetaDataFactory
protected File defaultSourceFile(SequenceMetaData seq, Map clsNames)
defaultSourceFile
in class AbstractCFMetaDataFactory
protected MetaDataFilter newMetaDataFilter()
newMetaDataFilter
in class AbstractCFMetaDataFactory
protected String getMetaDataSuffix()
public void setLoadObjectIds()
setLoadObjectIds
in interface ApplicationIdTool.ObjectIdLoader
|
Kodo 4.2.0. generated on July 28 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |