Annotation for marking field as object id field, or for marking method as object id getter or setter.
There can be up to three
ObjectId annotations in a class: one for a field, one for a getter method and one for a setter method.
When getting or setting object id value, annotated method should be preferred over annotated field.
Copyright © 2017. All rights reserved.