public class DDBSCommand
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DDBSCommand() |
Modifier and Type | Method and Description |
---|---|
DDBSAction |
getAction()
Get the action of a command
|
java.lang.String |
getConditionQueryString()
Get the condition query string : listAll command only
|
Conditions |
getConditions()
Get the conditions of a query : listAll command only
|
DDBSTransaction |
getDDBSTransaction()
Get the transaction to execute inside a transaction
|
Peer |
getDestination()
Get the destination of a command
|
java.lang.String |
getFieldToLoad()
Get the field to load : loadArray command only
|
java.lang.Boolean |
getIsAutocommit()
Indicates if is using auto commit transaction
|
IEntity |
getObject()
Get the object of a command
|
OrderBy |
getOrderBy()
Get the order by value : listAll and loadArray command only
|
void |
setAction(DDBSAction action)
Set the action of a command
|
void |
setConditionQueryString(java.lang.String conditionQueryString)
Set the conditions query string of a command : listAll command only
|
void |
setConditions(Conditions conditions)
Set the conditions of a query : listAll command only
|
void |
setDDBSTransaction(DDBSTransaction ddbsTransaction)
Set the transaction to execute inside a transaction
|
void |
setDestination(Peer destination)
Set the destination of a command
|
void |
setFieldToLoad(java.lang.String fieldToLoad)
Set the field to load : loadArray command only
|
void |
setIsAutocommit(java.lang.Boolean isAutocommit)
Indicates if it has to use auto commit transaction
|
void |
setObject(IEntity object)
Set the object of a command
|
void |
setOrderBy(OrderBy orderBy)
Set the order by value : listAll and loadArray command only
|
java.lang.String |
toString() |
public DDBSAction getAction()
public void setAction(DDBSAction action)
action
- Action of a commandpublic IEntity getObject()
public void setObject(IEntity object)
object
- Object of a commandpublic java.lang.String getConditionQueryString()
public void setConditionQueryString(java.lang.String conditionQueryString)
conditionQueryString
- Condition query stringpublic Conditions getConditions()
public void setConditions(Conditions conditions)
conditions
- Query condition of the commandpublic OrderBy getOrderBy()
public void setOrderBy(OrderBy orderBy)
orderBy
- Order by valuepublic Peer getDestination()
public void setDestination(Peer destination)
destination
- Destination of a commandpublic java.lang.String getFieldToLoad()
public void setFieldToLoad(java.lang.String fieldToLoad)
fieldToLoad
- Field to loadpublic DDBSTransaction getDDBSTransaction()
public void setDDBSTransaction(DDBSTransaction ddbsTransaction)
ddbsTransaction
- DDBS Toolkit transactionpublic java.lang.Boolean getIsAutocommit()
public void setIsAutocommit(java.lang.Boolean isAutocommit)
isAutocommit
- Boolean indicating if is using autocommit transactionpublic java.lang.String toString()
toString
in class java.lang.Object