setEmail {RDAVIDWebService} | R Documentation

## Accessor methods for `DAVIDWebService` class

### Description

Setter/getters for `DAVIDWebService` class fields.

### Usage

      setEmail(object, mail)

      ## S4 method for signature 'DAVIDWebService'
    setEmail(object, mail)

      ## S4 method for signature 'character'
    setEmail(mail)

      getEmail(object)

      ## S4 method for signature 'DAVIDWebService'
    getEmail(object)

      getStub(object)

      ## S4 method for signature 'DAVIDWebService'
    getStub(object)

### Arguments

`object` | DAVIDWebService class object.
`mail` | character with a registered e-mail account at DAVID's website.

### Details

Note that `DAVIDWebService` is a Reference class, hence invoke it using object_name$setter/getter(parameters). In addition, the user can use the S4 version style function call.

### Value

according to the call one of the following objects can be returned

`setEmail` | character with the given e-mail to set.
`getEmail` | character with the e-mail under use.
`getstub` | jobjRef object with the stub java object to interface with DAVID API.

### References

1. DAVID web http://david.abcc.ncifcrf.gov

2. DAVID API http://david.abcc.ncifcrf.gov/content.jsp?file=WS.html

### See Also

Other DAVIDWebService: `DAVIDWebService-class`, `addList`, `addList`, `connect`, `connect`, `getAllAnnotationCategoryNames`, `getAllAnnotationCategoryNames`, `getAnnotationSummary`, `getAnnotationSummary`, `getBackgroundListNames`, `getBackgroundListNames`, `getClusterReport`, `getClusterReport`, `getClusterReportFile`, `getClusterReportFile`, `getCurrentBackgroundListPosition`, `getCurrentBackgroundListPosition`, `getCurrentGeneListPosition`, `getCurrentGeneListPosition`, `getCurrentSpeciesPosition`, `getCurrentSpeciesPosition`, `getDefaultCategoryNames`, `getDefaultCategoryNames`, `getFunctionalAnnotationChart`, `getFunctionalAnnotationChart`, `getFunctionalAnnotationChartFile`, `getFunctionalAnnotationChartFile`, `getFunctionalAnnotationTable`, `getFunctionalAnnotationTable`, `getFunctionalAnnotationTableFile`, `getFunctionalAnnotationTableFile`, `getGeneCategoriesReport`, `getGeneCategoriesReport`, `getGeneListNames`, `getGeneListNames`, `getGeneListReport`, `getGeneListReport`, `getGeneListReportFile`, `getGeneListReportFile`, `getIdTypes`, `getIdTypes`, `getListName`, `getListName`, `getSpecieNames`, `getSpecieNames`, `is.connected`, `is.connected`, `setAnnotationCategories`, `setAnnotationCategories`, `setCurrentBackgroundPosition`, `setCurrentBackgroundPosition(position)`, `setCurrentGeneListPosition`, `setCurrentGeneListPosition`, `setCurrentSpecies`, `setCurrentSpecies`, `summary`, `summary`, `summary`, `summary`

### Examples

    {
    ##Create a DAVIDWebService object
    david<-DAVIDWebService$new()

    ##Invoke Reference class style function setter/getters
    david$setEmail("valid_mail@david.org")
    david$getEmail()
    stub<-david$getStub()

    ##Or the equivalent S4 style function call setter/getters
    setEmail(david, "valid_mail@david.org")
    getEmail(david)
    stub<-getStub(david)
    }

[Package RDAVIDWebService version 1.26.0 Index]