|
||||||||||
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 labelpublic 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 violationsMethod Detail |
---|
public java.lang.String getAssignmentconstraintConstraintlabel()
DBObjectToAssignmentconstraint
getAssignmentconstraintConstraintlabel
in interface DBObjectToAssignmentconstraint
public java.lang.String getAssignmentconstraintErrorcode()
DBObjectToAssignmentconstraint
getAssignmentconstraintErrorcode
in interface DBObjectToAssignmentconstraint
public java.lang.String getAssignmentconstraintSp_expression()
DBObjectToAssignmentconstraint
getAssignmentconstraintSp_expression
in interface DBObjectToAssignmentconstraint
public 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 DBObjectToConstraintmessagetext
public java.lang.String getConstraintmessagetextErrorcode()
DBObjectToConstraintmessagetext
getConstraintmessagetextErrorcode
in interface DBObjectToConstraintmessagetext
public final long getErrorCode()
public final UpdatableDBObject getPreUpdateState()
UpdatableDBObject
getPreUpdateState
in interface UpdatableDBObject
public 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 AssignmentconstraintToDBObject
constraintlabel
- 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 ConstraintmessagetextToDBObject
constraintmessagetext
- 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 AssignmentconstraintToDBObject
setErrorcodeFromDB
in interface ConstraintmessagetextToDBObject
errorcode
- The DB value for errorcodepublic final void setPreUpdateState()
UpdatableDBObject
setPreUpdateState
in interface UpdatableDBObject
public void setSp_expressionFromDB(java.lang.String sp_expression)
AssignmentconstraintToDBObject
setSp_expressionFromDB
in interface AssignmentconstraintToDBObject
sp_expression
- The DB value for sp_expressionpublic 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 |