删除冗余代码

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@977 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-10-15 09:00:06 +00:00
parent a8bc16e300
commit a31391e574
@@ -1,81 +0,0 @@
/*
* Copyright 1999-2011 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.alibaba.druid.sql.dialect.oracle.ast.expr;
import com.alibaba.druid.sql.ast.expr.SQLLiteralExpr;
public abstract class OracleDatetimeLiteralExpr extends SQLLiteralExpr implements OracleExpr {
private static final long serialVersionUID = 1L;
protected int year;
protected int month;
protected int dayOfMonth;
protected int hour;
protected int minute;
protected int second;
public OracleDatetimeLiteralExpr(){
}
public int getHour() {
return this.hour;
}
public void setHour(int hour) {
this.hour = hour;
}
public int getMinute() {
return this.minute;
}
public void setMinute(int minute) {
this.minute = minute;
}
public int getYear() {
return this.year;
}
public void setYear(int year) {
this.year = year;
}
public int getMonth() {
return this.month;
}
public void setMonth(int month) {
this.month = month;
}
public int getSecond() {
return this.second;
}
public void setSecond(int second) {
this.second = second;
}
public int getDayOfMonth() {
return this.dayOfMonth;
}
public void setDayOfMonth(int dayOfMonth) {
this.dayOfMonth = dayOfMonth;
}
}