org.wso2.carbon.dataservices.ui.beans

## Class Element

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

-     public class Element
      extends DataServiceConfigurationElement

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Element()`
    `Element(String dataSourceType, String dataSourceValue, String name, String requiredRoles, String xsdType, String export, String exportType, String namespace, String arrayName, String optional)`

  - ### 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
    `boolean` | `equals(Object o)`
    `String` | `getArrayName()`
    `String` | `getDataSourceType()`
    `String` | `getDataSourceValue()`
    `String` | `getExport()`
    `String` | `getExportType()`
    `String` | `getName()`
    `String` | `getNamespace()`
    `String` | `getOptional()`
    `int` | `hashCode()`
    `void` | `setArrayName(String arrayName)`
    `void` | `setDataSourceType(String dataSourceType)`
    `void` | `setDataSourceValue(String dataSourceValue)`
    `void` | `setExport(String export)`
    `void` | `setExportType(String exportType)`
    `void` | `setName(String name)`
    `void` | `setNamespace(String namespace)`
    `void` | `setOptional(String optional)`

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

      `extractAdvancedProps, getRequiredRoles, getXsdType, setRequiredRoles, setxsdType`

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

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

- - ### Constructor Detail

    - #### Element

          public Element(String dataSourceType,
                         String dataSourceValue,
                         String name,
                         String requiredRoles,
                         String xsdType,
                         String export,
                         String exportType,
                         String namespace,
                         String arrayName,
                         String optional)

    - #### Element

          public Element()

  - ### Method Detail

    - #### buildXML

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

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

    - #### getDataSourceType

          public String getDataSourceType()

    - #### setDataSourceType

          public void setDataSourceType(String dataSourceType)

    - #### getName

          public String getName()

    - #### setName

          public void setName(String name)

    - #### getDataSourceValue

          public String getDataSourceValue()

    - #### setDataSourceValue

          public void setDataSourceValue(String dataSourceValue)

    - #### getNamespace

          public String getNamespace()

    - #### setNamespace

          public void setNamespace(String namespace)

    - #### getExport

          public String getExport()

    - #### setExport

          public void setExport(String export)

    - #### getExportType

          public String getExportType()

    - #### setExportType

          public void setExportType(String exportType)

    - #### getArrayName

          public String getArrayName()

    - #### setArrayName

          public void setArrayName(String arrayName)

    - #### getOptional

          public String getOptional()

    - #### setOptional

          public void setOptional(String optional)

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

Copyright © 2019 WSO2. All rights reserved.