com.esri.arcgis.datasourcesfile
Class SMSpeedGroup

java.lang.Object
  extended by com.esri.arcgis.datasourcesfile.SMSpeedGroup
All Implemented Interfaces:
ISMSpeedGroup, ISMSpeedGroup2, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class SMSpeedGroup
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ISMSpeedGroup, ISMSpeedGroup2

Information about the speed group.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
SMSpeedGroup(Object obj)
          Construct a SMSpeedGroup using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 String getDescription()
          Speed group description.
 String getQueryString()
          A SQL-like query string for determining records that belong to the speed group.
 float getSpeed()
          The speed value of the group.
 int hashCode()
          the hashcode for this object
 void setSpeed(float pVal)
          The speed value of the group.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

SMSpeedGroup

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

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

Throws:
IOException - if there are interop problems SMSpeedGroup theSMSpeedGroup = (SMSpeedGroup) obj;
Method Detail

equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getSpeed

public float getSpeed()
               throws IOException,
                      AutomationException
The speed value of the group.

Description

Retrieves the speed value of the speed group.

Remarks

Speed property returns a Float that represents current value of the speed for the group.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

setSpeed

public void setSpeed(float pVal)
              throws IOException,
                     AutomationException
The speed value of the group.

Description

Sets the speed value of the speed group.

Remarks

Speed property sets a Float that represents current value of the speed for the group.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

getDescription

public String getDescription()
                      throws IOException,
                             AutomationException
Speed group description.

Description

Returns a description text of the speed group.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

getQueryString

public String getQueryString()
                      throws IOException,
                             AutomationException
A SQL-like query string for determining records that belong to the speed group.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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