public class Neo4jPropertyHelper extends ParserPropertyHelper implements org.hibernate.hql.ast.spi.PropertyHelper
| Constructor and Description |
|---|
Neo4jPropertyHelper(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory,
org.hibernate.hql.ast.spi.EntityNamesResolver entityNames) |
| Modifier and Type | Method and Description |
|---|---|
Object |
convertToBackendType(String entityType,
List<String> propertyPath,
Object value) |
Object |
convertToLiteral(String entityType,
List<String> propertyPath,
Object value) |
String |
getColumnName(Class<?> entityType,
List<String> propertyName) |
String |
getColumnName(String entityType,
List<String> propertyPathWithoutAlias) |
boolean |
isIdProperty(OgmEntityPersister persister,
List<String> namesWithoutAlias)
Check if the property is part of the identifier of the entity.
|
boolean |
isIdProperty(String entityType,
List<String> propertyPath) |
convertToPropertyType, findAssociationPath, getColumn, getPersister, getPropertyType, getSessionFactory, isAssociation, isEmbeddedProperty, isNestedProperty, isSimplePropertypublic Neo4jPropertyHelper(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory,
org.hibernate.hql.ast.spi.EntityNamesResolver entityNames)
public Object convertToBackendType(String entityType, List<String> propertyPath, Object value)
convertToBackendType in interface org.hibernate.hql.ast.spi.PropertyHelperconvertToBackendType in class ParserPropertyHelperpublic Object convertToLiteral(String entityType, List<String> propertyPath, Object value)
public boolean isIdProperty(OgmEntityPersister persister, List<String> namesWithoutAlias)
persister - the OgmEntityPersister of the entity with the propertynamesWithoutAlias - the path to the the property with all the aliases resolvedtrue if the property is part of the id, false otherwise.Copyright © 2010-2015 Hibernate. All Rights Reserved.