com.esri.aims.mtier.model.map.projection
Class FeatureCoordSys

java.lang.Object
  extended by com.esri.aims.mtier.model.map.projection.FeatureCoordSys
All Implemented Interfaces:
Serializable

public class FeatureCoordSys
extends Object
implements Serializable

Represents the projection coordinate system that layers in a service or a specific service are projected to.

See Also:
Serialized Form

Constructor Summary
FeatureCoordSys()
          Constructs an instance of the FeatureCoordSys object.
 
Method Summary
 long getDatumTransformID()
          Returns the the Datum transformation ID associated with this FeatureCoordSys object.
 String getDatumTransformString()
          Returns the Datum transformation definition string associated with this FeatureCoordSys object.
 long getID()
          Returns the projected or geographic coordinate system ID of this FeatureCoordSys object.
 String getString()
          Returns the projected or geographic coordinate system definition string associated with this FeatureCoordSys object.
 void setDatumTransformID(long value)
          Sets the Datum transformation ID for this FeatureCoordSys object.
 void setDatumTransformString(String value)
          Sets the Datum transformation definition string for this FeatureCoordSys object.
 void setID(long value)
          Sets the projected or geographic coordinate system ID for this FeatureCoordSys object.
 void setString(String value)
          Sets the projected or geographic coordinate system definition string for this FeatureCoordSys object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureCoordSys

public FeatureCoordSys()
Constructs an instance of the FeatureCoordSys object. Example:
FeatureCoordSys featureCoordSys = new FeatureCoordSys();

Method Detail

setID

public void setID(long value)
Sets the projected or geographic coordinate system ID for this FeatureCoordSys object. Example:
 featureCoordSys.setID(4326);
 

Parameters:
value - the projected or geographic coordinate system identifier.
See Also:
getID()

getID

public long getID()
Returns the projected or geographic coordinate system ID of this FeatureCoordSys object. Example:
 long id = featureCoordSys.getID();
 

Returns:
the projected or geographic coordinate system ID.
See Also:
setID(long)

setString

public void setString(String value)
Sets the projected or geographic coordinate system definition string for this FeatureCoordSys object. Usually this method is only used for coordinate systems which do not have an id that is understood by the setID method.
 For Example,
   featureCoordSys.setString("PROJCS[\"World_Mollweide\",GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137,298.257223563]],PRIMEM[\"Greenwich\",0],UNIT[\"Degree\",0.017453292519943295]],PROJECTION[\"Mollweide\"],PARAMETER[\"False_Easting\",0],PARAMETER[\"False_Northing\",0],PARAMETER[\"Central_Meridian\",0],UNIT[\"Meter\",1]]");
 

Parameters:
value - the projected or geographic coordinate system definition string.
See Also:
getString()

getString

public String getString()
Returns the projected or geographic coordinate system definition string associated with this FeatureCoordSys object. Example:
 String fcString = featureCoordSys.getString();
 

Returns:
the projected or geographic coordinate system definition string.
See Also:
setString(java.lang.String)

setDatumTransformID

public void setDatumTransformID(long value)
Sets the Datum transformation ID for this FeatureCoordSys object. Example:
 featureCoordSys.setDatumTransformID(8026);
 

Parameters:
value - the Datum transformation ID.
See Also:
getDatumTransformID()

getDatumTransformID

public long getDatumTransformID()
Returns the the Datum transformation ID associated with this FeatureCoordSys object. Example:
 long id = featureCoordSys.getDatumTransformID();
 

Returns:
the Datum transformation ID.
See Also:
setDatumTransformID(long)

setDatumTransformString

public void setDatumTransformString(String value)
Sets the Datum transformation definition string for this FeatureCoordSys object. Refer to the ArcXML Programmer's Reference Help for details on the datum transform string value to set.

Parameters:
value - the Datum transformation definition string.
See Also:
getDatumTransformString()

getDatumTransformString

public String getDatumTransformString()
Returns the Datum transformation definition string associated with this FeatureCoordSys object. Example:
String datumTransformString = featureCoordSys.getDatumTransformString();

Returns:
the Datum transformation definition string.
See Also:
setDatumTransformString(java.lang.String)