org.springframework.data.neo4j.repository
Class GraphMetamodelEntityInformation<S extends org.neo4j.graphdb.PropertyContainer,T>
java.lang.Object
org.springframework.data.repository.core.support.AbstractEntityInformation<T,Long>
org.springframework.data.neo4j.repository.GraphMetamodelEntityInformation<S,T>
- All Implemented Interfaces:
- GraphEntityInformation<S,T>, EntityInformation<T,Long>, EntityMetadata<T>
public class GraphMetamodelEntityInformation<S extends org.neo4j.graphdb.PropertyContainer,T>
- extends AbstractEntityInformation<T,Long>
- implements GraphEntityInformation<S,T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphMetamodelEntityInformation
public GraphMetamodelEntityInformation(Class domainClass,
Neo4jTemplate template)
isNodeEntity
public boolean isNodeEntity()
- Specified by:
isNodeEntity in interface GraphEntityInformation<S extends org.neo4j.graphdb.PropertyContainer,T>
isPartialEntity
public boolean isPartialEntity()
- Specified by:
isPartialEntity in interface GraphEntityInformation<S extends org.neo4j.graphdb.PropertyContainer,T>
isRelationshipEntity
public boolean isRelationshipEntity()
- Specified by:
isRelationshipEntity in interface GraphEntityInformation<S extends org.neo4j.graphdb.PropertyContainer,T>
isNew
public boolean isNew(T entity)
- Specified by:
isNew in interface EntityInformation<T,Long>- Overrides:
isNew in class AbstractEntityInformation<T,Long>
getId
public Long getId(T entity)
- Specified by:
getId in interface EntityInformation<T,Long>
getIdType
public Class<Long> getIdType()
- Specified by:
getIdType in interface EntityInformation<T,Long>
Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.