Package de.bild.codec.annotations
Annotation Interface Discriminator
If you want to choose your discriminator manually you can annotate your pojo classes with this annotation.
Within the value array, provide ALL discriminators that identify your pojo
(if you have used different ones within mongo and do not want to change existing ones)
The first entry in this list will be used for current encodings to the database.
If no discriminator annotation is present at your pojo class, the Class.getSimpleName() will
be used in case a polymorphic data structure is found.
Please be aware that using the same discriminator could potentially lead to ambiguities, IF such classes are assignable to each other.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements