# Serialized Form

- ## Package org.apache.commons.beanutils

  - ### Class org.apache.commons.beanutils.BasicDynaBean extends Object implements Serializable

    - ### Serialized Fields

      - #### dynaClass

            DynaClass dynaClass

        The `DynaClass` "base class" that this DynaBean is associated with.

      - #### values

            HashMap<K,V> values

        The set of property values for this DynaBean, keyed by property name.

  - ### Class org.apache.commons.beanutils.BasicDynaClass extends Object implements Serializable

    - ### Serialized Fields

      - #### constructorValues

            Object[] constructorValues

        The argument values to be passed to the constructore we will use to create new DynaBean instances.

      - #### dynaBeanClass

            Class<T> dynaBeanClass

        The `DynaBean` implementation class we will use for creating new instances.

      - #### name

            String name

        The "name" of this DynaBean class.

      - #### properties

            DynaProperty[] properties

        The set of dynamic properties that are part of this DynaClass.

      - #### propertiesMap

            HashMap<K,V> propertiesMap

        The set of dynamic properties that are part of this DynaClass, keyed by the property name. Individual descriptor instances will be the same instances as those in the `properties` list.

  - ### Class org.apache.commons.beanutils.BeanAccessLanguageException extends IllegalArgumentException implements Serializable

  - ### Class org.apache.commons.beanutils.BeanComparator extends Object implements Serializable

    - ### Serialized Fields

      - #### property

            String property

      - #### comparator

            Comparator<T> comparator

  - ### Class org.apache.commons.beanutils.ConversionException extends RuntimeException implements Serializable

    - ### Serialized Fields

      - #### cause

            Throwable cause

        The root cause of this `ConversionException`, compatible with JDK 1.4's extensions to `java.lang.Throwable`.

  - ### Class org.apache.commons.beanutils.ConvertingWrapDynaBean extends WrapDynaBean implements Serializable

  - ### Class org.apache.commons.beanutils.DynaProperty extends Object implements Serializable

    - ### Serialization Methods

      - #### readObject

            private void readObject(ObjectInputStream in)
                             throws IOException,
                                    ClassNotFoundException

        Reads field values for this object safely. There are issues with serializing primitive class types on certain JVM versions (including java 1.3). This method provides a workaround.
        Throws:
          `StreamCorruptedException` - when the stream data values are outside expected range
          `IOException`
          `ClassNotFoundException`

      - #### writeObject

            private void writeObject(ObjectOutputStream out)
                              throws IOException

        Writes this object safely. There are issues with serializing primitive class types on certain JVM versions (including java 1.3). This method provides a workaround.
        Throws:
          `IOException`

    - ### Serialized Fields

      - #### name

            String name

        Property name

  - ### Class org.apache.commons.beanutils.LazyDynaBean extends Object implements Serializable

    - ### Serialized Fields

      - #### values

            Map<K,V> values

        The `MutableDynaClass` "base class" that this DynaBean is associated with.

      - #### dynaClass

            MutableDynaClass dynaClass

        The `MutableDynaClass` "base class" that this DynaBean is associated with.

  - ### Class org.apache.commons.beanutils.LazyDynaClass extends BasicDynaClass implements Serializable

    - ### Serialized Fields

      - #### restricted

            boolean restricted

        Controls whether changes to this DynaClass's properties are allowed.

      - #### returnNull

            boolean returnNull

        Controls whether the `getDynaProperty()` method returns null if a property doesn't exist - or creates a new one.

        Default is `false`.

  - ### Class org.apache.commons.beanutils.LazyDynaList extends ArrayList<Object> implements Serializable

    - ### Serialized Fields

      - #### elementDynaClass

            DynaClass elementDynaClass

        The DynaClass of the List's elements.

      - #### elementType

            Class<T> elementType

        The type of the List's elements.

      - #### elementDynaBeanType

            Class<T> elementDynaBeanType

        The DynaBean type of the List's elements.

  - ### Class org.apache.commons.beanutils.LazyDynaMap extends LazyDynaBean implements Serializable

    - ### Serialized Fields

      - #### name

            String name

        The name of this DynaClass (analogous to the `getName()` method of `java.lang.Class`).

      - #### restricted

            boolean restricted

        Controls whether changes to this DynaClass's properties are allowed.

      - #### returnNull

            boolean returnNull

        Controls whether the `getDynaProperty()` method returns null if a property doesn't exist - or creates a new one.

        Default is `false`.

  - ### Class org.apache.commons.beanutils.NestedNullException extends BeanAccessLanguageException implements Serializable

  - ### Class org.apache.commons.beanutils.ResultSetDynaClass extends org.apache.commons.beanutils.JDBCDynaClass implements Serializable

    - ### Serialized Fields

      - #### resultSet

            ResultSet resultSet

        The `ResultSet` we are wrapping.

  - ### Class org.apache.commons.beanutils.RowSetDynaClass extends org.apache.commons.beanutils.JDBCDynaClass implements Serializable

    - ### Serialized Fields

      - #### limit

            int limit

        Limits the size of the returned list. The call to `getRows()` will return at most limit number of rows. If less than or equal to 0, does not limit the size of the result.

      - #### rows

            List<E> rows

        The list of `DynaBean`s representing the contents of the original `ResultSet` on which this `RowSetDynaClass` was based.

  - ### Class org.apache.commons.beanutils.WrapDynaBean extends Object implements Serializable

    - ### Serialized Fields

      - #### instance

            Object instance

        The JavaBean instance wrapped by this WrapDynaBean.

Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.