public class CoRESTResource extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IRESTResource
Description 'IRESTResource coclass' 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, IIDb5561ea3_2950_4e21_9e4f_b1003b2a1baf, xxDummy| Constructor and Description |
|---|
CoRESTResource()
Constructs a CoRESTResource using ArcGIS Engine.
|
CoRESTResource(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
CoRESTResource theCoRESTResource = (CoRESTResource) obj; |
| Modifier and Type | Method and Description |
|---|---|
void |
addOperation(IRESTOperation o)
Adds child operation.
|
void |
addResource(IRESTResource r)
Adds child resource.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IRESTOperation |
findChildOperation(java.lang.String name)
Finds child operation, non-recursive.
|
IRESTResource |
findChildResource(java.lang.String name)
Finds child resource, non-recursive.
|
static java.lang.String |
getClsid()
getClsid.
|
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 |
getName()
Resource name.
|
IEnumRESTOperation |
getOperations()
Returns enumerator for operations.
|
java.lang.String |
getRequiredCapability()
Required capability for the resource.
|
IEnumRESTResource |
getResources()
Returns enumerator for immediate child resources.
|
int |
hashCode()
the hashcode for this object
|
boolean |
isCollection()
Specifies collection resource.
|
boolean |
isDefaultCollection()
Specifies 'default' collection resource that can be accessed without explicitly using its name in the URL.
|
boolean |
isStatic()
This flag marks resources that do not change over time.
|
boolean |
isSupportsETag()
This flag is only for a root level resource.
|
void |
release()
Release this COM object reference
|
void |
setIsCollection(boolean value)
Specifies collection resource.
|
void |
setIsDefaultCollection(boolean value)
Specifies 'default' collection resource that can be accessed without explicitly using its name in the URL.
|
void |
setIsStatic(boolean value)
This flag marks resources that do not change over time.
|
void |
setName(java.lang.String name)
Resource name.
|
void |
setRequiredCapability(java.lang.String capability)
Required capability for the resource.
|
void |
setSupportsETag(boolean value)
This flag is only for a root level resource.
|
IJSONObject |
toJSONObject()
Converts resource object to JSON representation.
|
public CoRESTResource()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic CoRESTResource(java.lang.Object obj)
throws java.io.IOException
CoRESTResource theCoRESTResource = (CoRESTResource) obj;obj to CoRESTResource.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.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic java.lang.String getName()
throws java.io.IOException,
AutomationException
getName in interface IRESTResourcejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isCollection()
throws java.io.IOException,
AutomationException
isCollection in interface IRESTResourcejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isDefaultCollection()
throws java.io.IOException,
AutomationException
isDefaultCollection in interface IRESTResourcejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isStatic()
throws java.io.IOException,
AutomationException
isStatic in interface IRESTResourcejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isSupportsETag()
throws java.io.IOException,
AutomationException
isSupportsETag in interface IRESTResourcejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getRequiredCapability()
throws java.io.IOException,
AutomationException
getRequiredCapability in interface IRESTResourcejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setName(java.lang.String name)
throws java.io.IOException,
AutomationException
setName in interface IRESTResourcename - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setIsCollection(boolean value)
throws java.io.IOException,
AutomationException
setIsCollection in interface IRESTResourcevalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setIsDefaultCollection(boolean value)
throws java.io.IOException,
AutomationException
setIsDefaultCollection in interface IRESTResourcevalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setIsStatic(boolean value)
throws java.io.IOException,
AutomationException
setIsStatic in interface IRESTResourcevalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setSupportsETag(boolean value)
throws java.io.IOException,
AutomationException
setSupportsETag in interface IRESTResourcevalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setRequiredCapability(java.lang.String capability)
throws java.io.IOException,
AutomationException
setRequiredCapability in interface IRESTResourcecapability - The capability (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IJSONObject toJSONObject() throws java.io.IOException, AutomationException
toJSONObject in interface IRESTResourcejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addResource(IRESTResource r) throws java.io.IOException, AutomationException
addResource in interface IRESTResourcer - A reference to a com.esri.arcgis.system.IRESTResource (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addOperation(IRESTOperation o) throws java.io.IOException, AutomationException
addOperation in interface IRESTResourceo - A reference to a com.esri.arcgis.system.IRESTOperation (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRESTResource findChildResource(java.lang.String name) throws java.io.IOException, AutomationException
findChildResource in interface IRESTResourcename - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRESTOperation findChildOperation(java.lang.String name) throws java.io.IOException, AutomationException
findChildOperation in interface IRESTResourcename - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumRESTResource getResources() throws java.io.IOException, AutomationException
getResources in interface IRESTResourcejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumRESTOperation getOperations() throws java.io.IOException, AutomationException
getOperations in interface IRESTResourcejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.