mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
No effective change - change newline char
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
package com.avaje.ebeaninternal.server.properties;
|
||||
|
||||
import com.avaje.ebean.bean.EntityBean;
|
||||
|
||||
/**
|
||||
* The getter implementation for a given bean property.
|
||||
*/
|
||||
public interface BeanPropertyGetter {
|
||||
|
||||
/**
|
||||
* Return the value of a given bean property.
|
||||
*/
|
||||
public Object get(EntityBean bean);
|
||||
|
||||
public Object getIntercept(EntityBean bean);
|
||||
|
||||
}
|
||||
package com.avaje.ebeaninternal.server.properties;
|
||||
|
||||
import com.avaje.ebean.bean.EntityBean;
|
||||
|
||||
/**
|
||||
* The getter implementation for a given bean property.
|
||||
*/
|
||||
public interface BeanPropertyGetter {
|
||||
|
||||
/**
|
||||
* Return the value of a given bean property.
|
||||
*/
|
||||
public Object get(EntityBean bean);
|
||||
|
||||
public Object getIntercept(EntityBean bean);
|
||||
|
||||
}
|
||||
|
||||
@@ -1,26 +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);
|
||||
}
|
||||
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);
|
||||
}
|
||||
|
||||
+14
-14
@@ -1,14 +1,14 @@
|
||||
package com.avaje.ebeaninternal.server.properties;
|
||||
|
||||
|
||||
/**
|
||||
* Creates BeanReflect object used to provide getter setter and construction
|
||||
* for the beans.
|
||||
*/
|
||||
public interface BeanPropertyInfoFactory {
|
||||
|
||||
/**
|
||||
* Create the BeanReflect for the given plain bean and its EntityBean equivalent.
|
||||
*/
|
||||
public BeanPropertyInfo create(Class<?> entityBeanType);
|
||||
}
|
||||
package com.avaje.ebeaninternal.server.properties;
|
||||
|
||||
|
||||
/**
|
||||
* Creates BeanReflect object used to provide getter setter and construction
|
||||
* for the beans.
|
||||
*/
|
||||
public interface BeanPropertyInfoFactory {
|
||||
|
||||
/**
|
||||
* Create the BeanReflect for the given plain bean and its EntityBean equivalent.
|
||||
*/
|
||||
public BeanPropertyInfo create(Class<?> entityBeanType);
|
||||
}
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
package com.avaje.ebeaninternal.server.properties;
|
||||
|
||||
import com.avaje.ebean.bean.EntityBean;
|
||||
|
||||
/**
|
||||
* The setter for a given bean property.
|
||||
*/
|
||||
public interface BeanPropertySetter {
|
||||
|
||||
/**
|
||||
* Set the property value of a bean.
|
||||
*/
|
||||
public void set(EntityBean bean, Object value);
|
||||
|
||||
/**
|
||||
* Set the property value of a bean with interception checks.
|
||||
* <p>
|
||||
* This could invoke lazy loading and or oldValues creation.
|
||||
* </p>
|
||||
*/
|
||||
public void setIntercept(EntityBean bean, Object value);
|
||||
|
||||
}
|
||||
package com.avaje.ebeaninternal.server.properties;
|
||||
|
||||
import com.avaje.ebean.bean.EntityBean;
|
||||
|
||||
/**
|
||||
* The setter for a given bean property.
|
||||
*/
|
||||
public interface BeanPropertySetter {
|
||||
|
||||
/**
|
||||
* Set the property value of a bean.
|
||||
*/
|
||||
public void set(EntityBean bean, Object value);
|
||||
|
||||
/**
|
||||
* Set the property value of a bean with interception checks.
|
||||
* <p>
|
||||
* This could invoke lazy loading and or oldValues creation.
|
||||
* </p>
|
||||
*/
|
||||
public void setIntercept(EntityBean bean, Object value);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user