|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.system.CoRESTResource
public class CoRESTResource
IRESTResource coclass
Constructor Summary | |
---|---|
CoRESTResource()
Constructs a CoRESTResource using ArcGIS Engine. |
|
CoRESTResource(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. CoRESTResource theCoRESTResource = (CoRESTResource) obj; |
Method Summary | |
---|---|
void |
addOperation(IRESTOperation o)
Adds child operation. |
void |
addResource(IRESTResource r)
Adds child resource. |
boolean |
equals(Object o)
Compare this object with another |
IRESTOperation |
findChildOperation(String name)
Finds child operation, non-recursive. |
IRESTResource |
findChildResource(String name)
Finds child resource, non-recursive. |
static String |
getClsid()
getClsid. |
String |
getName()
Resource name. |
IEnumRESTOperation |
getOperations()
Returns enumerator for operations. |
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 |
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(String name)
Resource name. |
void |
setRequiredCapability(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. |
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 |
---|
public CoRESTResource() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic CoRESTResource(Object obj) throws IOException
CoRESTResource theCoRESTResource = (CoRESTResource) obj;
obj
to CoRESTResource
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getName() throws IOException, AutomationException
getName
in interface IRESTResource
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCollection() throws IOException, AutomationException
isCollection
in interface IRESTResource
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isDefaultCollection() throws IOException, AutomationException
isDefaultCollection
in interface IRESTResource
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isStatic() throws IOException, AutomationException
isStatic
in interface IRESTResource
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSupportsETag() throws IOException, AutomationException
isSupportsETag
in interface IRESTResource
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getRequiredCapability() throws IOException, AutomationException
getRequiredCapability
in interface IRESTResource
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(String name) throws IOException, AutomationException
setName
in interface IRESTResource
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIsCollection(boolean value) throws IOException, AutomationException
setIsCollection
in interface IRESTResource
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIsDefaultCollection(boolean value) throws IOException, AutomationException
setIsDefaultCollection
in interface IRESTResource
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIsStatic(boolean value) throws IOException, AutomationException
setIsStatic
in interface IRESTResource
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSupportsETag(boolean value) throws IOException, AutomationException
setSupportsETag
in interface IRESTResource
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRequiredCapability(String capability) throws IOException, AutomationException
setRequiredCapability
in interface IRESTResource
capability
- The capability (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IJSONObject toJSONObject() throws IOException, AutomationException
toJSONObject
in interface IRESTResource
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addResource(IRESTResource r) throws IOException, AutomationException
addResource
in interface IRESTResource
r
- A reference to a com.esri.arcgis.system.IRESTResource (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addOperation(IRESTOperation o) throws IOException, AutomationException
addOperation
in interface IRESTResource
o
- A reference to a com.esri.arcgis.system.IRESTOperation (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRESTResource findChildResource(String name) throws IOException, AutomationException
findChildResource
in interface IRESTResource
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRESTOperation findChildOperation(String name) throws IOException, AutomationException
findChildOperation
in interface IRESTResource
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumRESTResource getResources() throws IOException, AutomationException
getResources
in interface IRESTResource
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumRESTOperation getOperations() throws IOException, AutomationException
getOperations
in interface IRESTResource
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |