📄 propertyconfigmodel.java
字号:
/*
*
*
*/
package jp.co.intra_mart.framework.system.property;
import java.util.Map;
/**
* 僨乕僞儌僨儖僋儔僗偱偡丅
*
* @author INTRAMART
* @version 1.0
*/
public class PropertyConfigModel {
/**
* 僷儔儊乕僞傪愝掕偟傑偡丅
* @param map
*/
protected void setProperties(Map map) {
this.map = map;
}
/**
* 巜掕偝傟偨僉乕偺僾儘僷僥傿僴儞僪儔柤傪庢摼偟傑偡丅
* @return String
*/
protected String getPropertyHandlerName(String key) {
if ( key == null ) {
return null;
}
PropertyModel prop = (PropertyModel) map.get(key);
if ( prop == null ) {
return null;
}
String name = prop.getPropertyHandlerName();
return name;
}
/**
* 巜掕偝傟偨僉乕偺僾儘僷僥傿偺僷儔儊乕僞傪庢摼偟傑偡丅
* @return PropertyParam[]
*/
protected PropertyHandlerParam[] getPropertyParams(String key) {
if ( key == null ) {
return null;
}
PropertyModel prop = (PropertyModel) map.get(key);
if ( prop == null ) {
return null;
}
PropertyHandlerParam[] params = prop.getPropertyHandlerParams();
return params;
}
static final String ID = "property-config";
static final String SERVICE_ID = "service";
static final String EVENT_ID = "event";
static final String DATA_ID = "data";
static final String SESSION_ID = "session";
static final String MESSAGE_ID = "message";
static final String I18NMESSAGE_ID = "i18n_message";
static final String LOG_ID = "log";
static final String HANDLER_ID = "handler-class";
private Map map;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -