com.esri.arcgis.server
Class Role

java.lang.Object
  extended by com.esri.arcgis.server.Role
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IRole, ISupportErrorInfo, java.io.Serializable

public class Role
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, IRole

COM Class 'Role'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriServer.olb'

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
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Fields inherited from interface com.esri.arcgis.server.IRole
IID, IIDca90af27_e384_4e25_9f75_0b33f8f6148b, xxDummy
 
Constructor Summary
Role()
          Constructs a Role using ArcGIS Engine.
Role(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
Role theRole = (Role) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 java.lang.String getDescription()
          Returns the role description.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getRolename()
          Returns the role name.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void release()
          Release a Role.
 void setDescription(java.lang.String description)
          Sets the role description.
 void setRolename(java.lang.String rolename)
          Sets the role name.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Role

public Role()
     throws java.io.IOException,
            java.net.UnknownHostException
Constructs a Role using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

Role

public Role(java.lang.Object obj)
     throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
Role theRole = (Role) obj;

Construct a Role using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to Role.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a Role.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRolename

public void setRolename(java.lang.String rolename)
                 throws java.io.IOException,
                        AutomationException
Sets the role name.

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

getRolename

public java.lang.String getRolename()
                             throws java.io.IOException,
                                    AutomationException
Returns the role name.

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

setDescription

public void setDescription(java.lang.String description)
                    throws java.io.IOException,
                           AutomationException
Sets the role description.

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

getDescription

public java.lang.String getDescription()
                                throws java.io.IOException,
                                       AutomationException
Returns the role description.

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