Package org.appng.xml.platform
Class Datasource
- java.lang.Object
-
- org.appng.xml.BaseObject
-
- org.appng.xml.platform.Datasource
-
- All Implemented Interfaces:
Serializable
public class Datasource extends BaseObject implements Serializable
Provides some data by implementing theorg.appng.api.DataProvider
interface.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Datasource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Bean
getBean()
Gets the value of the bean property.DataConfig
getConfig()
Gets the value of the config property.Data
getData()
Gets the value of the data property.String
getId()
The globally unique id of this datasource.Messages
getMessages()
Gets the value of the messages property.String
getMode()
If the appNG-template or the application's custom templating supports some custom display mode(s), the mode can be used to control this custom behavior.String
getSource()
The fully qualified class name of the underlying bean.void
setBean(Bean value)
Sets the value of the bean property.void
setConfig(DataConfig value)
Sets the value of the config property.void
setData(Data value)
Sets the value of the data property.void
setId(String value)
Sets the value of the id property.void
setMessages(Messages value)
Sets the value of the messages property.void
setMode(String value)
Sets the value of the mode property.void
setSource(String value)
Sets the value of the source property.
-
-
-
Method Detail
-
getConfig
public DataConfig getConfig()
Gets the value of the config property.- Returns:
- possible object is
DataConfig
-
setConfig
public void setConfig(DataConfig value)
Sets the value of the config property.- Parameters:
value
- allowed object isDataConfig
-
getMessages
public Messages getMessages()
Gets the value of the messages property.- Returns:
- possible object is
Messages
-
setMessages
public void setMessages(Messages value)
Sets the value of the messages property.- Parameters:
value
- allowed object isMessages
-
setBean
public void setBean(Bean value)
Sets the value of the bean property.- Parameters:
value
- allowed object isBean
-
setData
public void setData(Data value)
Sets the value of the data property.- Parameters:
value
- allowed object isData
-
getId
public String getId()
The globally unique id of this datasource.- Returns:
- possible object is
String
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
getMode
public String getMode()
If the appNG-template or the application's custom templating supports some custom display mode(s), the mode can be used to control this custom behavior.- Returns:
- possible object is
String
-
setMode
public void setMode(String value)
Sets the value of the mode property.- Parameters:
value
- allowed object isString
-
getSource
public String getSource()
The fully qualified class name of the underlying bean.- Returns:
- possible object is
String
-
-