|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.SIRAPRISE.client.jsba.AbstractDBObject
be.SIRAPRISE.client.jsba.AbstractUpdatableDBObject
be.SIRAPRISE.client.jsba.TupleConstraint
public final class TupleConstraint
| Constructor Summary | |
|---|---|
TupleConstraint()
Creates the TupleConstraint |
|
TupleConstraint(java.lang.String relvarName,
long errorCode,
java.lang.String constraintExpression,
java.lang.String messageText)
Creates the TupleConstraint |
|
| Method Summary | |
|---|---|
java.lang.String |
getConstraintExpression()
Gets constraintExpression |
java.lang.String |
getConstraintmessagetextConstraintmessagetext()
Gets the constraintmessagetext for constraintmessagetext |
java.lang.String |
getConstraintmessagetextErrorcode()
Gets the errorcode for constraintmessagetext |
long |
getErrorCode()
Gets errorCode |
java.lang.String |
getMessageText()
Gets messageText |
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 |
java.lang.String |
getTupleconstraintErrorcode()
Gets the errorcode for tupleconstraint |
java.lang.String |
getTupleconstraintRelvarname()
Gets the relvarname for tupleconstraint |
java.lang.String |
getTupleconstraintSp_expression()
Gets the constraintexpression for tupleconstraint |
void |
setConstraintExpression(java.lang.String constraintExpression)
Sets constraintExpression |
void |
setConstraintmessagetextFromDB(java.lang.String constraintmessagetext)
Sets constraintmessagetext from the DB |
void |
setErrorCode(long errorCode)
Sets errorCode |
void |
setErrorcodeFromDB(java.lang.String errorcode)
Sets errorcode from the DB |
void |
setMessageText(java.lang.String messageText)
Sets messageText |
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 |
void |
setSp_expressionFromDB(java.lang.String constraintexpression)
Sets constraintexpression from the DB |
DmlAssignmentCommand[] |
smartUpdateCommand()
Gets a "smart" update command that brings the catalog from the state reflected in preUpdateState, to the current state. |
| 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 |
|---|
public TupleConstraint()
public TupleConstraint(java.lang.String relvarName,
long errorCode,
java.lang.String constraintExpression,
java.lang.String messageText)
relvarName - errorCode - constraintExpression - messageText - | Method Detail |
|---|
public final java.lang.String getConstraintExpression()
public java.lang.String getConstraintmessagetextConstraintmessagetext()
DBObjectToConstraintmessagetext
getConstraintmessagetextConstraintmessagetext in interface DBObjectToConstraintmessagetextpublic java.lang.String getConstraintmessagetextErrorcode()
DBObjectToConstraintmessagetext
getConstraintmessagetextErrorcode in interface DBObjectToConstraintmessagetextpublic final long getErrorCode()
public final java.lang.String getMessageText()
public UpdatableDBObject getPreUpdateState()
UpdatableDBObject
getPreUpdateState in interface UpdatableDBObjectpublic final java.lang.String getRelvarName()
public java.lang.String getTupleconstraintSp_expression()
DBObjectToTupleconstraint
getTupleconstraintSp_expression in interface DBObjectToTupleconstraintpublic java.lang.String getTupleconstraintErrorcode()
DBObjectToTupleconstraint
getTupleconstraintErrorcode in interface DBObjectToTupleconstraintpublic java.lang.String getTupleconstraintRelvarname()
DBObjectToTupleconstraint
getTupleconstraintRelvarname in interface DBObjectToTupleconstraintpublic final void setConstraintExpression(java.lang.String constraintExpression)
constraintExpression - The constraintExpression to set.public void setSp_expressionFromDB(java.lang.String constraintexpression)
TupleconstraintToDBObject
setSp_expressionFromDB in interface TupleconstraintToDBObjectconstraintexpression - The DB value for constraintexpressionpublic void setConstraintmessagetextFromDB(java.lang.String constraintmessagetext)
ConstraintmessagetextToDBObject
setConstraintmessagetextFromDB in interface ConstraintmessagetextToDBObjectconstraintmessagetext - The DB value for constraintmessagetextpublic final void setErrorCode(long errorCode)
errorCode - The errorCode to set.public void setErrorcodeFromDB(java.lang.String errorcode)
TupleconstraintToDBObject
setErrorcodeFromDB in interface ConstraintmessagetextToDBObjectsetErrorcodeFromDB in interface TupleconstraintToDBObjecterrorcode - The DB value for errorcodepublic final void setMessageText(java.lang.String messageText)
messageText - The messageText to set.public void setPreUpdateState()
UpdatableDBObject
setPreUpdateState in interface UpdatableDBObjectpublic final void setRelvarName(java.lang.String relvarName)
relvarName - The relvarName to set.public void setRelvarnameFromDB(java.lang.String relvarname)
TupleconstraintToDBObject
setRelvarnameFromDB in interface TupleconstraintToDBObjectrelvarname - The DB value for relvarname
public DmlAssignmentCommand[] smartUpdateCommand()
throws NoUpdatesException
NoUpdatesException - If there are no differences between the pre-update and the current state
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||