public class Neo4jPersistentEntityImpl<T> extends BasicPersistentEntity<T,Neo4jPersistentProperty> implements Neo4jPersistentEntity<T>, RelationshipProperties
Neo4jPersistentEntity.hasIdProperty, hasVersionPropertyhasIdProperty, hasVersionProperty| Constructor and Description |
|---|
Neo4jPersistentEntityImpl(TypeInformation<T> information,
EntityAlias entityAlias)
Creates a new
Neo4jPersistentEntityImpl instance. |
doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isConstructorArgument, isIdProperty, isVersionProperty, returnPropertyIfBetterIdPropertyCandidateOrNullclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdoWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isConstructorArgument, isIdProperty, isVersionPropertypublic Neo4jPersistentEntityImpl(TypeInformation<T> information, EntityAlias entityAlias)
Neo4jPersistentEntityImpl instance.information - must not be null.entityAlias - public void verify()
verify in interface MutablePersistentEntity<T,Neo4jPersistentProperty>verify in class BasicPersistentEntity<T,Neo4jPersistentProperty>public boolean useShortNames()
useShortNames in interface Neo4jPersistentEntity<T>public boolean isNodeEntity()
isNodeEntity in interface Neo4jPersistentEntity<T>public boolean isRelationshipEntity()
isRelationshipEntity in interface Neo4jPersistentEntity<T>public void setPersistentState(Object entity, org.neo4j.graphdb.PropertyContainer state)
setPersistentState in interface Neo4jPersistentEntity<T>public Object getPersistentId(Object entity)
getPersistentId in interface Neo4jPersistentEntity<T>public RelationshipProperties getRelationshipProperties()
getRelationshipProperties in interface Neo4jPersistentEntity<T>public String getEntityName()
public boolean isManaged()
public boolean isUnique()
isUnique in interface Neo4jPersistentEntity<T>public void addPersistentProperty(Neo4jPersistentProperty property)
addPersistentProperty in interface MutablePersistentEntity<T,Neo4jPersistentProperty>addPersistentProperty in class BasicPersistentEntity<T,Neo4jPersistentProperty>public void addAssociation(Association<Neo4jPersistentProperty> neo4jPersistentPropertyAssociation)
addAssociation in interface MutablePersistentEntity<T,Neo4jPersistentProperty>addAssociation in class BasicPersistentEntity<T,Neo4jPersistentProperty>public Neo4jPersistentProperty getStartNodeProperty()
getStartNodeProperty in interface RelationshipPropertiespublic Neo4jPersistentProperty getEndNodeProperty()
getEndNodeProperty in interface RelationshipPropertiespublic Neo4jPersistentProperty getTypeProperty()
getTypeProperty in interface RelationshipPropertiespublic String getRelationshipType()
getRelationshipType in interface RelationshipPropertiespublic MappingPolicy getMappingPolicy()
getMappingPolicy in interface Neo4jPersistentEntity<T>public StoredEntityType getEntityType()
getEntityType in interface Neo4jPersistentEntity<T>public boolean matchesAlias(Object alias)
public Neo4jPersistentProperty getUniqueProperty()
getUniqueProperty in interface Neo4jPersistentEntity<T>public Collection<String> getAllLabels()
getAllLabels in interface Neo4jPersistentEntity<T>public PersistentPropertyAccessor getPropertyAccessor(Object source, ConversionService conversionService)
getPropertyAccessor in interface Neo4jPersistentEntity<T>Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.