📄 userinforecord.java
字号:
package com.esri.solutions.jitk.personalization.dao;
/**
* @author Derek Sedlmyer
* @version 1.0
* @created 05-Nov-2007 10:29:47 AM
*
* This class contains information about a User record in the database. The properties in this class
* map to fields in record that are independent of the data blob (i.e. Id, Time Modified, and isLocked).
*/
public class UserInfoRecord {
/**
* The Id of the record - auto generated.
*/
protected String id;
/**
* The date/time when the record was last modified. Retrieved from the system when
* the record is inserted or updated.
*/
protected java.sql.Timestamp timeModified;
/**
* The property depicting whether the user record is locked for processing.
*/
protected String isLocked;
public UserInfoRecord(){
}
public void finalize() throws Throwable {
}
/**
*
* @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 last date and time when the record was last modified.
*/
public java.sql.Timestamp getTimeModified() {
return timeModified;
}
/**
* The auto-generated date and time when the record is inserted or updated.
* @param timeModified
*/
public void setTimeModified(java.sql.Timestamp timeModified) {
this.timeModified = timeModified;
}
/**
* @return Whether the record is locked for processing
*/
public String getIsLocked() {
return isLocked;
}
/**
* The setting that determines whether the record is locked for processing.
* @param isLocked
*/
public void setIsLocked(String isLocked) {
this.isLocked = isLocked;
}
/**
* @return The concatenated string of properties for this record, including:
* Id,
* Time Modified,
* Is Locked
*/
public String toString(){
StringBuffer sb = new StringBuffer();
sb.append("Id: " + this.getId() + "\n");
sb.append("Time Modified: " + this.getTimeModified() + "\n");
sb.append("Is Locked: " + this.getIsLocked());
return sb.toString();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -