Type - public class LuceneErsatz<Type extends org.neo4j.graphdb.PropertyContainer> extends Ersatz
| Modifier and Type | Method and Description |
|---|---|
java.lang.Iterable<EOAttribute> |
attributes()
Gets all EO attributes that this ersatz object has values stored for.
|
static <Type extends org.neo4j.graphdb.PropertyContainer> |
createForInsert(EOEntity entity,
Type obj,
org.neo4j.graphdb.index.Index<Type> index) |
static <Type extends org.neo4j.graphdb.PropertyContainer> |
createForUpdate(EOEntity entity,
Type obj,
org.neo4j.graphdb.index.Index<Type> index) |
void |
delete()
Delete record that this ersatz represents.
|
java.lang.Object |
get(EOAttribute att)
Gets neutral value for an EO attribute.
|
static boolean |
isAdditionalyIndexedLowercase(EOAttribute att) |
static java.lang.String |
lowercasePropertyName(java.lang.String propertyName) |
void |
put(EOAttribute att,
java.lang.Object value)
Sets neutral java value for an EO attribute.
|
void |
remove(EOAttribute att)
Clears value for an EO attribute.
|
public static <Type extends org.neo4j.graphdb.PropertyContainer> LuceneErsatz<Type> createForInsert(EOEntity entity, Type obj, org.neo4j.graphdb.index.Index<Type> index)
public static <Type extends org.neo4j.graphdb.PropertyContainer> LuceneErsatz<Type> createForUpdate(EOEntity entity, Type obj, org.neo4j.graphdb.index.Index<Type> index)
public java.lang.Iterable<EOAttribute> attributes()
Ersatzattributes in class Ersatzpublic java.lang.Object get(EOAttribute att)
ErsatzErsatz.attributes().public void put(EOAttribute att, java.lang.Object value)
Ersatzpublic void remove(EOAttribute att)
Ersatzpublic void delete()
Ersatzpublic static boolean isAdditionalyIndexedLowercase(EOAttribute att)
public static java.lang.String lowercasePropertyName(java.lang.String propertyName)
Copyright © 2002 – 2022 Project Wonder.