com.esri.arcgis.datasourcesfile
Class SMStopsCollection

java.lang.Object
  extended by com.esri.arcgis.datasourcesfile.SMStopsCollection
All Implemented Interfaces:
ISMStopsCollection, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class SMStopsCollection
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ISMStopsCollection

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

Description 'Deprecated as of 10.1. The collection of route stops.' 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.ISMStopsCollection
DISPID_1_GET_NAME, DISPID_2_GET_NAME, DISPID_3_NAME, DISPID_4_NAME, DISPID_5_NAME, DISPID_6_NAME, IID, IIDf8b66017_5850_11d7_b321_008048db11de, xxDummy
 
Constructor Summary
SMStopsCollection()
          Constructs a SMStopsCollection using ArcGIS Engine.
SMStopsCollection(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SMStopsCollection theSMStopsCollection = (SMStopsCollection) obj;
 
Method Summary
 void add(ISMStop pItem)
          Adds a stop to the end of collection.
 void clear()
          Removes all stops from the collection.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 int getCount()
          The number of stops in the collection.
 ISMStop getItem(int position)
          The stop at the specified position in the collection.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void insert(int position, ISMStop pItem)
          Inserts a stop at the specified position in the collection.
 void release()
          Release a SMStopsCollection.
 void remove(int position)
          Removes the stop at the specified position in the collection.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMStopsCollection

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

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

SMStopsCollection

public SMStopsCollection(java.lang.Object obj)
                  throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SMStopsCollection theSMStopsCollection = (SMStopsCollection) obj;

Construct a SMStopsCollection using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to SMStopsCollection.

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

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

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
The number of stops in the collection.

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

getItem

public ISMStop getItem(int position)
                throws java.io.IOException,
                       AutomationException
The stop at the specified position in the collection.

Specified by:
getItem in interface ISMStopsCollection
Parameters:
position - The position (in)
Returns:
A reference to a com.esri.arcgis.datasourcesfile.ISMStop
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

public void add(ISMStop pItem)
         throws java.io.IOException,
                AutomationException
Adds a stop to the end of collection.

Specified by:
add in interface ISMStopsCollection
Parameters:
pItem - A reference to a com.esri.arcgis.datasourcesfile.ISMStop (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insert

public void insert(int position,
                   ISMStop pItem)
            throws java.io.IOException,
                   AutomationException
Inserts a stop at the specified position in the collection.

Specified by:
insert in interface ISMStopsCollection
Parameters:
position - The position (in)
pItem - A reference to a com.esri.arcgis.datasourcesfile.ISMStop (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(int position)
            throws java.io.IOException,
                   AutomationException
Removes the stop at the specified position in the collection.

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

clear

public void clear()
           throws java.io.IOException,
                  AutomationException
Removes all stops from the collection.

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