@Relvars(relvarNames="DATABASECONSTRAINTCHECK") public final class DatabaseConstraintCheck extends AbstractUpdatableDBObject
Constructor and Description |
---|
DatabaseConstraintCheck()
Creates the DatabaseConstraint
|
DatabaseConstraintCheck(long errorCode,
java.lang.String constraintExpressionText,
int operationType)
Creates the DatabaseConstraint
|
Modifier and Type | Method and Description |
---|---|
long |
getErrorCode()
Gets errorCode
|
int |
getOperationType()
Gets label
|
DatabaseConstraintCheck |
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 expression
|
void |
setErrorCode(long errorCode)
Sets errorCode
|
void |
setErrorCode(ValueBuffer errorCode)
Sets errorCode
|
void |
setOperationType(int operationType)
Sets label
|
void |
setOperationType(ValueBuffer operationType)
Sets label
|
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 expression
|
void |
setRelvarName(ValueBuffer relvarName)
Sets expression
|
dbUpdateCommand, dbUpdateCommand, dbUpdateCommand
dbAddCommand, dbAddCommand, dbAddCommand, dbAddCommandAll, dbAssertCommand, dbAssertCommand, dbAssertCommand, dbAssertCommandAll, dbDeleteCommand, dbDeleteCommand, dbDeleteCommand, dbDeleteCommandAll, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommandAll
public DatabaseConstraintCheck()
public DatabaseConstraintCheck(long errorCode, java.lang.String constraintExpressionText, int operationType)
errorCode
- -constraintExpressionText
- -operationType
- -@GetterMethod(attributeDefs=@AttributeDef(attributeName="ERRORCODE",requiresEscaping=false,typeName="LONG"), relvarNames="DATABASECONSTRAINT") public final long getErrorCode()
@GetterMethod(attributeDefs=@AttributeDef(attributeName="OPERATIONTYPE",requiresEscaping=false,typeName="INT"), relvarNames="DATABASECONSTRAINTCHECK") public final int getOperationType()
public DatabaseConstraintCheck getPreUpdateState()
UpdatableDBObject
@GetterMethod(attributeDefs=@AttributeDef(attributeName="RELVARNAME",requiresEscaping=false,typeName="NAME"), relvarNames="DATABASECONSTRAINTCHECK") public final java.lang.String getRelvarName()
public final void setErrorCode(long errorCode)
errorCode
- The errorCode to set.@AttributeDef(attributeName="ERRORCODE", requiresEscaping=false, typeName="LONG") public final void setErrorCode(ValueBuffer errorCode)
errorCode
- The errorCode to set.public final void setOperationType(int operationType)
operationType
- The label to set.@AttributeDef(attributeName="OPERATIONTYPE", requiresEscaping=false, typeName="INT") public final void setOperationType(ValueBuffer operationType)
operationType
- The label to set.public final void setPreUpdateState()
UpdatableDBObject
public final void setRelvarName(java.lang.String relvarName)
relvarName
- The expression to set.@AttributeDef(attributeName="RELVARNAME", requiresEscaping=false, typeName="NAME") public final void setRelvarName(ValueBuffer relvarName)
relvarName
- The expression to set.