com.esri.arcgis.trackinganalyst
Class CrossingLocationTrigger

java.lang.Object
  extended by com.esri.arcgis.trackinganalyst.CrossingLocationTrigger
All Implemented Interfaces:
ILocationTrigger, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, ICrossingLocationTrigger, ILocationTriggerAdmin, java.io.Serializable

public class CrossingLocationTrigger
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ICrossingLocationTrigger, ILocationTrigger, ILocationTriggerAdmin, ISupportErrorInfo

COM Class 'CrossingLocationTrigger'. Generated 3/19/2015 1:20:45 PM from 'C:\ArcGIS\COM\esriTrackingAnalyst.olb'

Description 'Controls the implementation of the action's location trigger for the geometrical crossing of a polyline or a polygon border.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.trackinganalyst.ICrossingLocationTrigger
IID, IID00b03ad9_de9a_4f35_8c9b_28e3cbde7c8d, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.ILocationTrigger
IID, IID53053771_6ea2_42a6_a4e4_6f6f2746530c, xxDummy
 
Fields inherited from interface com.esri.arcgis.trackinganalyst.ILocationTriggerAdmin
IID, IID69e67f97_50c1_4bbd_93bb_c48159d4dc5b, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
CrossingLocationTrigger()
          Constructs a CrossingLocationTrigger using ArcGIS Engine.
CrossingLocationTrigger(java.lang.Object obj)
          Construct a CrossingLocationTrigger using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void configure(int hParentWindowHandle, ISet piObjects)
          Open a configuration dialog for the location trigger properties.
 boolean equals(java.lang.Object o)
          Compare this object with another
 void evaluateDataMessage(IDataMessage piDataMessage)
          Evaluates data message for location trigger information.
 void evaluateFeature(IFeature piFeature)
          Evaluates feature for location trigger information.
 void geometryIsCompatible(int eTypeA, int eTypeB)
          Determines whether or not the geometry is compatible for the location trigger.
static java.lang.String getClsid()
          getClsid.
 java.lang.String getDescription()
          Description of location trigger properties.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getName()
          Name of the location trigger.
 IPropertySet getProperties()
          PropertySet of all configurable items for this location trigger.
 IGeometry getTestGeometry()
          Geometry used for location trigger test.
 int hashCode()
          the hashcode for this object
 void initializeState()
          Initializes the Location Trigger to its default state.
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isHasConfigurationDialog()
          Indicates whether this location trigger has a Configuration Dialog or not.
 boolean isInvertable()
          Indicates whether or not the location trigger can be negated.
 boolean isInverted()
          Indicates whether or not location trigger has been negated.
 boolean isNeedsTestGeometry()
          Indicates whether this location trigger needs to have a test geometry.
 boolean isValidateProperties()
          Indicates whether this location trigger has been configured properly.
 void release()
          Release a CrossingLocationTrigger.
 void setEventIdColumn(int rhs1)
          Column containing EventID information.
 void setInverted(boolean pVal)
          Indicates whether or not location trigger has been negated.
 void setProperties(IPropertySet ppiProperties)
          PropertySet of all configurable items for this location trigger.
 void setShapeColumn(int rhs1)
          Column containing geometry objects.
 void setTestFeatureClass(IFeatureClass rhs1)
          Feature class containing geometry used in the location query.
 void setTestGeometry(IGeometry ppiTestGeometry)
          Geometry used for location trigger test.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrossingLocationTrigger

public CrossingLocationTrigger()
                        throws java.io.IOException,
                               java.net.UnknownHostException
Constructs a CrossingLocationTrigger using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

CrossingLocationTrigger

public CrossingLocationTrigger(java.lang.Object obj)
                        throws java.io.IOException
Construct a CrossingLocationTrigger using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to CrossingLocationTrigger.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems CrossingLocationTrigger theCrossingLocationTrigger = (CrossingLocationTrigger) obj;
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a CrossingLocationTrigger.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
Name of the location trigger.

Specified by:
getName in interface ILocationTrigger
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDescription

public java.lang.String getDescription()
                                throws java.io.IOException,
                                       AutomationException
Description of location trigger properties.

Specified by:
getDescription in interface ILocationTrigger
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isInvertable

public boolean isInvertable()
                     throws java.io.IOException,
                            AutomationException
Indicates whether or not the location trigger can be negated.

Specified by:
isInvertable in interface ILocationTrigger
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isInverted

public boolean isInverted()
                   throws java.io.IOException,
                          AutomationException
Indicates whether or not location trigger has been negated.

Specified by:
isInverted in interface ILocationTrigger
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setInverted

public void setInverted(boolean pVal)
                 throws java.io.IOException,
                        AutomationException
Indicates whether or not location trigger has been negated.

Specified by:
setInverted in interface ILocationTrigger
Parameters:
pVal - The pVal (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setShapeColumn

public void setShapeColumn(int rhs1)
                    throws java.io.IOException,
                           AutomationException
Column containing geometry objects.

Specified by:
setShapeColumn in interface ILocationTrigger
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEventIdColumn

public void setEventIdColumn(int rhs1)
                      throws java.io.IOException,
                             AutomationException
Column containing EventID information.

Specified by:
setEventIdColumn in interface ILocationTrigger
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTestFeatureClass

public void setTestFeatureClass(IFeatureClass rhs1)
                         throws java.io.IOException,
                                AutomationException
Feature class containing geometry used in the location query.

Specified by:
setTestFeatureClass in interface ILocationTrigger
Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

geometryIsCompatible

public void geometryIsCompatible(int eTypeA,
                                 int eTypeB)
                          throws java.io.IOException,
                                 AutomationException
Determines whether or not the geometry is compatible for the location trigger.

Specified by:
geometryIsCompatible in interface ILocationTrigger
Parameters:
eTypeA - A com.esri.arcgis.geometry.esriGeometryType constant (in)
eTypeB - A com.esri.arcgis.geometry.esriGeometryType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

evaluateFeature

public void evaluateFeature(IFeature piFeature)
                     throws java.io.IOException,
                            AutomationException
Evaluates feature for location trigger information.

Specified by:
evaluateFeature in interface ILocationTrigger
Parameters:
piFeature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

evaluateDataMessage

public void evaluateDataMessage(IDataMessage piDataMessage)
                         throws java.io.IOException,
                                AutomationException
Evaluates data message for location trigger information.

Specified by:
evaluateDataMessage in interface ILocationTrigger
Parameters:
piDataMessage - A reference to a com.esri.arcgis.geodatabaseextensions.IDataMessage (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTestGeometry

public void setTestGeometry(IGeometry ppiTestGeometry)
                     throws java.io.IOException,
                            AutomationException
Geometry used for location trigger test.

Specified by:
setTestGeometry in interface ILocationTrigger
Parameters:
ppiTestGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTestGeometry

public IGeometry getTestGeometry()
                          throws java.io.IOException,
                                 AutomationException
Geometry used for location trigger test.

Specified by:
getTestGeometry in interface ILocationTrigger
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getProperties

public IPropertySet getProperties()
                           throws java.io.IOException,
                                  AutomationException
PropertySet of all configurable items for this location trigger.

Specified by:
getProperties in interface ILocationTriggerAdmin
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setProperties

public void setProperties(IPropertySet ppiProperties)
                   throws java.io.IOException,
                          AutomationException
PropertySet of all configurable items for this location trigger.

Specified by:
setProperties in interface ILocationTriggerAdmin
Parameters:
ppiProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasConfigurationDialog

public boolean isHasConfigurationDialog()
                                 throws java.io.IOException,
                                        AutomationException
Indicates whether this location trigger has a Configuration Dialog or not.

Specified by:
isHasConfigurationDialog in interface ILocationTriggerAdmin
Returns:
The pbvarHasConfigurationDialog
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isValidateProperties

public boolean isValidateProperties()
                             throws java.io.IOException,
                                    AutomationException
Indicates whether this location trigger has been configured properly.

Specified by:
isValidateProperties in interface ILocationTriggerAdmin
Returns:
The pbvarValid
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

configure

public void configure(int hParentWindowHandle,
                      ISet piObjects)
               throws java.io.IOException,
                      AutomationException
Open a configuration dialog for the location trigger properties. At a minimum the ISet will contain one or more of the following objects, Action to be edited, Trigger Layer, Server Connection, and Polygon Source Name.

Specified by:
configure in interface ILocationTriggerAdmin
Parameters:
hParentWindowHandle - The hParentWindowHandle (A COM typedef) (in)
piObjects - A reference to a com.esri.arcgis.system.ISet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isNeedsTestGeometry

public boolean isNeedsTestGeometry()
                            throws java.io.IOException,
                                   AutomationException
Indicates whether this location trigger needs to have a test geometry.

Specified by:
isNeedsTestGeometry in interface ILocationTriggerAdmin
Returns:
The pbvarValid
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initializeState

public void initializeState()
                     throws java.io.IOException,
                            AutomationException
Initializes the Location Trigger to its default state.

Specified by:
initializeState in interface ILocationTriggerAdmin
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.