be.SIRAPRISE.client.jsba
Class AssignmentConstraintCheck

java.lang.Object
  extended by be.SIRAPRISE.client.jsba.AbstractDBObject
      extended by be.SIRAPRISE.client.jsba.AbstractUpdatableDBObject
          extended by be.SIRAPRISE.client.jsba.AssignmentConstraintCheck
All Implemented Interfaces:
AssignmentconstraintcheckToDBObject, DBObject, DBObjectToAssignmentconstraintcheck, UpdatableDBObject

public final class AssignmentConstraintCheck
extends AbstractUpdatableDBObject
implements AssignmentconstraintcheckToDBObject, DBObjectToAssignmentconstraintcheck

Author:
Erwin

Constructor Summary
AssignmentConstraintCheck()
          Creates the AssignmentConstraintCheck
AssignmentConstraintCheck(java.lang.String relvarName, int operationType, long errorCode)
          Creates the AssignmentConstraintCheck
 
Method Summary
 java.lang.String getAssignmentconstraintcheckErrorcode()
          Gets the errorcode for assignmentconstraintcheck
 java.lang.String getAssignmentconstraintcheckOperationtype()
          Gets the operationtype for assignmentconstraintcheck
 java.lang.String getAssignmentconstraintcheckRelvarname()
          Gets the relvarname for assignmentconstraintcheck
 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 setErrorcodeFromDB(java.lang.String errorcode)
          Sets errorcode from the DB
 void setOperationType(int operationType)
          Sets operationType
 void setOperationtypeFromDB(java.lang.String operationtype)
          Sets operationtype from the DB
 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 setRelvarnameFromDB(java.lang.String relvarname)
          Sets relvarname from the DB
 
Methods inherited from class be.SIRAPRISE.client.jsba.AbstractUpdatableDBObject
dbUpdateCommand, dbUpdateCommand
 
Methods inherited from class be.SIRAPRISE.client.jsba.AbstractDBObject
dbAddCommand, dbAddCommand, dbAddCommand, dbAddCommandAll, dbAssertCommand, dbAssertCommand, dbAssertCommand, dbAssertCommandAll, dbDeleteCommand, dbDeleteCommand, dbDeleteCommand, dbDeleteCommandAll, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommandAll
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssignmentConstraintCheck

public AssignmentConstraintCheck()
Creates the AssignmentConstraintCheck


AssignmentConstraintCheck

public AssignmentConstraintCheck(java.lang.String relvarName,
                                 int operationType,
                                 long errorCode)
Creates the AssignmentConstraintCheck

Parameters:
relvarName -
operationType -
errorCode -
Method Detail

getAssignmentconstraintcheckErrorcode

public java.lang.String getAssignmentconstraintcheckErrorcode()
Description copied from interface: DBObjectToAssignmentconstraintcheck
Gets the errorcode for assignmentconstraintcheck

Specified by:
getAssignmentconstraintcheckErrorcode in interface DBObjectToAssignmentconstraintcheck
Returns:
The errorcode for assignmentconstraintcheck

getAssignmentconstraintcheckOperationtype

public java.lang.String getAssignmentconstraintcheckOperationtype()
Description copied from interface: DBObjectToAssignmentconstraintcheck
Gets the operationtype for assignmentconstraintcheck

Specified by:
getAssignmentconstraintcheckOperationtype in interface DBObjectToAssignmentconstraintcheck
Returns:
The operationtype for assignmentconstraintcheck

getAssignmentconstraintcheckRelvarname

public java.lang.String getAssignmentconstraintcheckRelvarname()
Description copied from interface: DBObjectToAssignmentconstraintcheck
Gets the relvarname for assignmentconstraintcheck

Specified by:
getAssignmentconstraintcheckRelvarname in interface DBObjectToAssignmentconstraintcheck
Returns:
The relvarname for assignmentconstraintcheck

getErrorCode

public final long getErrorCode()
Gets errorCode

Returns:
errorCode.

getOperationType

public final int getOperationType()
Gets operationType

Returns:
operationType.

getPreUpdateState

public UpdatableDBObject getPreUpdateState()
Description copied from interface: UpdatableDBObject
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.

Specified by:
getPreUpdateState in interface UpdatableDBObject
Returns:
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.

getRelvarName

public final java.lang.String getRelvarName()
Gets relvarName

Returns:
relvarName.

setErrorCode

public final void setErrorCode(long errorCode)
Sets errorCode

Parameters:
errorCode - The errorCode to set.

setErrorcodeFromDB

public void setErrorcodeFromDB(java.lang.String errorcode)
Description copied from interface: AssignmentconstraintcheckToDBObject
Sets errorcode from the DB

Specified by:
setErrorcodeFromDB in interface AssignmentconstraintcheckToDBObject
Parameters:
errorcode - The DB value for errorcode

setOperationType

public final void setOperationType(int operationType)
Sets operationType

Parameters:
operationType - The operationType to set.

setOperationtypeFromDB

public void setOperationtypeFromDB(java.lang.String operationtype)
Description copied from interface: AssignmentconstraintcheckToDBObject
Sets operationtype from the DB

Specified by:
setOperationtypeFromDB in interface AssignmentconstraintcheckToDBObject
Parameters:
operationtype - The DB value for operationtype

setPreUpdateState

public void setPreUpdateState()
Description copied from interface: UpdatableDBObject
This method is called by the J/R bridging engine after an object has been setup from some tuple retrieved from the database. The method must cause the object to save a copy (/clone) of all the fields that are pertinent to the database. This copy will be retrieved by the J/R bridging engine using the getPreUpdateState() method call, and will subsequently be used by the J/R bridging engine to determine which fields have changed value, and thus to determine which attributes need to be updated in the database.

Specified by:
setPreUpdateState in interface UpdatableDBObject

setRelvarName

public final void setRelvarName(java.lang.String relvarName)
Sets relvarName

Parameters:
relvarName - The relvarName to set.

setRelvarnameFromDB

public void setRelvarnameFromDB(java.lang.String relvarname)
Description copied from interface: AssignmentconstraintcheckToDBObject
Sets relvarname from the DB

Specified by:
setRelvarnameFromDB in interface AssignmentconstraintcheckToDBObject
Parameters:
relvarname - The DB value for relvarname