be.SIRAPRISE.client.jsba
Class TransactionConstraint

java.lang.Object
  extended by be.SIRAPRISE.client.jsba.AbstractDBObject
      extended by be.SIRAPRISE.client.jsba.AbstractUpdatableDBObject
          extended by be.SIRAPRISE.client.jsba.TransactionConstraint
All Implemented Interfaces:
ConstraintmessagetextToDBObject, DBObject, DBObjectToConstraintmessagetext, DBObjectToTransactionconstraint, TransactionconstraintToDBObject, UpdatableDBObject

Deprecated.

@Deprecated
public final class TransactionConstraint
extends AbstractUpdatableDBObject
implements TransactionconstraintToDBObject, DBObjectToTransactionconstraint, ConstraintmessagetextToDBObject, DBObjectToConstraintmessagetext

Author:
Erwin

Constructor Summary
TransactionConstraint()
          Deprecated. Creates the TransactionConstraint
TransactionConstraint(java.lang.String relvarName, int operationType, long errorCode, java.lang.String expression, java.lang.String label, java.lang.String messageText)
          Deprecated. Creates the TransactionConstraint
 
Method Summary
 java.lang.String getConstraintmessagetextConstraintmessagetext()
          Deprecated. Gets the constraintmessagetext for constraintmessagetext
 java.lang.String getConstraintmessagetextErrorcode()
          Deprecated. Gets the errorcode for constraintmessagetext
 long getErrorCode()
          Deprecated. Gets errorCode
 java.lang.String getExpression()
          Deprecated. Gets expression
 java.lang.String getLabel()
          Deprecated. Gets label
 java.lang.String getMessageText()
          Deprecated. Gets messageText
 int getOperationType()
          Deprecated. Gets operationType
 UpdatableDBObject getPreUpdateState()
          Deprecated. 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()
          Deprecated. Gets relvarName
 java.lang.String getTransactionconstraintConstraintexpression()
          Deprecated. Gets the constraintexpression for transactionconstraint
 java.lang.String getTransactionconstraintConstraintlabel()
          Deprecated. Gets the constraintlabel for transactionconstraint
 java.lang.String getTransactionconstraintErrorcode()
          Deprecated. Gets the errorcode for transactionconstraint
 java.lang.String getTransactionconstraintOperationtype()
          Deprecated. Gets the operationtype for transactionconstraint
 java.lang.String getTransactionconstraintRelvarname()
          Deprecated. Gets the relvarname for transactionconstraint
 void setConstraintexpressionFromDB(java.lang.String constraintexpression)
          Deprecated. Sets constraintexpression from the DB
 void setConstraintlabelFromDB(java.lang.String constraintlabel)
          Deprecated. Sets constraintlabel from the DB
 void setConstraintmessagetextFromDB(java.lang.String constraintmessagetext)
          Deprecated. Sets constraintmessagetext from the DB
 void setErrorCode(long errorCode)
          Deprecated. Sets errorCode
 void setErrorcodeFromDB(java.lang.String errorcode)
          Deprecated. Sets errorcode from the DB
 void setExpression(java.lang.String expression)
          Deprecated. Sets expression
 void setLabel(java.lang.String label)
          Deprecated. Sets label
 void setMessageText(java.lang.String messageText)
          Deprecated. Sets messageText
 void setOperationType(int operationType)
          Deprecated. Sets operationType
 void setOperationtypeFromDB(java.lang.String operationtype)
          Deprecated. Sets operationtype from the DB
 void setPreUpdateState()
          Deprecated. 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)
          Deprecated. Sets relvarName
 void setRelvarnameFromDB(java.lang.String relvarname)
          Deprecated. 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

TransactionConstraint

public TransactionConstraint()
Deprecated. 
Creates the TransactionConstraint


TransactionConstraint

public TransactionConstraint(java.lang.String relvarName,
                             int operationType,
                             long errorCode,
                             java.lang.String expression,
                             java.lang.String label,
                             java.lang.String messageText)
Deprecated. 
Creates the TransactionConstraint

Parameters:
relvarName -
operationType -
errorCode -
expression -
label -
messageText -
Method Detail

getConstraintmessagetextConstraintmessagetext

public java.lang.String getConstraintmessagetextConstraintmessagetext()
Deprecated. 
Description copied from interface: DBObjectToConstraintmessagetext
Gets the constraintmessagetext for constraintmessagetext

Specified by:
getConstraintmessagetextConstraintmessagetext in interface DBObjectToConstraintmessagetext
Returns:
The constraintmessagetext for constraintmessagetext

getConstraintmessagetextErrorcode

public java.lang.String getConstraintmessagetextErrorcode()
Deprecated. 
Description copied from interface: DBObjectToConstraintmessagetext
Gets the errorcode for constraintmessagetext

Specified by:
getConstraintmessagetextErrorcode in interface DBObjectToConstraintmessagetext
Returns:
The errorcode for constraintmessagetext

getErrorCode

public final long getErrorCode()
Deprecated. 
Gets errorCode

Returns:
errorCode.

getExpression

public final java.lang.String getExpression()
Deprecated. 
Gets expression

Returns:
expression.

getLabel

public final java.lang.String getLabel()
Deprecated. 
Gets label

Returns:
label.

getMessageText

public final java.lang.String getMessageText()
Deprecated. 
Gets messageText

Returns:
messageText.

getOperationType

public final int getOperationType()
Deprecated. 
Gets operationType

Returns:
operationType.

getPreUpdateState

public UpdatableDBObject getPreUpdateState()
Deprecated. 
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()
Deprecated. 
Gets relvarName

Returns:
relvarName.

getTransactionconstraintConstraintexpression

public java.lang.String getTransactionconstraintConstraintexpression()
Deprecated. 
Description copied from interface: DBObjectToTransactionconstraint
Gets the constraintexpression for transactionconstraint

Specified by:
getTransactionconstraintConstraintexpression in interface DBObjectToTransactionconstraint
Returns:
The constraintexpression for transactionconstraint

getTransactionconstraintConstraintlabel

public java.lang.String getTransactionconstraintConstraintlabel()
Deprecated. 
Description copied from interface: DBObjectToTransactionconstraint
Gets the constraintlabel for transactionconstraint

Specified by:
getTransactionconstraintConstraintlabel in interface DBObjectToTransactionconstraint
Returns:
The constraintlabel for transactionconstraint

getTransactionconstraintErrorcode

public java.lang.String getTransactionconstraintErrorcode()
Deprecated. 
Description copied from interface: DBObjectToTransactionconstraint
Gets the errorcode for transactionconstraint

Specified by:
getTransactionconstraintErrorcode in interface DBObjectToTransactionconstraint
Returns:
The errorcode for transactionconstraint

getTransactionconstraintOperationtype

public java.lang.String getTransactionconstraintOperationtype()
Deprecated. 
Description copied from interface: DBObjectToTransactionconstraint
Gets the operationtype for transactionconstraint

Specified by:
getTransactionconstraintOperationtype in interface DBObjectToTransactionconstraint
Returns:
The operationtype for transactionconstraint

getTransactionconstraintRelvarname

public java.lang.String getTransactionconstraintRelvarname()
Deprecated. 
Description copied from interface: DBObjectToTransactionconstraint
Gets the relvarname for transactionconstraint

Specified by:
getTransactionconstraintRelvarname in interface DBObjectToTransactionconstraint
Returns:
The relvarname for transactionconstraint

setConstraintexpressionFromDB

public void setConstraintexpressionFromDB(java.lang.String constraintexpression)
Deprecated. 
Description copied from interface: TransactionconstraintToDBObject
Sets constraintexpression from the DB

Specified by:
setConstraintexpressionFromDB in interface TransactionconstraintToDBObject
Parameters:
constraintexpression - The DB value for constraintexpression

setConstraintlabelFromDB

public void setConstraintlabelFromDB(java.lang.String constraintlabel)
Deprecated. 
Description copied from interface: TransactionconstraintToDBObject
Sets constraintlabel from the DB

Specified by:
setConstraintlabelFromDB in interface TransactionconstraintToDBObject
Parameters:
constraintlabel - The DB value for constraintlabel

setConstraintmessagetextFromDB

public void setConstraintmessagetextFromDB(java.lang.String constraintmessagetext)
Deprecated. 
Description copied from interface: ConstraintmessagetextToDBObject
Sets constraintmessagetext from the DB

Specified by:
setConstraintmessagetextFromDB in interface ConstraintmessagetextToDBObject
Parameters:
constraintmessagetext - The DB value for constraintmessagetext

setErrorCode

public final void setErrorCode(long errorCode)
Deprecated. 
Sets errorCode

Parameters:
errorCode - The errorCode to set.

setErrorcodeFromDB

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

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

setExpression

public final void setExpression(java.lang.String expression)
Deprecated. 
Sets expression

Parameters:
expression - The expression to set.

setLabel

public final void setLabel(java.lang.String label)
Deprecated. 
Sets label

Parameters:
label - The label to set.

setMessageText

public final void setMessageText(java.lang.String messageText)
Deprecated. 
Sets messageText

Parameters:
messageText - The messageText to set.

setOperationType

public final void setOperationType(int operationType)
Deprecated. 
Sets operationType

Parameters:
operationType - The operationType to set.

setOperationtypeFromDB

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

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

setPreUpdateState

public void setPreUpdateState()
Deprecated. 
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)
Deprecated. 
Sets relvarName

Parameters:
relvarName - The relvarName to set.

setRelvarnameFromDB

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

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