Menu

@ConvertableClass parameters

hemysh

@ConvertableClass parameters

  • converter - it indicates which class is instanciate to convert your object.
  • depth - it indicates the conversion depth, so you can use it to determinate the depth conversion for stop automaticaly the conversion depth probably because you do not want convert all the tree for some reasons. For example, if you have an object1 containing an object2 containing an object3, if you set the conversion depth to 1, object1 will be automaticaly converted, object2 will be automaticaly converted but not the object3 (object1 + depth, in this case object1 and object2 but not object3). By default, conversion depth equals Integer.MAX_VALUE.

Related

Wiki: Home

MongoDB Logo MongoDB