com.github.datalking.common.BindingResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of play-mvc Show documentation
Show all versions of play-mvc Show documentation
simple mvc framework based on java servlet.
The newest version!
package com.github.datalking.common;
import com.github.datalking.beans.PropertyEditorRegistry;
import java.beans.PropertyEditor;
import java.util.Map;
/**
* 数据绑定的结果 接口
*
* @author yaoo on 4/29/18
*/
public interface BindingResult extends Errors {
String MODEL_KEY_PREFIX = BindingResult.class.getName() + ".";
Object getTarget();
Map getModel();
Object getRawFieldValue(String field);
PropertyEditor findEditor(String field, Class> valueType);
PropertyEditorRegistry getPropertyEditorRegistry();
// void addError(ObjectError error);
String[] resolveMessageCodes(String errorCode);
String[] resolveMessageCodes(String errorCode, String field);
void recordSuppressedField(String field);
String[] getSuppressedFields();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy