com.esri.arcgis.geometry
Interface ISpatialReferenceAuthority

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbridgedMolodenskyTransformation, AngularUnit, CoordinateFrameTransformation, Datum, GeocentricTranslation, Geographic2DOffsetTransformation, GeographicCoordinateSystem, GeoTransformation, HARNTransformation, LinearUnit, LongitudeRotationTransformation, MolodenskyBadekasTransformation, MolodenskyTransformation, NADCONTransformation, NTv2Transformation, NullTransformation, Parameter, PositionVectorTransformation, PrimeMeridian, ProjectedCoordinateSystem, Projection, Spheroid, UnitChangeTransformation, VerticalCoordinateSystem, VerticalDatum

public interface ISpatialReferenceAuthority
extends Serializable

Provides access to the authority-related metadata for a spatial reference object.

Description

This interface is new at ArcGIS 9.3.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void define(String authorityName, int authorityCode, String authorityVersion)
          Defines the authority-related metadata properties for this spatial reference object.
 String getAuthorityName()
          The name of the defining authority for this object.
 int getCode()
          The code identifying this object relative to its authority.
 String getVersion()
          The version of this spatial reference object.
 

Method Detail

getAuthorityName

String getAuthorityName()
                        throws IOException,
                               AutomationException
The name of the defining authority for this object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pAuthName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVersion

String getVersion()
                  throws IOException,
                         AutomationException
The version of this spatial reference object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pVersion
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCode

int getCode()
            throws IOException,
                   AutomationException
The code identifying this object relative to its authority. For the EPSG authority, this will initially be the WKID (factory code).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pAuthCode
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

define

void define(String authorityName,
            int authorityCode,
            String authorityVersion)
            throws IOException,
                   AutomationException
Defines the authority-related metadata properties for this spatial reference object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
authorityName - The authorityName (in)
authorityCode - The authorityCode (in)
authorityVersion - The authorityVersion (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.