Package org.appng.xml.platform
Class DatasourceRef
- java.lang.Object
-
- org.appng.xml.BaseObject
-
- org.appng.xml.platform.DatasourceRef
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TestBase.DataSourceCall
public class DatasourceRef extends BaseObject implements Serializable
A reference to aDatasource
. It depends on theCondition
andPermissions
whether or not the referencedDatasource
is being included to the page.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatasourceRef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Condition
getCondition()
Gets the value of the condition property.String
getId()
The unique id of the referencedDatasource
.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.Integer
getPageSize()
The default page size for the datasourceParams
getParams()
Gets the value of the params property.Permissions
getPermissions()
Gets the value of the permissions property.void
setCondition(Condition value)
Sets the value of the condition property.void
setId(String value)
Sets the value of the id property.void
setMode(String value)
Sets the value of the mode property.void
setPageSize(Integer value)
Sets the value of the pageSize property.void
setParams(Params value)
Sets the value of the params property.void
setPermissions(Permissions value)
Sets the value of the permissions property.
-
-
-
Method Detail
-
getParams
public Params getParams()
Gets the value of the params property.- Returns:
- possible object is
Params
-
setParams
public void setParams(Params value)
Sets the value of the params property.- Parameters:
value
- allowed object isParams
-
getCondition
public Condition getCondition()
Gets the value of the condition property.- Returns:
- possible object is
Condition
-
setCondition
public void setCondition(Condition value)
Sets the value of the condition property.- Parameters:
value
- allowed object isCondition
-
getPermissions
public Permissions getPermissions()
Gets the value of the permissions property.- Returns:
- possible object is
Permissions
-
setPermissions
public void setPermissions(Permissions value)
Sets the value of the permissions property.- Parameters:
value
- allowed object isPermissions
-
getId
public String getId()
The unique id of the referencedDatasource
.- 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
-
getPageSize
public Integer getPageSize()
The default page size for the datasource- Returns:
- possible object is
Integer
-
-