public class MongoMappingBuilder<K,T extends PersistentBase> extends Object
MongoMapping
using simple immutabilty.Constructor and Description |
---|
MongoMappingBuilder(MongoStore<K,T> store) |
Modifier and Type | Method and Description |
---|---|
MongoMapping |
build()
Return the built mapping if it is in a legal state
|
protected void |
fromFile(String uri)
Load the
MongoMapping from a file
passed in parameter. |
protected void |
loadPersistentClass(org.jdom.Element classElement,
Class<T> pPersistentClass)
Handle the XML parsing of the class definition.
|
public MongoMappingBuilder(MongoStore<K,T> store)
public MongoMapping build()
protected void fromFile(String uri) throws IOException
MongoMapping
from a file
passed in parameter.uri
- path to the file holding the mappingIOException
Copyright © 2010-2015 The Apache Software Foundation. All Rights Reserved.