com.esri.arcgis.server
Class ServerObjectExtensionTypeInfo

java.lang.Object
  extended by com.esri.arcgis.server.ServerObjectExtensionTypeInfo
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IServerObjectExtensionTypeInfo, IServerObjectExtensionTypeInfo2, Serializable

public class ServerObjectExtensionTypeInfo
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IServerObjectExtensionTypeInfo, IServerObjectExtensionTypeInfo2

The ServerObjectExtensionTypeInfo object which provides information about server object extension types to users without administrative privileges to the ArcGIS server.

Remarks

The ServerObjectExtensionTypeInfo class gives users and developers who are not administrators access to the list of server object extension types and the set of their properties that are necessary for programming applications with them. You can get information about server object extension types using the GetExtensionTypeInfos method on IServerObjectManager2 to get the ServerObjectExtensionTypeInfos .

These objects support the IServerObjectExtensionTypeInfo interface which provides read–only access to a subset of the server object extension type's properties. These properties include:

Name: the name of the server object extension type (e.g., OGCWebService)

Description: the description of the server object extension type

Product Availability

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

See Also:
Serialized Form

Constructor Summary
ServerObjectExtensionTypeInfo(Object obj)
          Construct a ServerObjectExtensionTypeInfo using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 String getDescription()
          The description of the extension type.
 String getDisplayName()
          Display name of the server object extension type.
 String getName()
          The name of the extension type.
 int hashCode()
          the hashcode for this object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

ServerObjectExtensionTypeInfo

public ServerObjectExtensionTypeInfo(Object obj)
                              throws IOException
Construct a ServerObjectExtensionTypeInfo using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ServerObjectExtensionTypeInfo.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
ServerObjectExtensionTypeInfo o = (ServerObjectExtensionTypeInfo)obj; // will not work

ServerObjectExtensionTypeInfo o = new ServerObjectExtensionTypeInfo(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
IOException - if there are interop problems ServerObjectExtensionTypeInfo theServerObjectExtensionTypeInfo = (ServerObjectExtensionTypeInfo) obj;
Method Detail

equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getName

public String getName()
               throws IOException,
                      AutomationException
The name of the extension type.

Product Availability

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

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

getDescription

public String getDescription()
                      throws IOException,
                             AutomationException
The description of the extension type.

Product Availability

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

Specified by:
getDescription in interface IServerObjectExtensionTypeInfo
Returns:
The desc
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDisplayName

public String getDisplayName()
                      throws IOException,
                             AutomationException
Display name of the server object extension type.

Product Availability

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

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