com.esri.arcgis.schematic
Class INgAttributeGeometryProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.schematic.INgAttributeGeometryProxy
All Implemented Interfaces:
INgAttributeGeometry, Externalizable, Serializable

public class INgAttributeGeometryProxy
extends com.esri.arcgis.interop.Dispatch
implements INgAttributeGeometry, Serializable

Provides access to members that control the attribute geometry.

Description

An attribute geometry is an attribute which values are decoded from an ESRI geometry blob. Three types of information can be decoded: the list of intermediate points related to a feature edge (that is, the vertices), the X coordinate for a feature point, and the Y coordinate for a feature point.

Remarks

Such an attribute may be defined when you work with an ESRI geodatabase, and you have no reason to define that attribute if your database is not an ESRI geodatabase. Moreover, the datasource specified for the element type the geometric attribute is related to, must connect your ESRI geodatabase using the ESRI provider, otherwise the computed geometric attribute value will be wrong.

Product Availability

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

See Also:
INgAttribute, Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  INgAttributeGeometryProxy()
           
  INgAttributeGeometryProxy(Object obj)
           
protected INgAttributeGeometryProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 String getFieldName()
          Name of the field where the geometric information is stored.
 int getGeometryType()
          Type of geometric information.
 String getName()
          Name of the attribute geometry.
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void setFieldName(String pVal)
          Name of the field where the geometric information is stored.
 void setGeometryType(int pVal)
          Type of geometric information.
 void setName(String pVal)
          Name of the attribute geometry.
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
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, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

INgAttributeGeometryProxy

public INgAttributeGeometryProxy()

INgAttributeGeometryProxy

public INgAttributeGeometryProxy(Object obj)
                          throws IOException
Throws:
IOException

INgAttributeGeometryProxy

protected INgAttributeGeometryProxy(Object obj,
                                    String iid)
                             throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getName

public String getName()
               throws IOException,
                      AutomationException
Name of the attribute geometry.

Description

This name is defined when the geometry attribute is created
- either by calling the INgObjectType CreateAttribute method in the program code,
- or through ArcGIS Schematics Designer, when the attribute has been created.

Product Availability

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

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

setName

public void setName(String pVal)
             throws IOException,
                    AutomationException
Name of the attribute geometry.

Product Availability

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

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

getFieldName

public String getFieldName()
                    throws IOException,
                           AutomationException
Name of the field where the geometric information is stored.

Description

This field is a BLOB field.

Product Availability

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

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

setFieldName

public void setFieldName(String pVal)
                  throws IOException,
                         AutomationException
Name of the field where the geometric information is stored.

Product Availability

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

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

getGeometryType

public int getGeometryType()
                    throws IOException,
                           AutomationException
Type of geometric information.

Description

Three type of geometry are available to decode an ESRI geometry blob field:

Product Availability

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

Specified by:
getGeometryType in interface INgAttributeGeometry
Returns:
A com.esri.arcgis.schematic.esriNgGeometryType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGeometryType

public void setGeometryType(int pVal)
                     throws IOException,
                            AutomationException
Type of geometric information.

Product Availability

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

Specified by:
setGeometryType in interface INgAttributeGeometry
Parameters:
pVal - A com.esri.arcgis.schematic.esriNgGeometryType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException
ClassNotFoundException