⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bookmarkrecord.java

📁 esri的ArcGIS Server超级学习模板程序(for java)
💻 JAVA
字号:
package com.esri.solutions.jitk.personalization.dao;

/**
 * @author Derek Sedlmyer
 * @version 1.0
 * @created 05-Nov-2007 10:29:29 AM
 * 
 * This class extends the BookmarkInfoRecord class. It adds the data property, which
 * holds the xml data for a Bookmark database record. 
 */
public class BookmarkRecord extends BookmarkInfoRecord{

	/**
	 * The xml data containing information about a Bookmark record 
	 */
	private byte[] data;
	
	public BookmarkRecord(){

	}

	public void finalize() throws Throwable {

	}
	
	/**
	 * @return The xml data for a Bookmark Record as a byte array.
	 */
	public byte[] getData(){
		return data;
	}

	/**
	 * The Bookmark Record information contained in an XML string, converted to a byte array
	 * for database persistence.
	 * @param xml
	 */
	public void setData(byte[] xml){
		this.data = xml;
	}
	
	/**
	 * @return The concatenated string of properties for this record, including:
	 * Id, 
	 * Name,
	 * Description,
	 * Creator,
	 * Time Modified,
	 * Map Composition Id,
	 * Data
	 */
	public String toString(){
		StringBuffer sb = new StringBuffer();
		sb.append(super.toString());
		sb.append("\nData:          " + this.data);
		return sb.toString();
	}
	
}

⌨️ 快捷键说明

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