Class ObjectStrategy

    • Constructor Detail

      • ObjectStrategy

        public ObjectStrategy()
    • Method Detail

      • getValue

        public Object getValue​(Class<?> attrType,
                               List<Annotation> attrAnnotations)
        It returns a value of the given type
        Specified by:
        getValue in interface AttributeStrategy<Object>
        Parameters:
        attrType - an attribute's type
        attrAnnotations - list of annotations attached to an attribute
        Returns:
        A value of the given type