com.esri.arcgis.trackinganalyst
Class PropSet

java.lang.Object
  extended by com.esri.arcgis.trackinganalyst.PropSet
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IPropSet, Serializable

public class PropSet
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IPropSet

Defines set of properties for data.

Description

This property set object provides methods and propertys to manage a collection of named property strings. This object only supports string values.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

See Also:
Serialized Form

Constructor Summary
PropSet()
          Constructs a PropSet using ArcGIS Engine.
PropSet(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
PropSet thePropSet = (PropSet) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 void getAllProperties(Object[] names, Object[] values)
          The name and value of all the properties in the property set.
static String getClsid()
          getClsid.
 int getCount()
          The number of properties contained in the property set.
 String getProperty(String name)
          The value of the specified property.
 int hashCode()
          the hashcode for this object
 void removeProperty(String name)
          Removes a property from the set.
 void setProperties(Object names, Object values)
          Set the property collection from an array of names and values.
 void setProperty(String name, String value)
          The value of the specified property.
 
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

PropSet

public PropSet()
        throws IOException,
               UnknownHostException
Constructs a PropSet using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

PropSet

public PropSet(Object obj)
        throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
PropSet thePropSet = (PropSet) obj;

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

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


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

getCount

public int getCount()
             throws IOException,
                    AutomationException
The number of properties contained in the property set.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

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

getProperty

public String getProperty(String name)
                   throws IOException,
                          AutomationException
The value of the specified property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Specified by:
getProperty in interface IPropSet
Parameters:
name - The name (in)
Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAllProperties

public void getAllProperties(Object[] names,
                             Object[] values)
                      throws IOException,
                             AutomationException
The name and value of all the properties in the property set.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Specified by:
getAllProperties in interface IPropSet
Parameters:
names - A Variant (in/out: use single element array)
values - A Variant (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setProperties

public void setProperties(Object names,
                          Object values)
                   throws IOException,
                          AutomationException
Set the property collection from an array of names and values.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Specified by:
setProperties in interface IPropSet
Parameters:
names - A Variant (in)
values - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setProperty

public void setProperty(String name,
                        String value)
                 throws IOException,
                        AutomationException
The value of the specified property.

Description

Sets the string value of the named property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Specified by:
setProperty in interface IPropSet
Parameters:
name - The name (in)
value - The value (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeProperty

public void removeProperty(String name)
                    throws IOException,
                           AutomationException
Removes a property from the set.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

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