@Relvars(relvarNames="ASSIGNMENTCONSTRAINTCHECK") public final class AssignmentConstraintCheck extends AbstractUpdatableDBObject
Constructor and Description |
---|
AssignmentConstraintCheck()
Creates the AssignmentConstraintCheck
|
AssignmentConstraintCheck(java.lang.String relvarName,
int operationType,
long errorCode)
Creates the AssignmentConstraintCheck
|
Modifier and Type | Method and Description |
---|---|
long |
getErrorCode()
Gets errorCode
|
int |
getOperationType()
Gets operationType
|
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 relvarName
|
void |
setErrorCode(long errorCode)
Sets errorCode
|
void |
setErrorCode(ValueBuffer errorCode)
Sets errorCode
|
void |
setOperationType(int operationType)
Sets operationType
|
void |
setOperationType(ValueBuffer operationType)
Sets operationType
|
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 relvarName
|
void |
setRelvarName(ValueBuffer relvarName)
Sets relvarName
|
dbUpdateCommand, dbUpdateCommand, dbUpdateCommand
dbAddCommand, dbAddCommand, dbAddCommand, dbAddCommandAll, dbAssertCommand, dbAssertCommand, dbAssertCommand, dbAssertCommandAll, dbDeleteCommand, dbDeleteCommand, dbDeleteCommand, dbDeleteCommandAll, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommandAll
public AssignmentConstraintCheck()
public AssignmentConstraintCheck(java.lang.String relvarName, int operationType, long errorCode)
relvarName
- the name of the relvar for which the involved constraint is to be checkedoperationType
- the operation type (1=DELETE, 2=INSERT) for which a check of the involved constraint is to be performederrorCode
- the identifying number of the involved constraint@GetterMethod(attributeDefs=@AttributeDef(attributeName="ERRORCODE",requiresEscaping=false,typeName="LONG"), relvarNames="ASSIGNMENTCONSTRAINTCHECK") public final long getErrorCode()
@GetterMethod(attributeDefs=@AttributeDef(attributeName="OPERATIONTYPE",requiresEscaping=false,typeName="INT"), relvarNames="ASSIGNMENTCONSTRAINTCHECK") public final int getOperationType()
public final UpdatableDBObject getPreUpdateState()
UpdatableDBObject
@GetterMethod(attributeDefs=@AttributeDef(attributeName="RELVARNAME",requiresEscaping=false,typeName="NAME"), relvarNames="ASSIGNMENTCONSTRAINTCHECK") 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 operationType to set.@AttributeDef(attributeName="OPERATIONTYPE", requiresEscaping=false, typeName="INT") public final void setOperationType(ValueBuffer operationType)
operationType
- The operationType to set.public final void setPreUpdateState()
UpdatableDBObject
public final void setRelvarName(java.lang.String relvarName)
relvarName
- The relvarName to set.@AttributeDef(attributeName="RELVARNAME", requiresEscaping=false, typeName="NAME") public final void setRelvarName(ValueBuffer relvarName)
relvarName
- The relvarName to set.