001: /*
002: * Hammurapi
003: * Automated Java code review system.
004: * Copyright (C) 2004 Hammurapi Group
005: *
006: * This program is free software; you can redistribute it and/or modify
007: * it under the terms of the GNU General Public License as published by
008: * the Free Software Foundation; either version 2 of the License, or
009: * (at your option) any later version.
010: *
011: * This program is distributed in the hope that it will be useful,
012: * but WITHOUT ANY WARRANTY; without even the implied warranty of
013: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
014: * GNU General Public License for more details.
015: *
016: * You should have received a copy of the GNU General Public License
017: * along with this program; if not, write to the Free Software
018: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
019: *
020: * URL: http://www.hammurapi.org
021: * e-Mail: support@hammurapi.biz
022: */
023: package org.hammurapi.inspectors.testcases.fixes;
024:
025: /**
026: * TooManyParametersRule
027: * @author Pavel Vlasov
028: * @version $Revision: 1.1 $
029: */
030: public class TooManyParametersRuleParamClass {
031:
032: private static org.apache.log4j.Logger logger = org.apache.log4j.Logger
033: .getRootLogger();
034:
035: private String name;
036: private int amount;
037: private int price;
038: private boolean available;
039: private java.util.Date dateOfOrder;
040: private java.util.Date dateOfDelivery;
041:
042: /** Java doc automaticaly generated by Hammurapi */
043: public boolean isAvailable() {
044: return available;
045: }
046:
047: /** Java doc automaticaly generated by Hammurapi */
048: public java.util.Date getDateOfDelivery() {
049: return dateOfDelivery;
050: }
051:
052: /** Java doc automaticaly generated by Hammurapi */
053: public java.util.Date getDateOfOrder() {
054: return dateOfOrder;
055: }
056:
057: /** Java doc automaticaly generated by Hammurapi */
058: public String getName() {
059: return name;
060: }
061:
062: /** Java doc automaticaly generated by Hammurapi */
063: public int getPrice() {
064: return price;
065: }
066:
067: /** Java doc automaticaly generated by Hammurapi */
068: public void setAvailable(final boolean newVal) {
069: available = newVal;
070: }
071:
072: /** Java doc automaticaly generated by Hammurapi */
073: public void setDateOfDelivery(final java.util.Date newVal) {
074: dateOfDelivery = newVal;
075: }
076:
077: /** Java doc automaticaly generated by Hammurapi */
078: public void setDateOfOrder(final java.util.Date newVal) {
079: dateOfOrder = newVal;
080: }
081:
082: /** Java doc automaticaly generated by Hammurapi */
083: public void setName(final String newVal) {
084: name = newVal;
085: }
086:
087: /** Java doc automaticaly generated by Hammurapi */
088: public void setPrice(final int newVal) {
089: price = newVal;
090: }
091:
092: /** Java doc automaticaly generated by Hammurapi */
093: public int getAmount() {
094: return amount;
095: }
096:
097: /** Java doc automaticaly generated by Hammurapi */
098: public void setAmount(final int newVal) {
099: amount = newVal;
100: }
101:
102: }
|