Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

class mapper cleanup post-refactoring

Signed-off-by: gburgett <gordon.burgett@gmail.com>
  • Loading branch information...
commit b8ec5e6c52f4113520c6cb2b296f816015a22dda 1 parent 4586119
Gordon gburgett authored
2  spring-data-orientdb-commons/src/main/java/org/springframework/data/orientdb/graph/mapper/ClassMapper.java
View
@@ -52,7 +52,7 @@
* Gets an IdResolver for the class mapped by this mapper, which is used to get
* and set the POJO's ID.
*/
- public IdResolver getIdResolver();
+ public IdResolver<T> getIdResolver();
/**
* Marshals an object's properties to the given ODocument, which is the
4 ...ta-orientdb-commons/src/main/java/org/springframework/data/orientdb/graph/mapper/DefaultClassMapper.java
View
@@ -33,6 +33,7 @@
* Gets the IdResolver used to find the object's ID field.
* @return
*/
+ @Override
public IdResolver<T> getIdResolver(){
return idResolver;
}
@@ -46,6 +47,7 @@
* class is annotated as a vertex.
* @return
*/
+ @Override
public boolean isVertex(){
return vertexAnnotation != null;
}
@@ -54,6 +56,7 @@ public boolean isVertex(){
* Indicates whether this class is an Edge.
* @return
*/
+ @Override
public boolean isEdge(){
return edgeAnnotation != null;
}
@@ -66,6 +69,7 @@ public boolean isEdge(){
* Gets the name of the Orient database class, or null
* to use the vertex or edge base class name.
*/
+ @Override
public String getOClassName(){
return className;
}
Please sign in to comment.
Something went wrong with that request. Please try again.