public class CreateContext extends Object
Constructor and Description |
---|
CreateContext(ObjectifyFactory fact) |
Modifier and Type | Method and Description |
---|---|
void |
addAlternateEmbedPath(Path alternate)
There are multiple paths that might lead to a place when dealing with embedded collections; this makes
sure they all get into the embedCollectionPoints (if appropriate - they are only added if we are in
an embedded collection.
|
void |
enterCollection(Path path) |
void |
enterEmbed(Path path) |
void |
exitCollection() |
void |
exitEmbed() |
Set<Path> |
getEmbedCollectionPoints() |
ObjectifyFactory |
getFactory() |
boolean |
isInCollection() |
boolean |
isInEmbed() |
public CreateContext(ObjectifyFactory fact)
public ObjectifyFactory getFactory()
public void enterEmbed(Path path)
public void addAlternateEmbedPath(Path alternate)
alternate
- is another path to add as a potential embed collection point. no effect if we are not in an embed collection.public void exitEmbed()
public boolean isInEmbed()
public void enterCollection(Path path)
public void exitCollection()
public boolean isInCollection()
Copyright © 2013. All Rights Reserved.