📄 logform.java
字号:
//---------------------------------------------------------
// Application: Company Applcation
// Author : Cao guangxin
// File : LogForm.java
//
// Copyright 2006 RelationInfo Software
//
// Writed at Wed Apr 12 08:58:55 CST 2006
// writed by Eclipse SDK
// Visit http://www.37signals.cn
//---------------------------------------------------------
package net.cn37signals.company.controller;
import org.apache.struts.action.*;
import org.apache.struts.validator.*;
import net.cn37signals.company.model.*;
public class LogForm extends ValidatorForm {
public static int ADD = 1;
public static int EDIT = 2;
private int strutsAction;
private String strutsButton = "";
private long byteIn = 0;
private long byteOut = 0;
private float capacity = (float) 0.0;
private double charge = 0.0;
private int year = 0;
private String yearDisplay = ""; // Display Helper
private int month = 0;
private String monthDisplay = ""; // Display Helper
public int getStrutsAction() {
return strutsAction;
}
public String getStrutsButton() {
return strutsButton;
}
public long getByteIn() {
return byteIn;
}
public long getByteOut() {
return byteOut;
}
public float getCapacity() {
return capacity;
}
public double getCharge() {
return charge;
}
public int getYear() {
return year;
}
public String getYearDisplay() {
return yearDisplay;
}
public int getMonth() {
return month;
}
public String getMonthDisplay() {
return monthDisplay;
}
public void setStrutsAction(int strutsAction) {
this.strutsAction = strutsAction;
}
public void setStrutsButton(String strutsButton) {
this.strutsButton = strutsButton;
}
public void setByteIn(long byteIn) {
this.byteIn = byteIn;
}
public void setByteOut(long byteOut) {
this.byteOut = byteOut;
}
public void setCapacity(float capacity) {
this.capacity = capacity;
}
public void setCharge(double charge) {
this.charge = charge;
}
public void setYear(int year) {
this.year = year;
}
public void setYearDisplay(String yearDisplay) {
this.yearDisplay = yearDisplay;
}
public void setMonth(int month) {
this.month = month;
}
public void setMonthDisplay(String monthDisplay) {
this.monthDisplay = monthDisplay;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -