public class Id extends Object implements Comparable<Id>
Can be used in a request search to pass an object with id only, or as a class attribute type in which case an incoming "id" property will get serialized to this class.
If serialization of this class is needed as string "id" only,
then annotate the property with IdAsStringSerializer
public Id(String id)
public int compareTo(Id other)
compareTo in interface Comparable<Id>Copyright © 2023. All rights reserved.