public class IObjectClassInfoProxy extends com.esri.arcgis.interop.Dispatch implements IObjectClassInfo, java.io.Serializable
Description: 'Provides access to method that indicates whether an object can bypass the store method.' 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 =
| Modifier and Type | Field and Description |
|---|---|
boolean |
noncastable |
static java.lang.Class |
targetClass |
| Modifier | Constructor and Description |
|---|---|
|
IObjectClassInfoProxy()
For internal use only
|
|
IObjectClassInfoProxy(java.lang.Object obj) |
protected |
IObjectClassInfoProxy(java.lang.Object obj,
java.lang.String iid) |
|
IObjectClassInfoProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo) |
protected |
IObjectClassInfoProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Adds a Java object to be a listener for a specific kind of event generated by the COM object.
|
boolean |
canBypassStoreMethod()
Indicates if updates to objects can bypass the Store method and OnChange notifications for efficiency.
|
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object.
|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternalpublic static final java.lang.Class targetClass
public boolean noncastable
public IObjectClassInfoProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
java.net.UnknownHostExceptionjava.io.IOExceptionpublic IObjectClassInfoProxy()
public IObjectClassInfoProxy(java.lang.Object obj)
throws java.io.IOException
java.io.IOExceptionprotected IObjectClassInfoProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
java.io.IOExceptionprotected IObjectClassInfoProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
throws java.io.IOException
java.io.IOExceptionpublic void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
com.esri.arcgis.interop.DispatchaddListener in class com.esri.arcgis.interop.DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object to be informed of the eventstheSource - the proxy class that represents the COM class that is the source of the eventsjava.io.IOExceptionpublic void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
com.esri.arcgis.interop.DispatchremoveListener in class com.esri.arcgis.interop.DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object that no longer wishes to be informed of the eventsjava.io.IOExceptionpublic boolean canBypassStoreMethod()
throws java.io.IOException,
AutomationException
CanBypassStoreMethod is a convenience method that returns True if the instances of this object class have no custom behavior associated with creating or updating objects and if the object class does not participate in composite relationship classes or in relationship classes that require object notification. A return value of True implies that insert cursors handed out by the geodatabase will internally bypass the CreateRow and Store mechanisms when creating objects. A return value of False indicates that insert cursors will not bypass custom Store or OnChanged behavior implemented by the custom row object for this class.
By default, this method returns False for custom object classes. The developer of a custom object class can change this behavior by implementing this interface on the class extension associated with the class and returning True for the method.
In addition, a developer can implement this interface on the class extension of a simple class and set this property to False . Doing this will ensure that when features in the class are inserted, updated or deleted by editor tools that use insert and update cursors, such as Planarize, Create Features and the Object Loader do not bypass Store or OnChanged behavior. By default, this property for a simple class is logically True, meaning these tools will not broacast Geodatabase events which in turn are not rebroadcast as editor events (for which a custom editor application may be listening). Set this to False for those classes for which you always want to have these events broadcast. Alternatively, this can be set globally for the entire edit session using the IWorkspaceEditControl interface.
canBypassStoreMethod in interface IObjectClassInfojava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.