Files
ebean/src/main/java/com/avaje/ebeaninternal/server/properties/BeanPropertyInfo.java
T

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);
}