|
||||||||||
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.ConstrainedType
public final class ConstrainedType
Constructor Summary | |
---|---|
ConstrainedType()
Creates an empty ConstrainedType |
|
ConstrainedType(java.lang.String typeName,
java.lang.String baseTypeName,
java.lang.String expression)
Creates the ConstrainedType |
Method Summary | |
---|---|
java.lang.String |
getBaseTypeName()
Gets The base type's name |
java.lang.String |
getConstrainedtypeBasetype()
Gets the basetype for constrainedtype |
java.lang.String |
getConstrainedtypeSp_expression()
Gets the expression for constrainedtype |
java.lang.String |
getConstrainedtypeTypename()
Gets the typename for constrainedtype |
java.lang.String |
getExpression()
Gets The constraint expression |
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 |
getTypeName()
Gets The type name |
void |
setBasetypeFromDB(java.lang.String basetype)
Sets basetype from the DB |
void |
setBaseTypeName(java.lang.String baseTypeName)
Sets The base type's name |
void |
setExpression(java.lang.String expression)
Sets The constraint expression |
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 expression)
Sets expression from the DB |
void |
setTypeName(java.lang.String typeName)
Sets The type name |
void |
setTypenameFromDB(java.lang.String typeName)
Sets typename 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 |
---|
public ConstrainedType()
public ConstrainedType(java.lang.String typeName, java.lang.String baseTypeName, java.lang.String expression)
typeName
- The type namebaseTypeName
- The constraint message text to be displayed in the event of violationsexpression
- The file nameMethod Detail |
---|
public final java.lang.String getBaseTypeName()
public java.lang.String getConstrainedtypeBasetype()
DBObjectToConstrainedtype
getConstrainedtypeBasetype
in interface DBObjectToConstrainedtype
public java.lang.String getConstrainedtypeSp_expression()
DBObjectToConstrainedtype
getConstrainedtypeSp_expression
in interface DBObjectToConstrainedtype
public java.lang.String getConstrainedtypeTypename()
DBObjectToConstrainedtype
getConstrainedtypeTypename
in interface DBObjectToConstrainedtype
public final java.lang.String getExpression()
public final UpdatableDBObject getPreUpdateState()
UpdatableDBObject
getPreUpdateState
in interface UpdatableDBObject
public final java.lang.String getTypeName()
public void setBasetypeFromDB(java.lang.String basetype)
ConstrainedtypeToDBObject
setBasetypeFromDB
in interface ConstrainedtypeToDBObject
basetype
- The DB value for basetypepublic final void setBaseTypeName(java.lang.String baseTypeName)
baseTypeName
- The baseTypeName to set.public final void setExpression(java.lang.String expression)
expression
- The expression to set.public void setSp_expressionFromDB(java.lang.String expression)
ConstrainedtypeToDBObject
setSp_expressionFromDB
in interface ConstrainedtypeToDBObject
expression
- The DB value for expressionpublic final void setPreUpdateState()
UpdatableDBObject
setPreUpdateState
in interface UpdatableDBObject
public final void setTypeName(java.lang.String typeName)
typeName
- The typeName to set.public void setTypenameFromDB(java.lang.String typeName)
ConstrainedtypeToDBObject
setTypenameFromDB
in interface ConstrainedtypeToDBObject
typeName
- The DB value for typename
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |