readparameter.java

来自「pojo的mvc框架」· Java 代码 · 共 48 行

JAVA
48
字号
package xyz.frame.introspector;import xyz.frame.converter.Converter;import xyz.frame.util.SettingException;/** * Parameters to be read *  * @author Guilherme Silveira */public interface ReadParameter {	/**	 * The parameter key	 * 	 * @return key	 */	public String getKey();	/**	 * Should it instantiate required fields on the fly?	 * 	 * @return true if it should instantiate them	 */	public boolean mightCreate();	/**	 * Returns the overriden converter class attached to this read parameter	 * 	 * @return the converter class	 */	public abstract Class<? extends Converter> getOverridenConverter();	/**	 * Guarantees it's existence by instantiating itself if needed (or oblied),	 * connecting to the logic component and returning itself	 * 	 * @param component	 *            the logic component	 * @return the instantiated object itself	 * @throws SettingException	 *             some problem during its creation	 */	public abstract Object guaranteeExistence(Object component)			throws SettingException;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?