Permalink
Browse files

class mapper cleanup post-refactoring

Signed-off-by: gburgett <gordon.burgett@gmail.com>
  • Loading branch information...
1 parent 4586119 commit b8ec5e6c52f4113520c6cb2b296f816015a22dda @gburgett gburgett committed Apr 6, 2013
@@ -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
@@ -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;
}

0 comments on commit b8ec5e6

Please sign in to comment.