Class GenericField

    • Constructor Summary

      Constructors 
      Constructor Description
      GenericField​(java.lang.String name, ReflectClass clazz, boolean primitive)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object deepClone​(java.lang.Object obj)
      The parameter allows passing one new object so parent references can be corrected on children.
      java.lang.Object get​(java.lang.Object onObject)  
      ReflectClass getFieldType()
      The ReflectClass returned by this method should have been provided by the parent reflector.
      java.lang.String getName()  
      java.lang.Object indexEntry​(java.lang.Object orig)  
      ReflectClass indexType()
      The ReflectClass returned by this method should have been provided by the parent reflector.
      boolean isPrimitive()  
      boolean isPublic()  
      boolean isStatic()  
      boolean isTransient()  
      void set​(java.lang.Object onObject, java.lang.Object value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GenericField

        public GenericField​(java.lang.String name,
                            ReflectClass clazz,
                            boolean primitive)
    • Method Detail

      • deepClone

        public java.lang.Object deepClone​(java.lang.Object obj)
        Description copied from interface: DeepClone
        The parameter allows passing one new object so parent references can be corrected on children.
        Specified by:
        deepClone in interface DeepClone
      • get

        public java.lang.Object get​(java.lang.Object onObject)
        Specified by:
        get in interface ReflectField
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface ReflectField
      • getFieldType

        public ReflectClass getFieldType()
        Description copied from interface: ReflectField
        The ReflectClass returned by this method should have been provided by the parent reflector.
        Specified by:
        getFieldType in interface ReflectField
        Returns:
        the ReflectClass representing the field type as provided by the parent reflector
      • isPrimitive

        public boolean isPrimitive()
      • set

        public void set​(java.lang.Object onObject,
                        java.lang.Object value)
        Specified by:
        set in interface ReflectField
      • indexEntry

        public java.lang.Object indexEntry​(java.lang.Object orig)
        Specified by:
        indexEntry in interface ReflectField
      • indexType

        public ReflectClass indexType()
        Description copied from interface: ReflectField
        The ReflectClass returned by this method should have been provided by the parent reflector.
        Specified by:
        indexType in interface ReflectField
        Returns:
        the ReflectClass representing the index type as provided by the parent reflector