mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
27 lines
624 B
Java
27 lines
624 B
Java
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);
|
|
}
|