com.esri.arcgis.cartoUI
Class AVObject

java.lang.Object
  extended by com.esri.arcgis.cartoUI.AVObject
All Implemented Interfaces:
IAVObject, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class AVObject
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IAVObject

COM Class 'AVObject'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriCartoUI.olb'

Description 'An ArcView (3.x) generic object.' 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.cartoUI.IAVObject
IID, IID049eadd1_dd95_11d3_9fd4_00c04f6bc78e, xxDummy
 
Constructor Summary
AVObject()
          Constructs a AVObject using ArcGIS Engine.
AVObject(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
AVObject theAVObject = (AVObject) obj;
 
Method Summary
 void addProperty(IProperty prop)
          Adds a property to the object.
 void clearProperties()
          Clears out all of the properties of the object.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IProperty getProperty(int index)
          The properties at the given index.
 int getPropertyCount()
          Number of properties for the object.
 java.lang.String getType()
          Type of object.
 int hashCode()
          the hashcode for this object
 java.lang.String queryPropertyValue(java.lang.String propertyName)
          Returns the value of one of the object's properties.
 void release()
          Release a AVObject.
 void setType(java.lang.String type)
          Type of object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AVObject

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

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

AVObject

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

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

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

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

getType

public java.lang.String getType()
                         throws java.io.IOException,
                                AutomationException
Type of object.

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

setType

public void setType(java.lang.String type)
             throws java.io.IOException,
                    AutomationException
Type of object.

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

getPropertyCount

public int getPropertyCount()
                     throws java.io.IOException,
                            AutomationException
Number of properties for the object.

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

getProperty

public IProperty getProperty(int index)
                      throws java.io.IOException,
                             AutomationException
The properties at the given index.

Specified by:
getProperty in interface IAVObject
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IProperty
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addProperty

public void addProperty(IProperty prop)
                 throws java.io.IOException,
                        AutomationException
Adds a property to the object.

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

queryPropertyValue

public java.lang.String queryPropertyValue(java.lang.String propertyName)
                                    throws java.io.IOException,
                                           AutomationException
Returns the value of one of the object's properties. Only valid if you're expecting a single property with the given name.

Specified by:
queryPropertyValue in interface IAVObject
Parameters:
propertyName - The propertyName (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearProperties

public void clearProperties()
                     throws java.io.IOException,
                            AutomationException
Clears out all of the properties of the object.

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