queryinforecord.java
来自「esri的ArcGIS Server超级学习模板程序(for java)」· Java 代码 · 共 69 行
JAVA
69 行
package com.esri.solutions.jitk.personalization.dao;
/**
* @author Derek Sedlmyer
* @version 1.0
* @created 05-Nov-2007 10:29:47 AM
*
* This class implements the abstract InfoRecord class for a Query Record.
*/
public class QueryInfoRecord extends InfoRecord{
/**
* The (foreign key) Map Composition Id. The Id would have been generated
* when the Map Composition Record was created and is used to link a Query
* with a Map Composition.
*/
protected String map_composition_id;
private int m_type;
public QueryInfoRecord(){
}
public void finalize() throws Throwable {
}
/**
*
* @return The (foreign key) Map Composition Id - relates the Query to a Map Composition.
*/
public String getMapCompositionId(){
return map_composition_id;
}
/**
* The (foreign key) Map Composition Id. The Id would have been generated when the
* Map Composition record was created.
* @param map_composition_id
*/
public void setMapCompositionId(String map_composition_id){
this.map_composition_id = map_composition_id;
}
public int getQueryType () {
return m_type;
}
public void setQueryType (int type) {
m_type = type;
}
/**
* @return The concatenated string of properties for this record, including:
* Id,
* Name,
* Description,
* Creator,
* Time Modified,
* Map Composition Id
*/
public String toString(){
StringBuffer sb = new StringBuffer();
sb.append(super.toString());
sb.append("\nMap Comp Id: " + this.getMapCompositionId());
return sb.toString();
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?