com.esri.arcgis.geodatabase
Class TrafficData

java.lang.Object
  extended by com.esri.arcgis.geodatabase.TrafficData
All Implemented Interfaces:
IDynamicTrafficData, IHistoricalTrafficData, IHistoricalTrafficData2, ITrafficData, ITrafficData2, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class TrafficData
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ITrafficData, ITrafficData2, IHistoricalTrafficData, IHistoricalTrafficData2, IDynamicTrafficData

COM Class 'TrafficData'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description 'A container for members in traffic data.' 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.geodatabase.ITrafficData2
IID, IID0f7e13a0_8f82_44c6_9c94_f3d8bdfb32f3, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITrafficData
IIDeb382bcd_c05e_45e7_a625_3c0b55525775
 
Fields inherited from interface com.esri.arcgis.geodatabase.IHistoricalTrafficData2
IID, IID213f0913_ec31_420c_8826_ce8353c28d08, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IHistoricalTrafficData
IID074c64b3_0d8b_471d_a16e_606c70ddc84a
 
Fields inherited from interface com.esri.arcgis.geodatabase.IDynamicTrafficData
IID, IIDc8696877_c08f_4fec_ac30_50c9aad43fbb, xxDummy
 
Constructor Summary
TrafficData()
          Constructs a TrafficData using ArcGIS Engine.
TrafficData(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TrafficData theTrafficData = (TrafficData) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 java.lang.String getDynamicTrafficTableName()
          The name of the dynamic traffic table.
 java.lang.String getDynamicTrafficTMCFieldName()
          The field name for the dynamic traffic TMCs in the dynamic traffic.
 java.lang.String getFirstTimeSliceFieldName()
          The field name of the first time slice of the given period in the profile table.
 java.util.Date getFirstTimeSliceStartTime()
          The start time of valid period of a day for traffic data.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getJoinTableBaseSpeedFieldName()
          The field name for base speed in the join table.
 int getJoinTableBaseSpeedUnits()
          Base speed units.
 java.lang.String getJoinTableBaseTravelTimeFieldName()
          The field name for base travel time in the join table.
 int getJoinTableBaseTravelTimeUnits()
          Base travel time units.
 java.lang.String getJoinTableName()
          The name of the join table between edges and profiles.
 IStringArray getJoinTableProfileIDFieldNames()
          The field names of the historic join table pointing to speed profiles.
 java.lang.String getLastTimeSliceFieldName()
          The field name of the last time slice of the given period in the profile table.
 java.lang.String getLengthAttributeName()
          The field name for the length attribute.
 java.lang.String getProfilesTableName()
          The name of the table containing profiles.
 double getTimeInterval()
          The time interval of the traffic data.
 int getTimeIntervalUnits()
          The units of the time interval of the traffic data.
 int getTimeSliceDurationInMinutes()
          The duration of time slice in minutes.
 ITrafficFeedLocation getTrafficFeedLocation()
          The traffic feed location.
 int hashCode()
          the hashcode for this object
 void release()
          Release a TrafficData.
 void setDynamicTrafficTableName(java.lang.String dynamicTrafficTableName)
          The name of the dynamic traffic table.
 void setDynamicTrafficTMCFieldName(java.lang.String dynamicTrafficTMCFieldName)
          The field name for the dynamic traffic TMCs in the dynamic traffic.
 void setFirstTimeSliceFieldName(java.lang.String firstTimeSliceFieldName)
          The field name of the first time slice of the given period in the profile table.
 void setFirstTimeSliceStartTime(java.util.Date firstTimeSliceStartTime)
          The start time of valid period of a day for traffic data.
 void setJoinTableBaseSpeedFieldName(java.lang.String fieldName)
          The field name for base speed in the join table.
 void setJoinTableBaseSpeedUnits(int units)
          Base speed units.
 void setJoinTableBaseTravelTimeFieldName(java.lang.String fieldName)
          The field name for base travel time in the join table.
 void setJoinTableBaseTravelTimeUnits(int units)
          Base travel time units.
 void setJoinTableName(java.lang.String joinTableName)
          The name of the join table between edges and profiles.
 void setJoinTableProfileIDFieldNamesByRef(IStringArray profileIDFields)
          The field names of the historic join table pointing to speed profiles.
 void setLastTimeSliceFieldName(java.lang.String lastTimeSliceFieldName)
          The field name of the last time slice of the given period in the profile table.
 void setLengthAttributeName(java.lang.String lengthAttributeName)
          The field name for the length attribute.
 void setProfilesTableName(java.lang.String profilesTableName)
          The name of the table containing profiles.
 void setTimeSliceDurationInMinutes(int timeSliceDurationInMinutes)
          The duration of time slice in minutes.
 void setTrafficFeedLocationByRef(ITrafficFeedLocation trafficFeedLocation)
          The traffic feed location.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrafficData

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

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

TrafficData

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

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

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

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

getTimeInterval

public double getTimeInterval()
                       throws java.io.IOException,
                              AutomationException
The time interval of the traffic data.

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

getTimeIntervalUnits

public int getTimeIntervalUnits()
                         throws java.io.IOException,
                                AutomationException
The units of the time interval of the traffic data.

Specified by:
getTimeIntervalUnits in interface ITrafficData
Returns:
A com.esri.arcgis.system.esriTimeUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLengthAttributeName

public java.lang.String getLengthAttributeName()
                                        throws java.io.IOException,
                                               AutomationException
The field name for the length attribute.

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

setLengthAttributeName

public void setLengthAttributeName(java.lang.String lengthAttributeName)
                            throws java.io.IOException,
                                   AutomationException
The field name for the length attribute.

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

getProfilesTableName

public java.lang.String getProfilesTableName()
                                      throws java.io.IOException,
                                             AutomationException
The name of the table containing profiles.

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

setProfilesTableName

public void setProfilesTableName(java.lang.String profilesTableName)
                          throws java.io.IOException,
                                 AutomationException
The name of the table containing profiles.

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

getTimeSliceDurationInMinutes

public int getTimeSliceDurationInMinutes()
                                  throws java.io.IOException,
                                         AutomationException
The duration of time slice in minutes.

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

setTimeSliceDurationInMinutes

public void setTimeSliceDurationInMinutes(int timeSliceDurationInMinutes)
                                   throws java.io.IOException,
                                          AutomationException
The duration of time slice in minutes.

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

getFirstTimeSliceStartTime

public java.util.Date getFirstTimeSliceStartTime()
                                          throws java.io.IOException,
                                                 AutomationException
The start time of valid period of a day for traffic data.

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

setFirstTimeSliceStartTime

public void setFirstTimeSliceStartTime(java.util.Date firstTimeSliceStartTime)
                                throws java.io.IOException,
                                       AutomationException
The start time of valid period of a day for traffic data.

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

getFirstTimeSliceFieldName

public java.lang.String getFirstTimeSliceFieldName()
                                            throws java.io.IOException,
                                                   AutomationException
The field name of the first time slice of the given period in the profile table.

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

setFirstTimeSliceFieldName

public void setFirstTimeSliceFieldName(java.lang.String firstTimeSliceFieldName)
                                throws java.io.IOException,
                                       AutomationException
The field name of the first time slice of the given period in the profile table.

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

getLastTimeSliceFieldName

public java.lang.String getLastTimeSliceFieldName()
                                           throws java.io.IOException,
                                                  AutomationException
The field name of the last time slice of the given period in the profile table.

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

setLastTimeSliceFieldName

public void setLastTimeSliceFieldName(java.lang.String lastTimeSliceFieldName)
                               throws java.io.IOException,
                                      AutomationException
The field name of the last time slice of the given period in the profile table.

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

getJoinTableName

public java.lang.String getJoinTableName()
                                  throws java.io.IOException,
                                         AutomationException
The name of the join table between edges and profiles.

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

setJoinTableName

public void setJoinTableName(java.lang.String joinTableName)
                      throws java.io.IOException,
                             AutomationException
The name of the join table between edges and profiles.

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

getJoinTableBaseTravelTimeFieldName

public java.lang.String getJoinTableBaseTravelTimeFieldName()
                                                     throws java.io.IOException,
                                                            AutomationException
The field name for base travel time in the join table.

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

setJoinTableBaseTravelTimeFieldName

public void setJoinTableBaseTravelTimeFieldName(java.lang.String fieldName)
                                         throws java.io.IOException,
                                                AutomationException
The field name for base travel time in the join table.

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

getJoinTableBaseTravelTimeUnits

public int getJoinTableBaseTravelTimeUnits()
                                    throws java.io.IOException,
                                           AutomationException
Base travel time units.

Specified by:
getJoinTableBaseTravelTimeUnits in interface IHistoricalTrafficData
Returns:
A com.esri.arcgis.geodatabase.esriNetworkAttributeUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setJoinTableBaseTravelTimeUnits

public void setJoinTableBaseTravelTimeUnits(int units)
                                     throws java.io.IOException,
                                            AutomationException
Base travel time units.

Specified by:
setJoinTableBaseTravelTimeUnits in interface IHistoricalTrafficData
Parameters:
units - A com.esri.arcgis.geodatabase.esriNetworkAttributeUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getJoinTableProfileIDFieldNames

public IStringArray getJoinTableProfileIDFieldNames()
                                             throws java.io.IOException,
                                                    AutomationException
The field names of the historic join table pointing to speed profiles.

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

setJoinTableProfileIDFieldNamesByRef

public void setJoinTableProfileIDFieldNamesByRef(IStringArray profileIDFields)
                                          throws java.io.IOException,
                                                 AutomationException
The field names of the historic join table pointing to speed profiles.

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

getJoinTableBaseSpeedFieldName

public java.lang.String getJoinTableBaseSpeedFieldName()
                                                throws java.io.IOException,
                                                       AutomationException
The field name for base speed in the join table.

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

setJoinTableBaseSpeedFieldName

public void setJoinTableBaseSpeedFieldName(java.lang.String fieldName)
                                    throws java.io.IOException,
                                           AutomationException
The field name for base speed in the join table.

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

getJoinTableBaseSpeedUnits

public int getJoinTableBaseSpeedUnits()
                               throws java.io.IOException,
                                      AutomationException
Base speed units.

Specified by:
getJoinTableBaseSpeedUnits in interface IHistoricalTrafficData2
Returns:
A com.esri.arcgis.geodatabase.esriNetworkAttributeUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setJoinTableBaseSpeedUnits

public void setJoinTableBaseSpeedUnits(int units)
                                throws java.io.IOException,
                                       AutomationException
Base speed units.

Specified by:
setJoinTableBaseSpeedUnits in interface IHistoricalTrafficData2
Parameters:
units - A com.esri.arcgis.geodatabase.esriNetworkAttributeUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDynamicTrafficTableName

public java.lang.String getDynamicTrafficTableName()
                                            throws java.io.IOException,
                                                   AutomationException
The name of the dynamic traffic table.

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

setDynamicTrafficTableName

public void setDynamicTrafficTableName(java.lang.String dynamicTrafficTableName)
                                throws java.io.IOException,
                                       AutomationException
The name of the dynamic traffic table.

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

getDynamicTrafficTMCFieldName

public java.lang.String getDynamicTrafficTMCFieldName()
                                               throws java.io.IOException,
                                                      AutomationException
The field name for the dynamic traffic TMCs in the dynamic traffic.

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

setDynamicTrafficTMCFieldName

public void setDynamicTrafficTMCFieldName(java.lang.String dynamicTrafficTMCFieldName)
                                   throws java.io.IOException,
                                          AutomationException
The field name for the dynamic traffic TMCs in the dynamic traffic.

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

getTrafficFeedLocation

public ITrafficFeedLocation getTrafficFeedLocation()
                                            throws java.io.IOException,
                                                   AutomationException
The traffic feed location.

Specified by:
getTrafficFeedLocation in interface IDynamicTrafficData
Returns:
A reference to a com.esri.arcgis.geodatabase.ITrafficFeedLocation
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTrafficFeedLocationByRef

public void setTrafficFeedLocationByRef(ITrafficFeedLocation trafficFeedLocation)
                                 throws java.io.IOException,
                                        AutomationException
The traffic feed location.

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