001: /*
002: * GeoTools - OpenSource mapping toolkit
003: * http://geotools.org
004: * (C) 2005-2006, Geotools Project Managment Committee (PMC)
005: * (C) 2003-2004, Julian J. Ray, All Rights Reserved
006: *
007: * This library is free software; you can redistribute it and/or
008: * modify it under the terms of the GNU Lesser General Public
009: * License as published by the Free Software Foundation; either
010: * version 2.1 of the License, or (at your option) any later version.
011: *
012: * This library is distributed in the hope that it will be useful,
013: * but WITHOUT ANY WARRANTY; without even the implied warranty of
014: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
015: * Lesser General Public License for more details.
016: */
017: package org.geotools.data.tiger;
018:
019: /**
020: * <p>
021: * Title: GeoTools2 Development
022: * </p>
023: *
024: * <p>
025: * Description:
026: * </p>
027: *
028: * <p>
029: * Copyright: Copyright (c) 2003
030: * </p>
031: *
032: * <p>
033: * Company:
034: * </p>
035: *
036: * @author Julian J. Ray
037: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/unsupported/tiger/src/main/java/org/geotools/data/tiger/TigerSchemaElement.java $
038: * @version 1.0
039: */
040: public class TigerSchemaElement {
041: /** DOCUMENT ME! */
042: protected String attributeName;
043:
044: /** DOCUMENT ME! */
045: protected String classType;
046:
047: /** DOCUMENT ME! */
048: protected int startPos;
049:
050: /** DOCUMENT ME! */
051: protected int endPos;
052:
053: /**
054: * TigerSchemaElement
055: */
056: TigerSchemaElement() {
057: }
058:
059: /**
060: * TigerSchemaElement
061: *
062: * @param name String
063: * @param classType String
064: * @param startPos int
065: * @param endPos int
066: */
067: TigerSchemaElement(String name, String classType, int startPos,
068: int endPos) {
069: this .attributeName = name;
070: this .classType = classType;
071: this .startPos = startPos;
072: this .endPos = endPos;
073: }
074:
075: /**
076: * getAttributeName
077: *
078: * @return String
079: */
080: public String getAttributeName() {
081: return attributeName;
082: }
083:
084: /**
085: * getClassType
086: *
087: * @return String
088: */
089: public String getClassType() {
090: return classType;
091: }
092:
093: /**
094: * getStartPos
095: *
096: * @return int
097: */
098: public int getStartPos() {
099: return startPos;
100: }
101:
102: /**
103: * getEndPos
104: *
105: * @return int
106: */
107: public int getEndPos() {
108: return endPos;
109: }
110: }
|