/* * SpatialReferenceSystem.java * * Created on January 23, 2001, 4:15 PM */ package uk.ac.leeds.ccg.sfsql; /** * * @author jamesm * @version */ public class SpatialReferenceSystem extends java.lang.Object { String tableName = "SPATIAL_REFERENCE_SYSTEMS"; int srid; String authName; int auth_srid; String srText; /** Creates new SpatialReferenceSystem */ public SpatialReferenceSystem() { } public SpatialReferenceSystem(int srid,String auth_name,int auth_srid,String srText) { // this.srid = srid; this.authName = auth_name; this.auth_srid = auth_srid; this.srText = srText; } public String toString(){ StringBuffer sb = new StringBuffer(); sb.append("srid "); sb.append(srid); sb.append(" Authority "); sb.append(authName); sb.append(" Authority srid "); sb.append(auth_srid); sb.append(" As Text "); sb.append(srText); return sb.toString(); } }