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