com.esri.arcgis.geodatabase
Class IRepresentationProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IRepresentationProxy
All Implemented Interfaces:
IRepresentation, java.io.Externalizable, java.io.Serializable

public class IRepresentationProxy
extends com.esri.arcgis.interop.Dispatch
implements IRepresentation, java.io.Serializable

Internal use class Proxy for COM Interface 'IRepresentation'. Generated 3/19/2015 1:20:54 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Provides access to members that return and set properties of a representation.' 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
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRepresentation
IID, IID2da11044_d45b_44ad_b982_d9b09c59928a
 
Constructor Summary
  IRepresentationProxy()
          For internal use only
  IRepresentationProxy(java.lang.Object obj)
           
protected IRepresentationProxy(java.lang.Object obj, java.lang.String iid)
           
  IRepresentationProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IRepresentationProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 IFeature getFeature()
          The feature associated with this representation.
 IRepresentationGraphics getGraphics()
          The Graphics object that describes the free representation.
 IMapContext getMapContext()
          Map context in which the representation is defined.
 IRepresentationClass getRepresentationClass()
          The representation class to which this representation belongs.
 int getRuleID()
          Rule ID.
 IGeometry getShape()
          Representation geometry.
 IGeometry getShapeCopy()
          Copy of the representation geometry.
 IGeometry getShapeEdit()
          Representation geometry.
 java.lang.Object getValue(IGraphicAttributes attrs, int idx)
          The value of a representation property.
 boolean isHasShapeOverride()
          Indicates if the shape is overriden.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void removeShapeOverride()
          Removes the shape override.
 void setGraphics(IRepresentationGraphics graphics)
          The Graphics object that describes the free representation.
 void setRuleID(int iD)
          Rule ID.
 void setShapeByRef(IGeometry shape)
          Representation geometry.
 void setValue(IGraphicAttributes attrs, int idx, java.lang.Object val)
          The value of a representation property.
 void updateFeature()
          Updates the feature fields with the information contained in the representation.
 
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, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IRepresentationProxy

public IRepresentationProxy(java.lang.String CLSID,
                            java.lang.String host,
                            com.esri.arcgis.interop.AuthInfo authInfo)
                     throws java.net.UnknownHostException,
                            java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IRepresentationProxy

public IRepresentationProxy()
For internal use only


IRepresentationProxy

public IRepresentationProxy(java.lang.Object obj)
                     throws java.io.IOException
Throws:
java.io.IOException

IRepresentationProxy

protected IRepresentationProxy(java.lang.Object obj,
                               java.lang.String iid)
                        throws java.io.IOException
Throws:
java.io.IOException

IRepresentationProxy

protected IRepresentationProxy(java.lang.String CLSID,
                               java.lang.String iid,
                               java.lang.String host,
                               com.esri.arcgis.interop.AuthInfo authInfo)
                        throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

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

removeListener

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

getRepresentationClass

public IRepresentationClass getRepresentationClass()
                                            throws java.io.IOException,
                                                   AutomationException
The representation class to which this representation belongs.

Specified by:
getRepresentationClass in interface IRepresentation
Returns:
A reference to a com.esri.arcgis.geodatabase.IRepresentationClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFeature

public IFeature getFeature()
                    throws java.io.IOException,
                           AutomationException
The feature associated with this representation.

Specified by:
getFeature in interface IRepresentation
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeature
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMapContext

public IMapContext getMapContext()
                          throws java.io.IOException,
                                 AutomationException
Map context in which the representation is defined.

Specified by:
getMapContext in interface IRepresentation
Returns:
A reference to a com.esri.arcgis.display.IMapContext
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRuleID

public int getRuleID()
              throws java.io.IOException,
                     AutomationException
Rule ID.

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

setRuleID

public void setRuleID(int iD)
               throws java.io.IOException,
                      AutomationException
Rule ID.

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

getShape

public IGeometry getShape()
                   throws java.io.IOException,
                          AutomationException
Representation geometry.

Specified by:
getShape in interface IRepresentation
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getShapeEdit

public IGeometry getShapeEdit()
                       throws java.io.IOException,
                              AutomationException
Representation geometry. This geometry can be a copy of the shape if the shape override option is active.

Specified by:
getShapeEdit in interface IRepresentation
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getShapeCopy

public IGeometry getShapeCopy()
                       throws java.io.IOException,
                              AutomationException
Copy of the representation geometry.

Specified by:
getShapeCopy in interface IRepresentation
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setShapeByRef

public void setShapeByRef(IGeometry shape)
                   throws java.io.IOException,
                          AutomationException
Representation geometry.

Specified by:
setShapeByRef in interface IRepresentation
Parameters:
shape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasShapeOverride

public boolean isHasShapeOverride()
                           throws java.io.IOException,
                                  AutomationException
Indicates if the shape is overriden.

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

removeShapeOverride

public void removeShapeOverride()
                         throws java.io.IOException,
                                AutomationException
Removes the shape override.

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

getGraphics

public IRepresentationGraphics getGraphics()
                                    throws java.io.IOException,
                                           AutomationException
The Graphics object that describes the free representation.

Specified by:
getGraphics in interface IRepresentation
Returns:
A reference to a com.esri.arcgis.display.IRepresentationGraphics
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGraphics

public void setGraphics(IRepresentationGraphics graphics)
                 throws java.io.IOException,
                        AutomationException
The Graphics object that describes the free representation.

Specified by:
setGraphics in interface IRepresentation
Parameters:
graphics - A reference to a com.esri.arcgis.display.IRepresentationGraphics (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateFeature

public void updateFeature()
                   throws java.io.IOException,
                          AutomationException
Updates the feature fields with the information contained in the representation.

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

getValue

public java.lang.Object getValue(IGraphicAttributes attrs,
                                 int idx)
                          throws java.io.IOException,
                                 AutomationException
The value of a representation property.

Specified by:
getValue in interface IRepresentation
Parameters:
attrs - A reference to a com.esri.arcgis.display.IGraphicAttributes (in)
idx - The idx (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setValue

public void setValue(IGraphicAttributes attrs,
                     int idx,
                     java.lang.Object val)
              throws java.io.IOException,
                     AutomationException
The value of a representation property.

Specified by:
setValue in interface IRepresentation
Parameters:
attrs - A reference to a com.esri.arcgis.display.IGraphicAttributes (in)
idx - The idx (in)
val - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.