public class DocStructure extends Object
Constructor and Description |
---|
DocStructure(PathProperties pathProps)
Create given an initial deployment doc mapping.
|
Modifier and Type | Method and Description |
---|---|
void |
addNested(String path,
PathProperties embeddedDoc)
Add an embedded property with it's document structure.
|
void |
addProperty(String name)
Add a property at the root level.
|
PathProperties |
doc()
Return the document structure.
|
FetchPath |
getEmbedded(String path)
Return the document structure for an embedded path.
|
FetchPath |
getEmbeddedManyRoot(String path) |
<T> void |
prepareMany(io.ebeaninternal.server.deploy.BeanDescriptor<T> desc)
For 'many' nested properties we need an additional root based graph to fetch and update.
|
public DocStructure(PathProperties pathProps)
public void addProperty(String name)
public void addNested(String path, PathProperties embeddedDoc)
public PathProperties doc()
public FetchPath getEmbedded(String path)
public FetchPath getEmbeddedManyRoot(String path)
public <T> void prepareMany(io.ebeaninternal.server.deploy.BeanDescriptor<T> desc)
Copyright © 2019. All rights reserved.