public class AssociationObject extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IAssociationObject
Description 'Association 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 =
IID, IID6d76a607_8604_4c66_bc8d_e92e04bd92e1, xxDummy
Constructor and Description |
---|
AssociationObject()
Constructs a AssociationObject using ArcGIS Engine.
|
AssociationObject(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
AssociationObject theAssociationObject = (AssociationObject) obj; |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
int |
getAssociationType()
Returns the type of association.
|
static java.lang.String |
getClsid()
getClsid.
|
long |
getErrorCode()
Returns the association record errorCode.
|
java.lang.String |
getErrorMessage()
Returns the association record error message.
|
GUID |
getFromFeatureID()
Returns the from feature Global ID.
|
int |
getFromSourceID()
Returns the from feature source ID.
|
int |
getFromTerminalID()
Returns the from feature terminal ID if applicable.
|
IGeometry |
getGeometry()
Returns the association geometry.
|
GUID |
getGlobalID()
Returns the association record Global ID.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
long |
getObjectID()
Returns the association record Object ID.
|
double |
getPercentAlong()
Returns the association record percent along.
|
int |
getStatus()
Returns the association record status.
|
GUID |
getToFeatureID()
Returns the to feature Global ID.
|
int |
getToSourceID()
Returns the to feature source ID.
|
int |
getToTerminalID()
Returns the to feature terminal ID if applicable.
|
int |
hashCode()
the hashcode for this object
|
boolean |
isContentVisible()
Returns the association record isContentVisible.
|
void |
release()
Release this COM object reference
|
void |
setAssociationType(int type)
Returns the type of association.
|
void |
setErrorCode(long errorCode)
Returns the association record errorCode.
|
void |
setErrorMessage(java.lang.String errorMessage)
Returns the association record error message.
|
void |
setFromFeatureID(GUID fromFeatureID)
Returns the from feature Global ID.
|
void |
setFromSourceID(int fromSourceID)
Returns the from feature source ID.
|
void |
setFromTerminalID(int fromTerminalID)
Returns the from feature terminal ID if applicable.
|
void |
setGeometryByRef(IGeometry geom)
Returns the association geometry.
|
void |
setGlobalID(GUID globalID)
Returns the association record Global ID.
|
void |
setIsContentVisible(boolean isContentVisible)
Returns the association record isContentVisible.
|
void |
setObjectID(long objectID)
Returns the association record Object ID.
|
void |
setPercentAlong(double percentAlong)
Returns the association record percent along.
|
void |
setStatus(int status)
Returns the association record status.
|
void |
setToFeatureID(GUID toFeatureID)
Returns the to feature Global ID.
|
void |
setToSourceID(int toSourceID)
Returns the to feature source ID.
|
void |
setToTerminalID(int toTerminalID)
Returns the to feature terminal ID if applicable.
|
public AssociationObject() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic AssociationObject(java.lang.Object obj) throws java.io.IOException
AssociationObject theAssociationObject = (AssociationObject) obj;
obj
to AssociationObject
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public int getAssociationType() throws java.io.IOException, AutomationException
getAssociationType
in interface IAssociationObject
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setAssociationType(int type) throws java.io.IOException, AutomationException
setAssociationType
in interface IAssociationObject
type
- A com.esri.arcgis.geodatabase.esriUtilityNetworkAssociationType constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IGeometry getGeometry() throws java.io.IOException, AutomationException
getGeometry
in interface IAssociationObject
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setGeometryByRef(IGeometry geom) throws java.io.IOException, AutomationException
setGeometryByRef
in interface IAssociationObject
geom
- A reference to a com.esri.arcgis.geometry.IGeometry (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getFromSourceID() throws java.io.IOException, AutomationException
getFromSourceID
in interface IAssociationObject
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setFromSourceID(int fromSourceID) throws java.io.IOException, AutomationException
setFromSourceID
in interface IAssociationObject
fromSourceID
- The fromSourceID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getToSourceID() throws java.io.IOException, AutomationException
getToSourceID
in interface IAssociationObject
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setToSourceID(int toSourceID) throws java.io.IOException, AutomationException
setToSourceID
in interface IAssociationObject
toSourceID
- The toSourceID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public GUID getFromFeatureID() throws java.io.IOException, AutomationException
getFromFeatureID
in interface IAssociationObject
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setFromFeatureID(GUID fromFeatureID) throws java.io.IOException, AutomationException
setFromFeatureID
in interface IAssociationObject
fromFeatureID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public GUID getToFeatureID() throws java.io.IOException, AutomationException
getToFeatureID
in interface IAssociationObject
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setToFeatureID(GUID toFeatureID) throws java.io.IOException, AutomationException
setToFeatureID
in interface IAssociationObject
toFeatureID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getFromTerminalID() throws java.io.IOException, AutomationException
getFromTerminalID
in interface IAssociationObject
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setFromTerminalID(int fromTerminalID) throws java.io.IOException, AutomationException
setFromTerminalID
in interface IAssociationObject
fromTerminalID
- The fromTerminalID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getToTerminalID() throws java.io.IOException, AutomationException
getToTerminalID
in interface IAssociationObject
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setToTerminalID(int toTerminalID) throws java.io.IOException, AutomationException
setToTerminalID
in interface IAssociationObject
toTerminalID
- The toTerminalID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getStatus() throws java.io.IOException, AutomationException
getStatus
in interface IAssociationObject
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setStatus(int status) throws java.io.IOException, AutomationException
setStatus
in interface IAssociationObject
status
- The status (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public long getErrorCode() throws java.io.IOException, AutomationException
getErrorCode
in interface IAssociationObject
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setErrorCode(long errorCode) throws java.io.IOException, AutomationException
setErrorCode
in interface IAssociationObject
errorCode
- Signed 64-bit int (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getErrorMessage() throws java.io.IOException, AutomationException
getErrorMessage
in interface IAssociationObject
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setErrorMessage(java.lang.String errorMessage) throws java.io.IOException, AutomationException
setErrorMessage
in interface IAssociationObject
errorMessage
- The errorMessage (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getPercentAlong() throws java.io.IOException, AutomationException
getPercentAlong
in interface IAssociationObject
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setPercentAlong(double percentAlong) throws java.io.IOException, AutomationException
setPercentAlong
in interface IAssociationObject
percentAlong
- The percentAlong (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isContentVisible() throws java.io.IOException, AutomationException
isContentVisible
in interface IAssociationObject
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setIsContentVisible(boolean isContentVisible) throws java.io.IOException, AutomationException
setIsContentVisible
in interface IAssociationObject
isContentVisible
- The isContentVisible (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public long getObjectID() throws java.io.IOException, AutomationException
getObjectID
in interface IAssociationObject
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setObjectID(long objectID) throws java.io.IOException, AutomationException
setObjectID
in interface IAssociationObject
objectID
- Signed 64-bit int (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public GUID getGlobalID() throws java.io.IOException, AutomationException
getGlobalID
in interface IAssociationObject
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setGlobalID(GUID globalID) throws java.io.IOException, AutomationException
setGlobalID
in interface IAssociationObject
globalID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.