类 PojoUtils


  • public class PojoUtils
    extends 
    PojoUtils. Travel object deeply, and convert complex type to simple type.

    Simple type below will be remained:

    • Primitive Type, also include String, Number(Integer, Long), Date
    • Array of Primitive Type
    • Collection, eg: List, Map, Set etc.

    Other type will be covert to a map which contains the attributes and value pair of object.

    • 构造器概要

      构造器 
      构造器 说明
      PojoUtils()  
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static  pojo)  
      static [] [] objs)  
      static boolean <?> cls)  
      static [] [] objs, <?>[] types)  
      static [] [] objs, <?>[] types, [] gtypes)  
      static  pojo, <?> type)  
      static  pojo, <?> type,  genericType)  
      • 从类继承的方法 java.lang.

        , , , , , , , ,
    • 构造器详细资料

      • PojoUtils

        public PojoUtils()
    • 方法详细资料

      • generalize

        public static [] generalize​([] objs)
      • realize

        public static [] realize​([] objs,
                                       <?>[] types)
      • realize

        public static [] realize​([] objs,
                                       <?>[] types,
                                       [] gtypes)
      • generalize

        public static  generalize​( pojo)
      • realize

        public static  realize​( pojo,
                                     <?> type)
      • realize

        public static  realize​( pojo,
                                     <?> type,
                                      genericType)
      • isPojo

        public static boolean isPojo​(<?> cls)