Class RequiredIdResolver

  • All Implemented Interfaces:
    >

    public class RequiredIdResolver
    extends 
    implements >
    Author:
    Nikita Koksharov
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <?> cls, RId annotation,  idFieldName, CommandAsyncExecutor commandAsyncExecutor)
      RLiveObjectService instantiate the class and invokes this method to get a value used as the value for the field with RId annotation.
      • Methods inherited from class java.lang.

        , , , , , , , , , ,
    • Constructor Detail

      • RequiredIdResolver

        public RequiredIdResolver()
    • Method Detail

      • resolve

        public  resolve​(<?> cls,
                              RId annotation,
                               idFieldName,
                              CommandAsyncExecutor commandAsyncExecutor)
        Description copied from interface: RIdResolver
        RLiveObjectService instantiate the class and invokes this method to get a value used as the value for the field with RId annotation.
        Specified by:
        >
        Parameters:
        cls - the class of the LiveObject.
        annotation - the RId annotation used in the class.
        idFieldName - field id
        commandAsyncExecutor - instance
        Returns:
        resolved RId field value.