
sf.core.IAssignValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sorm Show documentation
Show all versions of sorm Show documentation
java jpa tool for spring
The newest version!
package sf.core;
/**
* 快速赋值
*/
public interface IAssignValue {
/**
* @param fieldName
* @return
*/
int fieldIndex(String fieldName);
/**
* 推
* 将一个值保存到类的属性中
* @param fieldIndex 属性名称
* @param value 属性值
* @return
*/
boolean push(int fieldIndex, Object value);
/**
* @param fieldName
* @param value
* @return
*/
boolean push(String fieldName, Object value);
/**
* 拉取
* 获取类的属性的值
* @param fieldIndex
* @return
*/
Object pull(int fieldIndex);
/**
* @param fieldName
* @return
*/
Object pull(String fieldName);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy