Interface FieldUtil


public interface FieldUtil
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static List<Field>
    getAllField(Class<?> _class)
    Get all public fields current class
    static List<Field>
    getAllField(Class<?> _class, org.brijframework.util.support.ReflectionAccess _accessLevel)
    get all fields current class with following condition :
    PRIVATE can access all protected , public , private , default field
    PROTECTED can access only protected , public
    PUBLIC can access only public
    DEFAULT can access only protected , public ,default
    static Map<String,Field>
    getAllFieldMap(Class<?> _class, org.brijframework.util.support.ReflectionAccess _accessLevel)
     
    static List<Field>
     
    static List<Field>
    getAllManyRelField(Class<?> _class, org.brijframework.util.support.ReflectionAccess accessLevel)
     
    static List<Field>
    getAllOneRelField(Class<?> _class, org.brijframework.util.support.ReflectionAccess accessLevel)
     
    static List<Field>
     
    static List<Field>
    getAllPrimativeField(Class<?> _class, org.brijframework.util.support.ReflectionAccess accessLevel)
     
    static List<Field>
    getAllRelField(Class<?> _class)
     
    static List<Field>
    getAllRelField(Class<?> _class, org.brijframework.util.support.ReflectionAccess accessLevel)
     
    static Field
    getField(Class<?> _class, String _field)
    get public field current class
    static Field
    getField(Class<?> _class, String _field, org.brijframework.util.support.ReflectionAccess _accessLevel)
    Get field current class with following condition :
    PRIVATE can access protected , public , private , default field
    PROTECTED can access only protected , public
    PUBLIC can access only public
    DEFAULT can access only protected , public ,default
    static List<String>
    getFieldList(Class<?> _class)
    get all names of fields current class
    static List<String>
    getFieldList(Class<?> _class, org.brijframework.util.support.ReflectionAccess _accessLevel)
    Get all names field current class with following condition :
    PRIVATE can access all protected , public , private , default field
    PROTECTED can access only protected , public
    PUBLIC can access only public
    DEFAULT can access only protected , public ,default
    static boolean
    isRelField(Field _field)
     
  • Field Details

  • Method Details

    • getAllField

      static List<Field> getAllField(Class<?> _class)
      Get all public fields current class
      Parameters:
      _class -
      Returns:
      list of field
    • getField

      static Field getField(Class<?> _class, String _field)
      get public field current class
      Parameters:
      _class -
      _field -
      Returns:
      Field
    • getFieldList

      static List<String> getFieldList(Class<?> _class)
      get all names of fields current class
      Parameters:
      _class -
      Returns:
      List of String
    • getFieldList

      static List<String> getFieldList(Class<?> _class, org.brijframework.util.support.ReflectionAccess _accessLevel)
      Get all names field current class with following condition :
      PRIVATE can access all protected , public , private , default field
      PROTECTED can access only protected , public
      PUBLIC can access only public
      DEFAULT can access only protected , public ,default
      Parameters:
      _class -
      _accessLevel -
      Returns:
      List of String
    • getField

      static Field getField(Class<?> _class, String _field, org.brijframework.util.support.ReflectionAccess _accessLevel)
      Get field current class with following condition :
      PRIVATE can access protected , public , private , default field
      PROTECTED can access only protected , public
      PUBLIC can access only public
      DEFAULT can access only protected , public ,default
      Parameters:
      _class -
      _field -
      _accessLevel -
      Returns:
      Field
    • getAllFieldMap

      static Map<String,Field> getAllFieldMap(Class<?> _class, org.brijframework.util.support.ReflectionAccess _accessLevel)
    • getAllField

      static List<Field> getAllField(Class<?> _class, org.brijframework.util.support.ReflectionAccess _accessLevel)
      get all fields current class with following condition :
      PRIVATE can access all protected , public , private , default field
      PROTECTED can access only protected , public
      PUBLIC can access only public
      DEFAULT can access only protected , public ,default
      Parameters:
      _class -
      _accessLevel -
      Returns:
      List of Field
    • getAllManyRelField

      static List<Field> getAllManyRelField(Class<?> _class)
    • getAllManyRelField

      static List<Field> getAllManyRelField(Class<?> _class, org.brijframework.util.support.ReflectionAccess accessLevel)
    • getAllOneRelField

      static List<Field> getAllOneRelField(Class<?> _class, org.brijframework.util.support.ReflectionAccess accessLevel)
    • getAllPrimativeField

      static List<Field> getAllPrimativeField(Class<?> _class)
    • getAllPrimativeField

      static List<Field> getAllPrimativeField(Class<?> _class, org.brijframework.util.support.ReflectionAccess accessLevel)
    • getAllRelField

      static List<Field> getAllRelField(Class<?> _class)
    • getAllRelField

      static List<Field> getAllRelField(Class<?> _class, org.brijframework.util.support.ReflectionAccess accessLevel)
    • isRelField

      static boolean isRelField(Field _field)