com.esri.arcgis.datasourcesfile
Class SMFlagCreator

java.lang.Object
  extended by com.esri.arcgis.datasourcesfile.SMFlagCreator
All Implemented Interfaces:
ISMFlagCreator, ISMFlagCreator2, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class SMFlagCreator
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ISMFlagCreator, ISMFlagCreator2

COM Class 'SMFlagCreator'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesFile.olb'

Description 'Deprecated as of 10.1. The object for route flag creation.' 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.datasourcesfile.ISMFlagCreator2
DISPID_4_GET_NAME, DISPID_4_PUT_NAME, IID, IID0e8f6257_745f_4de3_b651_6ecf14728c5c, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesfile.ISMFlagCreator
DISPID_1_NAME, DISPID_2_NAME, DISPID_3_NAME, IID8a4bb863_0c3f_4897_aa09_1479a4b76a6f
 
Constructor Summary
SMFlagCreator(java.lang.Object obj)
          Construct a SMFlagCreator using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 ISMFlag createFlag(ISMRouterPoint pPoint)
          Creates the route flag using its geographic location.
 ISMFlag createFlagDirection(ISMRouterPoint pPoint, double dOrientation, double dTolerance, double[] pdAdjustedOrientation)
          Creates the route flag using its geographic location and required direction.
 ISMFlag createFlagDirectionAdv(ISMRouterPoint pPoint, double dOrientation, double dTolerance, double dSpeed, double dLatency, double[] pdAdjustedOrientation)
          Creates the route flag using its geographic location, required direction and latency.
 boolean equals(java.lang.Object o)
          Compare this object with another
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 double getSearchTolerance()
          Defines maximum allowed distance in miles from stop location to closest street segment when creating a flag.
 int hashCode()
          the hashcode for this object
 void release()
          Release a SMFlagCreator.
 void setSearchTolerance(double pVal)
          Defines maximum allowed distance in miles from stop location to closest street segment when creating a flag.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMFlagCreator

public SMFlagCreator(java.lang.Object obj)
              throws java.io.IOException
Construct a SMFlagCreator using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to SMFlagCreator.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
SMFlagCreator o = (SMFlagCreator)obj; // will not work

SMFlagCreator o = new SMFlagCreator(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems SMFlagCreator theSMFlagCreator = (SMFlagCreator) obj;
Method Detail

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 SMFlagCreator.

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

createFlag

public ISMFlag createFlag(ISMRouterPoint pPoint)
                   throws java.io.IOException,
                          AutomationException
Creates the route flag using its geographic location.

Specified by:
createFlag in interface ISMFlagCreator
Parameters:
pPoint - A reference to a com.esri.arcgis.datasourcesfile.ISMRouterPoint (in)
Returns:
A reference to a com.esri.arcgis.datasourcesfile.ISMFlag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createFlagDirection

public ISMFlag createFlagDirection(ISMRouterPoint pPoint,
                                   double dOrientation,
                                   double dTolerance,
                                   double[] pdAdjustedOrientation)
                            throws java.io.IOException,
                                   AutomationException
Creates the route flag using its geographic location and required direction.

Specified by:
createFlagDirection in interface ISMFlagCreator
Parameters:
pPoint - A reference to a com.esri.arcgis.datasourcesfile.ISMRouterPoint (in)
dOrientation - The dOrientation (in)
dTolerance - The dTolerance (in)
pdAdjustedOrientation - The pdAdjustedOrientation (out: use single element array)
Returns:
A reference to a com.esri.arcgis.datasourcesfile.ISMFlag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createFlagDirectionAdv

public ISMFlag createFlagDirectionAdv(ISMRouterPoint pPoint,
                                      double dOrientation,
                                      double dTolerance,
                                      double dSpeed,
                                      double dLatency,
                                      double[] pdAdjustedOrientation)
                               throws java.io.IOException,
                                      AutomationException
Creates the route flag using its geographic location, required direction and latency.

Specified by:
createFlagDirectionAdv in interface ISMFlagCreator
Parameters:
pPoint - A reference to a com.esri.arcgis.datasourcesfile.ISMRouterPoint (in)
dOrientation - The dOrientation (in)
dTolerance - The dTolerance (in)
dSpeed - The dSpeed (in)
dLatency - The dLatency (in)
pdAdjustedOrientation - The pdAdjustedOrientation (out: use single element array)
Returns:
A reference to a com.esri.arcgis.datasourcesfile.ISMFlag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSearchTolerance

public double getSearchTolerance()
                          throws java.io.IOException,
                                 AutomationException
Defines maximum allowed distance in miles from stop location to closest street segment when creating a flag.

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

setSearchTolerance

public void setSearchTolerance(double pVal)
                        throws java.io.IOException,
                               AutomationException
Defines maximum allowed distance in miles from stop location to closest street segment when creating a flag.

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