public class AGSServerConnectionName extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IAGSServerConnectionName, IAGSServerConnectionName2, IName, IPersistStream, java.io.Externalizable
Description 'A name object for ArcGIS Server Connections.' 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 |
---|---|
static long |
serialVersionUID |
IID, IIDc65dc76b_b454_4b35_83ec_e9082b57a56f, xxDummy
IID298cce6a_4d86_40ee_8f4a_bebc419b9a4d
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
IID0000010c_0000_0000_c000_000000000046
Constructor and Description |
---|
AGSServerConnectionName()
Constructs a AGSServerConnectionName using ArcGIS Engine.
|
AGSServerConnectionName(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
AGSServerConnectionName theAGSServerConnectionName = (AGSServerConnectionName) obj; |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
IPropertySet |
getConnectionProperties()
The connection properties of the AGSServerConnectionName.
|
java.lang.String |
getConnectionString()
The connection properties of the GIS server connection.
|
int |
getConnectionType()
The type of the associated GIS server connection.
|
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.
|
java.lang.String |
getNameString()
The name string of the object.
|
java.lang.String |
getServerConnectionFactoryProgID()
The programmatic ID of the server connection factory.
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
int |
hashCode()
the hashcode for this object
|
void |
isDirty()
isDirty
|
void |
load(IStream pstm)
load
|
java.lang.Object |
open()
Opens the object referred to by this name.
|
void |
readExternal(java.io.ObjectInput in) |
void |
release()
Release this COM object reference
|
void |
save(IStream pstm,
int fClearDirty)
save
|
void |
setConnectionProperties(IPropertySet ppConnProps)
The connection properties of the AGSServerConnectionName.
|
void |
setConnectionString(java.lang.String connString)
The connection properties of the GIS server connection.
|
void |
setNameString(java.lang.String nameString)
The name string of the object.
|
void |
setServerConnectionFactoryProgID(java.lang.String progID)
The programmatic ID of the server connection factory.
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public AGSServerConnectionName() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic AGSServerConnectionName(java.lang.Object obj) throws java.io.IOException
AGSServerConnectionName theAGSServerConnectionName = (AGSServerConnectionName) obj;
obj
to AGSServerConnectionName
.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 void setConnectionProperties(IPropertySet ppConnProps) throws java.io.IOException, AutomationException
setConnectionProperties
in interface IAGSServerConnectionName
ppConnProps
- A reference to a com.esri.arcgis.system.IPropertySet (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IPropertySet getConnectionProperties() throws java.io.IOException, AutomationException
getConnectionProperties
in interface IAGSServerConnectionName
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getConnectionType() throws java.io.IOException, AutomationException
getConnectionType
in interface IAGSServerConnectionName
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getConnectionString() throws java.io.IOException, AutomationException
getConnectionString
in interface IAGSServerConnectionName2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setConnectionString(java.lang.String connString) throws java.io.IOException, AutomationException
setConnectionString
in interface IAGSServerConnectionName2
connString
- The connString (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getServerConnectionFactoryProgID() throws java.io.IOException, AutomationException
getServerConnectionFactoryProgID
in interface IAGSServerConnectionName2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setServerConnectionFactoryProgID(java.lang.String progID) throws java.io.IOException, AutomationException
setServerConnectionFactoryProgID
in interface IAGSServerConnectionName2
progID
- The progID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setNameString(java.lang.String nameString) throws java.io.IOException, AutomationException
The NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.
setNameString
in interface IName
nameString
- The nameString (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getNameString() throws java.io.IOException, AutomationException
The NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.
getNameString
in interface IName
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object open() throws java.io.IOException, AutomationException
The Open method lets you instantiate the actual object given the name object.
Note: Opening a feature class that participates in a topology or geometric network will also open all other feature classes participating in the topology or geometric network in memory.
IName pName = pFeatureClassName;
pFeatureClass = new IFeatureClassProxy(pName.open());
open
in interface IName
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException