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

📄 personalizationdata.java

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

public abstract class PersonalizationData {

	protected static final String JAXB_BEAN_PACKAGE_NAME = "com.esri.solutions.jitk.personalization.data.beans.v1";
	/**
	 * The Creator (user) that created the record in the database. Retrieved from the user login.
	 */
	protected String _creator;
	
	/**
	 * The Description of the record. The user inputs the description via the UI.
	 */
	protected String _description;
	
	/**
	 * The Id of the record - auto generated.
	 */
	protected String _id;
	
	/**
	 * The Name of the record. The user inputs the Name via the UI.
	 */
	protected String _name;
	
	/**
	 * 
	 * @return The username of the user that created the record.
	 */
	public String getCreator(){
		return _creator;
	}
	
	/**
	 * The username of the user that created the record.
	 * @param creator
	 */
	public void setCreator(String creator){
		this._creator = creator;		
	}

	/**
	 * 
	 * @return The description of the record.
	 */
	public String getDescription(){
		return _description;
	}
	
	/**
	 * The user-defined Description of the record.
	 * @param description
	 */
	public void setDescription(String description){
		this._description = description;
	}

	/**
	 * 
	 * @return The ID of the record.
	 */
	public String getId(){
		return _id;
	}
	
	/**
	 * The auto-generated ID of the record. 
	 * @param id
	 */
	public void setId(String id){
		this._id = id;
	}

	/**
	 * 
	 * @return The Name of the record.
	 */
	public String getName(){
		return _name;
	}
	
	/**
	 * The user-defined Name of the record.
	 * @param name
	 */
	public void setName(String name){
		this._name = name;
	}

	/**
	 * @return The concatenated string of properties for this record, including:
	 * Id
	 * Name
	 * Description
	 * Creator
	 * Time Modified
	 */
	public String toString(){
		StringBuffer sb = new StringBuffer();
		sb.append("Id:            " + this.getId() + "\n");
		sb.append("Name:          " + this.getName() + "\n");
		sb.append("Description:   " + this.getDescription() + "\n");
		sb.append("Creator:       " + this.getCreator() );
		return sb.toString();
	}
}

⌨️ 快捷键说明

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