public class ObjectIdAnnotationValidator
extends java.lang.Object
Constructor and Description |
---|
ObjectIdAnnotationValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
isAmbiguous(java.lang.Object o)
Checks if the object id is unique for the given object.
|
boolean |
isMissing(java.lang.Object o)
Returns true if the given, annotated object is not annotated with an ObjectID annotation.
|
public boolean isMissing(java.lang.Object o)
o
- object to testpublic boolean isAmbiguous(java.lang.Object o)
o
- object to test