oracle.sdoapi.sref
Class srsHolder

java.lang.Object
  |
  +--oracle.sdoapi.sref.srsHolder
All Implemented Interfaces:
java.io.Serializable, SpatialReference

public class srsHolder
extends java.lang.Object
implements SpatialReference

Class srsHolder: Dummy placeholder for server-side SRID and WKT information for later use (if necessary) by the client-side coordinate system package that implements ProjectedCS, GeographicCS, and Transform.

See Also:
Serialized Form

Constructor Summary
srsHolder()
           
srsHolder(int srid)
           
srsHolder(int srid, java.lang.String wkText)
           
 
Method Summary
 int getDimension()
          Gets the dimension of this spatial reference system.
 int getID()
          Gets the ID for this spatial reference system.
 java.lang.String getName()
          Gets the name for this spatial reference system.
 java.lang.String getWellKnownText()
           
 java.lang.String getWellKnowText()
          Gets the well-known text string for this spatial reference system.
 boolean isGeographicCS()
          Returns true if this spatial reference system is a geographic coordinate system.
 boolean isNonEarthCS()
          Returns true if this spatial reference system is a non-Earth coordinate system.
 boolean isProjectedCS()
          Returns true if this spatial reference system is a projected coordinate system.
 boolean sameAs(SpatialReference srs)
          Checks whether this spatial reference system is effectively the same as ref2.
 void setDimension(int dim)
           
 void setID(int id)
           
 void setName(java.lang.String name)
           
 void setWellKnownText(java.lang.String wkText)
           
 void setWellKnowText(java.lang.String wkText)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

srsHolder

public srsHolder()

srsHolder

public srsHolder(int srid)

srsHolder

public srsHolder(int srid,
                 java.lang.String wkText)
Method Detail

getID

public int getID()
Description copied from interface: SpatialReference
Gets the ID for this spatial reference system.
Specified by:
getID in interface SpatialReference

setID

public void setID(int id)

getDimension

public int getDimension()
Description copied from interface: SpatialReference
Gets the dimension of this spatial reference system.
Specified by:
getDimension in interface SpatialReference

setDimension

public void setDimension(int dim)

isGeographicCS

public boolean isGeographicCS()
Description copied from interface: SpatialReference
Returns true if this spatial reference system is a geographic coordinate system. Otherwise returns false.
Specified by:
isGeographicCS in interface SpatialReference

isProjectedCS

public boolean isProjectedCS()
Description copied from interface: SpatialReference
Returns true if this spatial reference system is a projected coordinate system. Otherwise returns false.
Specified by:
isProjectedCS in interface SpatialReference

isNonEarthCS

public boolean isNonEarthCS()
Description copied from interface: SpatialReference
Returns true if this spatial reference system is a non-Earth coordinate system. Otherwise returns false.
Specified by:
isNonEarthCS in interface SpatialReference

sameAs

public boolean sameAs(SpatialReference srs)
Description copied from interface: SpatialReference
Checks whether this spatial reference system is effectively the same as ref2. The equality test ignores the differences in IDs and Names. Rather, it compares the datum, spheroid, projection type, and parameters and units used.
Specified by:
sameAs in interface SpatialReference

getName

public java.lang.String getName()
Description copied from interface: SpatialReference
Gets the name for this spatial reference system.
Specified by:
getName in interface SpatialReference

setName

public void setName(java.lang.String name)

getWellKnowText

public java.lang.String getWellKnowText()
Description copied from interface: SpatialReference
Gets the well-known text string for this spatial reference system.
Specified by:
getWellKnowText in interface SpatialReference

setWellKnowText

public void setWellKnowText(java.lang.String wkText)

getWellKnownText

public java.lang.String getWellKnownText()

setWellKnownText

public void setWellKnownText(java.lang.String wkText)