Class FieldBasedAccessor<T>

  • All Implemented Interfaces:
    Accessor<T>

    public class FieldBasedAccessor<T>
    extends Object
    implements Accessor<T>
    A simple object that has only fields can be accessed by this Class.
     public class {
            public String id;
                    public BigDecimal price;
                    public String name;
     }
     
    The first n fields can be specified. The first field has to be the primaryKey.

    Currently ThreadId is not supported.

    Version:
    2012-01-29
    Author:
    gsinai