@Relvars(relvarNames="VIRTUALRELVAR") public final class VirtualRelvar extends AbstractUpdatableDBObject
Constructor and Description |
---|
VirtualRelvar()
Creates an empty VirtualRelvar
|
VirtualRelvar(java.lang.String relvarName,
java.lang.String expressionText)
Creates the VirtualRelvar
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExpressionText()
Gets The expressionText
|
UpdatableDBObject |
getPreUpdateState()
Gets The state of the object as it was built by the J/R bridging engine immediately after the object was created from a database tuple (and which should have been set by/using the setPreUpdateState() method.
|
java.lang.String |
getRelvarName()
Gets The name for the virtual relvar
|
void |
setExpressionText(java.lang.String expression)
Sets The expression
|
void |
setExpressionText(ValueBuffer expressionText)
Sets The expression
|
void |
setPreUpdateState()
This method is called by the J/R bridging engine after an object has been setup from some tuple retrieved from the database.
|
void |
setRelvarName(java.lang.String relvarName)
Sets The name for the virtual relvar
|
void |
setRelvarName(ValueBuffer relvarName)
Sets The name for the virtual relvar
|
dbUpdateCommand, dbUpdateCommand, dbUpdateCommand
dbAddCommand, dbAddCommand, dbAddCommand, dbAddCommandAll, dbAssertCommand, dbAssertCommand, dbAssertCommand, dbAssertCommandAll, dbDeleteCommand, dbDeleteCommand, dbDeleteCommand, dbDeleteCommandAll, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommandAll
public VirtualRelvar()
@AttributeDef(attributeName="SP_EXPRESSION",requiresEscaping=true,typeName="STRING") @AttributeDef(attributeName="RELVARNAME",requiresEscaping=false,typeName="NAME") public VirtualRelvar(java.lang.String relvarName, java.lang.String expressionText)
relvarName
- The name for the virtual relvarexpressionText
- The expressionText@GetterMethod(attributeDefs=@AttributeDef(attributeName="SP_EXPRESSION",requiresEscaping=true,typeName="STRING"), relvarNames="VIRTUALRELVAR") public final java.lang.String getExpressionText()
public final UpdatableDBObject getPreUpdateState()
UpdatableDBObject
@GetterMethod(attributeDefs=@AttributeDef(attributeName="RELVARNAME",requiresEscaping=false,typeName="NAME"), relvarNames="VIRTUALRELVAR") public final java.lang.String getRelvarName()
public final void setExpressionText(java.lang.String expression)
expression
- The expression to set.@AttributeDef(attributeName="SP_EXPRESSION", requiresEscaping=true, typeName="STRING") public final void setExpressionText(ValueBuffer expressionText)
expressionText
- The expressionText to set.public final void setPreUpdateState()
UpdatableDBObject
public final void setRelvarName(java.lang.String relvarName)
relvarName
- The relvarName to set.@AttributeDef(attributeName="SP_EXPRESSION", requiresEscaping=true, typeName="STRING") public final void setRelvarName(ValueBuffer relvarName)
relvarName
- The relvarName to set.