From: <be...@us...> - 2006-10-17 16:53:59
|
Revision: 73 http://svn.sourceforge.net/pzfilereader/?rev=73&view=rev Author: benoitx Date: 2006-10-17 09:53:24 -0700 (Tue, 17 Oct 2006) Log Message: ----------- Moved remotely Added Paths: ----------- trunk/PZFileReader/src/main/java/net/sf/pzfilereader/DataError.java Removed Paths: ------------- trunk/PZFileReader/src/main/java/com/pz/reader/DataError.java Deleted: trunk/PZFileReader/src/main/java/com/pz/reader/DataError.java =================================================================== --- trunk/PZFileReader/src/main/java/com/pz/reader/DataError.java 2006-10-17 16:52:35 UTC (rev 72) +++ trunk/PZFileReader/src/main/java/com/pz/reader/DataError.java 2006-10-17 16:53:24 UTC (rev 73) @@ -1,96 +0,0 @@ -/* - Copyright 2006 Paul Zepernick - - 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.pz.reader; - -/** - * This class holds errors that occured while parsing or processing a data file. - * - * @author Paul Zepernick - * @version 2.0 - */ -public class DataError { - - /** Description of error. */ - private String errorDesc = null; - - /** line number in file error occured on. */ - private int lineNo = 0; - - /** - * Severity of the error 1 = Warning 2 = Moderate 3 = Severe. - */ - private int errorLevel = 0; - - /** default constructor */ - public DataError() { - } - - /** - * Returns the errorDesc. - * - * @return String - */ - public String getErrorDesc() { - return errorDesc; - } - - /** - * Returns the errorLevel. - * - * @return int - */ - public int getErrorLevel() { - return errorLevel; - } - - /** - * Returns the lineNo. - * - * @return int - */ - public int getLineNo() { - return lineNo; - } - - /** - * Sets the errorDesc. - * - * @param errorDesc - * The errorDesc to set - */ - public void setErrorDesc(final String errorDesc) { - this.errorDesc = errorDesc; - } - - /** - * Sets the errorLevel. - * - * @param errorLevel - * The errorLevel to set - */ - public void setErrorLevel(final int errorLevel) { - this.errorLevel = errorLevel; - } - - /** - * Sets the lineNo. - * - * @param lineNo - * The lineNo to set - */ - public void setLineNo(final int lineNo) { - this.lineNo = lineNo; - } -} Copied: trunk/PZFileReader/src/main/java/net/sf/pzfilereader/DataError.java (from rev 72, trunk/PZFileReader/src/main/java/com/pz/reader/DataError.java) =================================================================== --- trunk/PZFileReader/src/main/java/net/sf/pzfilereader/DataError.java (rev 0) +++ trunk/PZFileReader/src/main/java/net/sf/pzfilereader/DataError.java 2006-10-17 16:53:24 UTC (rev 73) @@ -0,0 +1,96 @@ +/* + Copyright 2006 Paul Zepernick + + 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.pz.reader; + +/** + * This class holds errors that occured while parsing or processing a data file. + * + * @author Paul Zepernick + * @version 2.0 + */ +public class DataError { + + /** Description of error. */ + private String errorDesc = null; + + /** line number in file error occured on. */ + private int lineNo = 0; + + /** + * Severity of the error 1 = Warning 2 = Moderate 3 = Severe. + */ + private int errorLevel = 0; + + /** default constructor */ + public DataError() { + } + + /** + * Returns the errorDesc. + * + * @return String + */ + public String getErrorDesc() { + return errorDesc; + } + + /** + * Returns the errorLevel. + * + * @return int + */ + public int getErrorLevel() { + return errorLevel; + } + + /** + * Returns the lineNo. + * + * @return int + */ + public int getLineNo() { + return lineNo; + } + + /** + * Sets the errorDesc. + * + * @param errorDesc + * The errorDesc to set + */ + public void setErrorDesc(final String errorDesc) { + this.errorDesc = errorDesc; + } + + /** + * Sets the errorLevel. + * + * @param errorLevel + * The errorLevel to set + */ + public void setErrorLevel(final int errorLevel) { + this.errorLevel = errorLevel; + } + + /** + * Sets the lineNo. + * + * @param lineNo + * The lineNo to set + */ + public void setLineNo(final int lineNo) { + this.lineNo = lineNo; + } +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |