Class DatasourceType

java.lang.Object
slash.navigation.datasources.binding.DatasourceType

public class DatasourceType extends Object
a datasource contains an id, a name, and optionally a href, a base url, a directory, an optional source for scan and mirror automation, files, themes and maps

Java class for datasourceType complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="datasourceType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="source" type="{http://api.routeconverter.com/v1/schemas/datasource-catalog}sourceType" minOccurs="0"/>
         <element name="file" type="{http://api.routeconverter.com/v1/schemas/datasource-catalog}fileType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="map" type="{http://api.routeconverter.com/v1/schemas/datasource-catalog}mapType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="theme" type="{http://api.routeconverter.com/v1/schemas/datasource-catalog}themeType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="baseUrl" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="directory" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="action" type="{http://api.routeconverter.com/v1/schemas/datasource-catalog}actionType" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • DatasourceType

      public DatasourceType()
  • Method Details

    • getSource

      public SourceType getSource()
      Gets the value of the source property.
      Returns:
      possible object is SourceType
    • setSource

      public void setSource(SourceType value)
      Sets the value of the source property.
      Parameters:
      value - allowed object is SourceType
    • getFile

      public List<FileType> getFile()
      Gets the value of the file property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore, any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the file property.

      For example, to add a new item, do as follows:

       getFile().add(newItem);
       

      Objects of the following type(s) are allowed in the list FileType

      Returns:
      The value of the file property.
    • getMap

      public List<MapType> getMap()
      Gets the value of the map property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore, any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the map property.

      For example, to add a new item, do as follows:

       getMap().add(newItem);
       

      Objects of the following type(s) are allowed in the list MapType

      Returns:
      The value of the map property.
    • getTheme

      public List<ThemeType> getTheme()
      Gets the value of the theme property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore, any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the theme property.

      For example, to add a new item, do as follows:

       getTheme().add(newItem);
       

      Objects of the following type(s) are allowed in the list ThemeType

      Returns:
      The value of the theme property.
    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • getHref

      public String getHref()
      Gets the value of the href property.
      Returns:
      possible object is String
    • setHref

      public void setHref(String value)
      Sets the value of the href property.
      Parameters:
      value - allowed object is String
    • getBaseUrl

      public String getBaseUrl()
      Gets the value of the baseUrl property.
      Returns:
      possible object is String
    • setBaseUrl

      public void setBaseUrl(String value)
      Sets the value of the baseUrl property.
      Parameters:
      value - allowed object is String
    • getDirectory

      public String getDirectory()
      Gets the value of the directory property.
      Returns:
      possible object is String
    • setDirectory

      public void setDirectory(String value)
      Sets the value of the directory property.
      Parameters:
      value - allowed object is String
    • getAction

      public ActionType getAction()
      Gets the value of the action property.
      Returns:
      possible object is ActionType
    • setAction

      public void setAction(ActionType value)
      Sets the value of the action property.
      Parameters:
      value - allowed object is ActionType