ientry.java

来自「mywork是rcp开发的很好的例子」· Java 代码 · 共 46 行

JAVA
46
字号
package net.sf.util.persistence;

import java.util.Map;

public interface IEntry {

	/**
	 * 用于按XML格式输出对象
	 */
	public abstract String toXML();

	/**
	 * 输出属性为一数组
	 */
	public abstract String[] getContent();

	/**
	 * 用数组来设置属性
	 */
	public abstract void setContent(String[] ss);

	/**
	 * get self  property/value map
	 */
	public abstract Map getProperties();

	/**
	 * get property
	 */
	public abstract String getProperty(String propertyName);
	
	/**
	 * set self property
	 */
	public abstract void setProperty(String prop, String value);

	/**
	 * 取字段的名称列表
	 */
	public abstract String[] getFieldNames();
	
	/**
	 * 取字段的描述列表
	 */
	public abstract String[] getFieldDescs();
}

⌨️ 快捷键说明

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