com.esri.arcgis.geodatabase
Interface IXYEventSourceName

All Superinterfaces:
Serializable
All Known Implementing Classes:
XYEventSourceName

public interface IXYEventSourceName
extends Serializable

Provides access to the XY event source name properties.

Remarks

The IXYEventSourceName interface contains the information that is needed to create an XYEventSource from an XYEventSourceName.

The interface has properties for the XY event table name, the field names and the spatial reference of the input coordinates. The field names are specified using an XYEvent2FieldsProperties object.

If the spatial reference is not set and the coordinates are in range, the coordinate system will be assumed geographic, otherwise it will be unknown.

Product Availability

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


Method Summary
 IXYEventProperties getEventProperties()
          The XY event properties.
 IName getEventTableName()
          The name object for the XY event table.
 ISpatialReference getSpatialReference()
          The spatial reference of the XYEventSource.
 void setEventPropertiesByRef(IXYEventProperties xyProperties)
          The XY event properties.
 void setEventTableNameByRef(IName aName)
          The name object for the XY event table.
 void setSpatialReferenceByRef(ISpatialReference spatialReference)
          The spatial reference of the XYEventSource.
 

Method Detail

setEventTableNameByRef

void setEventTableNameByRef(IName aName)
                            throws IOException,
                                   AutomationException
The name object for the XY event table.

Product Availability

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

Parameters:
aName - A reference to a com.esri.arcgis.system.IName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEventTableName

IName getEventTableName()
                        throws IOException,
                               AutomationException
The name object for the XY event table.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.system.IName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEventPropertiesByRef

void setEventPropertiesByRef(IXYEventProperties xyProperties)
                             throws IOException,
                                    AutomationException
The XY event properties.

Product Availability

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

Parameters:
xyProperties - A reference to a com.esri.arcgis.geodatabase.IXYEventProperties (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEventProperties

IXYEventProperties getEventProperties()
                                      throws IOException,
                                             AutomationException
The XY event properties.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.IXYEventProperties
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpatialReferenceByRef

void setSpatialReferenceByRef(ISpatialReference spatialReference)
                              throws IOException,
                                     AutomationException
The spatial reference of the XYEventSource.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

ISpatialReference getSpatialReference()
                                      throws IOException,
                                             AutomationException
The spatial reference of the XYEventSource.

Remarks

The SpatialReference refers to the spatial reference of the coordinates in the table. If a spatial reference is not specified, the XY event source will have either an unknown or an assumed geographic coordinate system. The coordinate system will be assumed geographic when the coordiates are in the range of 180 to -180 in the X direction and 90 to -90 in the Y direction.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.