com.esri.arcgis.trackinganalyst
Class ProximityLocationTrigger

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

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

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

Description 'Controls the implementation of a proximity location trigger which can perform across multiple real-time point temporal feature classes.' 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.IProximityLocationTrigger
IID, IID15bee97e_590c_4ee3_821c_9b0b929678d9, 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
ProximityLocationTrigger()
          Constructs a ProximityLocationTrigger using ArcGIS Engine.
ProximityLocationTrigger(java.lang.Object obj)
          Construct a ProximityLocationTrigger 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 isForFutureProximityTests()
          Indicates if event's geometry and / or temporal value is to be used in future proximity tests.
 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 isPerformProximityTests()
          Indicates if event's geometry and / or temporal value should be evaluated by the proximity tests.
 boolean isValidateProperties()
          Indicates whether this location trigger has been configured properly.
 void release()
          Release a ProximityLocationTrigger.
 void setEventIdColumn(int rhs1)
          Column containing EventID information.
 void setForFutureProximityTests(boolean pVal)
          Indicates if event's geometry and / or temporal value is to be used in future proximity tests.
 void setInverted(boolean pVal)
          Indicates whether or not location trigger has been negated.
 void setPerformProximityTests(boolean pVal)
          Indicates if event's geometry and / or temporal value should be evaluated by the proximity tests.
 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

ProximityLocationTrigger

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

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

ProximityLocationTrigger

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

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems ProximityLocationTrigger theProximityLocationTrigger = (ProximityLocationTrigger) 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 ProximityLocationTrigger.

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

isForFutureProximityTests

public boolean isForFutureProximityTests()
                                  throws java.io.IOException,
                                         AutomationException
Indicates if event's geometry and / or temporal value is to be used in future proximity tests.

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

setForFutureProximityTests

public void setForFutureProximityTests(boolean pVal)
                                throws java.io.IOException,
                                       AutomationException
Indicates if event's geometry and / or temporal value is to be used in future proximity tests.

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

isPerformProximityTests

public boolean isPerformProximityTests()
                                throws java.io.IOException,
                                       AutomationException
Indicates if event's geometry and / or temporal value should be evaluated by the proximity tests.

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

setPerformProximityTests

public void setPerformProximityTests(boolean pVal)
                              throws java.io.IOException,
                                     AutomationException
Indicates if event's geometry and / or temporal value should be evaluated by the proximity tests.

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

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.