com.github.datalking.web.mvc.Model Maven / Gradle / Ivy
package com.github.datalking.web.mvc;
import java.util.Collection;
import java.util.Map;
/**
* 存放属性kv 接口
*
* @author yaoo on 4/24/18
*/
public interface Model {
Model addAttribute(String attributeName, Object attributeValue);
Model addAttribute(Object attributeValue);
Model addAllAttributes(Collection> attributeValues);
Model addAllAttributes(Map attributes);
Model mergeAttributes(Map attributes);
boolean containsAttribute(String attributeName);
Map asMap();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy