|
||||||||||
| 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.AssignmentConstraint
public final class AssignmentConstraint
| Constructor Summary | |
|---|---|
AssignmentConstraint()
Creates the AssignmentConstraint |
|
AssignmentConstraint(java.lang.String constraintExpression,
long errorCode,
java.lang.String constraintLabel)
Creates the AssignmentConstraint |
|
AssignmentConstraint(java.lang.String constraintExpression,
long errorCode,
java.lang.String constraintLabel,
java.lang.String constraintMessageText)
Creates the AssignmentConstraint |
|
| Method Summary | |
|---|---|
java.lang.String |
getAssignmentconstraintConstraintlabel()
Gets the constraintlabel for assignmentconstraint |
java.lang.String |
getAssignmentconstraintErrorcode()
Gets the errorcode for assignmentconstraint |
java.lang.String |
getAssignmentconstraintSp_expression()
Gets the sp_expression for assignmentconstraint |
java.lang.String |
getConstraintExpression()
Gets The constraint expression |
java.lang.String |
getConstraintLabel()
Gets The constraint label |
java.lang.String |
getConstraintMessageText()
Gets The corresponding constraint message text, if any |
java.lang.String |
getConstraintmessagetextConstraintmessagetext()
Gets the constraintmessagetext for constraintmessagetext |
java.lang.String |
getConstraintmessagetextErrorcode()
Gets the errorcode for constraintmessagetext |
long |
getErrorCode()
|
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. |
void |
setConstraintExpression(java.lang.String constraintExpression)
Sets The constraint expression |
void |
setConstraintLabel(java.lang.String constraintLabel)
Sets The constraint label |
void |
setConstraintlabelFromDB(java.lang.String constraintlabel)
Sets constraintlabel from the DB |
void |
setConstraintMessageText(java.lang.String constraintMessageText)
Sets The corresponding constraint message text, if any |
void |
setConstraintmessagetextFromDB(java.lang.String constraintmessagetext)
Sets constraintmessagetext from the DB |
void |
setErrorCode(long errorCode)
|
void |
setErrorcodeFromDB(java.lang.String errorcode)
Sets errorcode 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 |
setSp_expressionFromDB(java.lang.String sp_expression)
Sets sp_expression 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 AssignmentConstraint()
public AssignmentConstraint(java.lang.String constraintExpression,
long errorCode,
java.lang.String constraintLabel)
constraintExpression - The constraint expressionerrorCode - The page sizeconstraintLabel - The constraint label
public AssignmentConstraint(java.lang.String constraintExpression,
long errorCode,
java.lang.String constraintLabel,
java.lang.String constraintMessageText)
constraintExpression - The file nameerrorCode - The page sizeconstraintLabel - The constraint labelconstraintMessageText - The constraint message text to be displayed in the event of violations| Method Detail |
|---|
public java.lang.String getAssignmentconstraintConstraintlabel()
DBObjectToAssignmentconstraint
getAssignmentconstraintConstraintlabel in interface DBObjectToAssignmentconstraintpublic java.lang.String getAssignmentconstraintErrorcode()
DBObjectToAssignmentconstraint
getAssignmentconstraintErrorcode in interface DBObjectToAssignmentconstraintpublic java.lang.String getAssignmentconstraintSp_expression()
DBObjectToAssignmentconstraint
getAssignmentconstraintSp_expression in interface DBObjectToAssignmentconstraintpublic final java.lang.String getConstraintExpression()
public final java.lang.String getConstraintLabel()
public final java.lang.String getConstraintMessageText()
public java.lang.String getConstraintmessagetextConstraintmessagetext()
DBObjectToConstraintmessagetext
getConstraintmessagetextConstraintmessagetext in interface DBObjectToConstraintmessagetextpublic java.lang.String getConstraintmessagetextErrorcode()
DBObjectToConstraintmessagetext
getConstraintmessagetextErrorcode in interface DBObjectToConstraintmessagetextpublic final long getErrorCode()
public final UpdatableDBObject getPreUpdateState()
UpdatableDBObject
getPreUpdateState in interface UpdatableDBObjectpublic final void setConstraintExpression(java.lang.String constraintExpression)
constraintExpression - The constraintExpression to set.public final void setConstraintLabel(java.lang.String constraintLabel)
constraintLabel - The constraintLabel to set.public void setConstraintlabelFromDB(java.lang.String constraintlabel)
AssignmentconstraintToDBObject
setConstraintlabelFromDB in interface AssignmentconstraintToDBObjectconstraintlabel - The DB value for constraintlabelpublic final void setConstraintMessageText(java.lang.String constraintMessageText)
constraintMessageText - The constraintMessageText to set.public 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)
AssignmentconstraintToDBObject
setErrorcodeFromDB in interface AssignmentconstraintToDBObjectsetErrorcodeFromDB in interface ConstraintmessagetextToDBObjecterrorcode - The DB value for errorcodepublic final void setPreUpdateState()
UpdatableDBObject
setPreUpdateState in interface UpdatableDBObjectpublic void setSp_expressionFromDB(java.lang.String sp_expression)
AssignmentconstraintToDBObject
setSp_expressionFromDB in interface AssignmentconstraintToDBObjectsp_expression - The DB value for sp_expression
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 | |||||||||