Add Period support via CompoundTypePeriod, rename server/reflect to server/properties

This commit is contained in:
rbygrave
2014-11-18 23:09:26 +13:00
parent 98f6e1e6af
commit 07cdb69a5b
27 changed files with 501 additions and 333 deletions
@@ -0,0 +1,26 @@
package com.avaje.ebeaninternal.server.properties;
/**
* Provides getter setter and construction methods for beans.
* <p>
* This enables the implementation to use standard reflection or
* code generation.
* </p>
*/
public interface BeanPropertyInfo {
/**
* Create an EntityBean for this type.
*/
public Object createEntityBean();
/**
* Return the getter for a given bean property.
*/
public BeanPropertyGetter getGetter(String name, int position);
/**
* Return the setter for a given bean property.
*/
public BeanPropertySetter getSetter(String name, int position);
}