public class AGSServerObjectName extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IAGSServerObjectName, IAGSServerObjectName2, IAGSServerObjectName3, IName, IMetadata, IMetadataEdit, IPersistStream, java.io.Externalizable
Description 'A name object for ArcGIS Server Objects.' 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, IID4b815919_7659_4a55_8608_26eb7d6b24f2, xxDummy
IID2f311f9a_50f9_45d4_9553_d781a08445e8
IID436bd37c_fe61_4a2e_9d74_1ae6fc8d654d
IID, IID5de04a82_24e4_11d3_a641_0008c7d3ae50, xxDummy
IID, IID97fdb978_62a4_49c5_8252_b07837b33ee9, xxDummy
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
IID0000010c_0000_0000_c000_000000000046
Constructor and Description |
---|
AGSServerObjectName()
Constructs a AGSServerObjectName using ArcGIS Engine.
|
AGSServerObjectName(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
AGSServerObjectName theAGSServerObjectName = (AGSServerObjectName) obj; |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IAGSServerConnectionName |
getAGSServerConnectionName()
The connection name object for this server object.
|
java.lang.String |
getCapabilities()
The web capabilities of the service.
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
java.lang.String |
getDescription()
The name of the service.
|
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.
|
IPropertySet |
getMetadata()
The PropertySet containing metadata.
|
java.lang.String |
getName()
Name of the server object.
|
java.lang.String |
getNameString()
The name string of the object.
|
java.lang.String |
getNameString2()
The name string for the server object name.
|
java.lang.String |
getParentType()
The type of server object this server object extension is associated with.
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
java.lang.String |
getType()
Type of the server object (MapServer or GeocodeServer).
|
java.lang.String |
getURL()
Server object URL (if connection type is internet).
|
int |
hashCode()
the hashcode for this object
|
boolean |
isCanEditMetadata()
Indicates if metadata can be edited.
|
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 |
setAGSServerConnectionNameByRef(IAGSServerConnectionName ppServerConnName)
The connection name object for this server object.
|
void |
setCapabilities(java.lang.String caps)
The web capabilities of the service.
|
void |
setDescription(java.lang.String objectURL)
The name of the service.
|
void |
setMetadata(IPropertySet propertySet)
The PropertySet containing metadata.
|
void |
setName(java.lang.String objectName)
Name of the server object.
|
void |
setNameString(java.lang.String nameString)
The name string of the object.
|
void |
setNameString2(java.lang.String ns)
The name string for the server object name.
|
void |
setParentType(java.lang.String parentType)
The type of server object this server object extension is associated with.
|
void |
setType(java.lang.String objectType)
Type of the server object (MapServer or GeocodeServer).
|
void |
setURL(java.lang.String objectURL)
Server object URL (if connection type is internet).
|
void |
synchronize(int action,
int interval)
Updates metadata with the current properties; may create metadata if it doesn't already exist.
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public AGSServerObjectName() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic AGSServerObjectName(java.lang.Object obj) throws java.io.IOException
AGSServerObjectName theAGSServerObjectName = (AGSServerObjectName) obj;
obj
to AGSServerObjectName
.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 setName(java.lang.String objectName) throws java.io.IOException, AutomationException
setName
in interface IAGSServerObjectName
objectName
- The objectName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface IAGSServerObjectName
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setType(java.lang.String objectType) throws java.io.IOException, AutomationException
setType
in interface IAGSServerObjectName
objectType
- The objectType (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getType() throws java.io.IOException, AutomationException
getType
in interface IAGSServerObjectName
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setURL(java.lang.String objectURL) throws java.io.IOException, AutomationException
setURL
in interface IAGSServerObjectName
objectURL
- The objectURL (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getURL() throws java.io.IOException, AutomationException
getURL
in interface IAGSServerObjectName
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IAGSServerConnectionName getAGSServerConnectionName() throws java.io.IOException, AutomationException
getAGSServerConnectionName
in interface IAGSServerObjectName
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setAGSServerConnectionNameByRef(IAGSServerConnectionName ppServerConnName) throws java.io.IOException, AutomationException
setAGSServerConnectionNameByRef
in interface IAGSServerObjectName
ppServerConnName
- A reference to a com.esri.arcgis.gisclient.IAGSServerConnectionName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setNameString2(java.lang.String ns) throws java.io.IOException, AutomationException
setNameString2
in interface IAGSServerObjectName2
ns
- The ns (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getNameString2() throws java.io.IOException, AutomationException
getNameString2
in interface IAGSServerObjectName2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setParentType(java.lang.String parentType) throws java.io.IOException, AutomationException
setParentType
in interface IAGSServerObjectName2
parentType
- The parentType (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getParentType() throws java.io.IOException, AutomationException
getParentType
in interface IAGSServerObjectName2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setCapabilities(java.lang.String caps) throws java.io.IOException, AutomationException
setCapabilities
in interface IAGSServerObjectName2
caps
- The caps (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getCapabilities() throws java.io.IOException, AutomationException
getCapabilities
in interface IAGSServerObjectName2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDescription(java.lang.String objectURL) throws java.io.IOException, AutomationException
setDescription
in interface IAGSServerObjectName3
objectURL
- The objectURL (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDescription() throws java.io.IOException, AutomationException
getDescription
in interface IAGSServerObjectName3
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 IPropertySet getMetadata() throws java.io.IOException, AutomationException
getMetadata
in interface IMetadata
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setMetadata(IPropertySet propertySet) throws java.io.IOException, AutomationException
setMetadata
in interface IMetadata
propertySet
- 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 void synchronize(int action, int interval) throws java.io.IOException, AutomationException
synchronize
in interface IMetadata
action
- A com.esri.arcgis.geodatabase.esriMetadataSyncAction constant (in)interval
- The interval (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isCanEditMetadata() throws java.io.IOException, AutomationException
isCanEditMetadata
in interface IMetadataEdit
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