org.wso2.carbon.dataservices.ui.beans

## Class Resource

- java.lang.Object
- - org.wso2.carbon.dataservices.ui.beans.DataServiceConfigurationElement
  - - org.wso2.carbon.dataservices.ui.beans.CallableRequest
    - - org.wso2.carbon.dataservices.ui.beans.Resource

-     public class Resource
      extends CallableRequest

  Represents, + || .. element.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Resource()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.apache.axiom.om.OMElement` | `buildXML()` Generates XML representation of Object
    `String` | `getMethod()`
    `String` | `getPath()`
    `void` | `setMethod(String method)`
    `void` | `setPath(String path)`

    - ### Methods inherited from class org.wso2.carbon.dataservices.ui.beans.CallableRequest

      `getCallQuery, getCallQueryGroup, getDescription, isDisableStreaming, isReturnRequestStatus, populateGenericRequestProps, setCallQuery, setCallQueryGroup, setDescription, setDisableStreaming, setReturnRequestStatus`

    - ### Methods inherited from class org.wso2.carbon.dataservices.ui.beans.DataServiceConfigurationElement

      `extractAdvancedProps, getRequiredRoles, getXsdType, setRequiredRoles, setxsdType`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Resource

          public Resource()

  - ### Method Detail

    - #### getPath

          public String getPath()

    - #### setPath

          public void setPath(String path)

    - #### getMethod

          public String getMethod()

    - #### setMethod

          public void setMethod(String method)

    - #### buildXML

          public org.apache.axiom.om.OMElement buildXML()

      Description copied from class: `DataServiceConfigurationElement`
      Generates XML representation of Object
      Specified by:
        `buildXML` in class `CallableRequest`
      Returns:
        OMElement

Copyright © 2019 WSO2. All rights reserved.