|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intersys.classes.CacheGeneric
com.intersys.classes.CacheRootObject
com.intersys.classes.RegisteredObject
com.intersys.classes.SQLProcContext
Constructor Summary | |
SQLProcContext(com.intersys.cache.CacheObject ref)
NB: DO NOT USE IN APPLICATION! |
|
SQLProcContext(Database db)
Creates a new instance of object " SQLProcContext . |
Method Summary | |
static void |
check_messageValid(Database db)
Verifies that indexes for property _message in
zObjVal are the same as in Cache. |
static void |
check_rowCountValid(Database db)
Verifies that indexes for property _rowCount in
zObjVal are the same as in Cache. |
static void |
check_sQLCodeValid(Database db)
Verifies that indexes for property _sQLCode in
zObjVal are the same as in Cache. |
static void |
checkAllFieldsValid(Database db)
Verifies that all fields from Cache class are exposed with accessor methods in Java class and that values for indexes in zObjVal are the same as in Cache. |
static void |
checkAllMethods(Database db)
Verifies that all fields from Cache class are exposed with accessor methods in Java class and that values for indexes in zObjVal are the same as in Cache. |
String |
get_message()
Returns value of property _message |
Integer |
get_rowCount()
Returns value of property _rowCount |
Integer |
get_sQLCode()
Returns value of property _sQLCode |
CacheClass |
getCacheClass()
Allows access metadata information about type of this object in Cache database. |
static String |
getCacheClassName()
Returns class name of the class SQLProcContext as it is in Cache Database. |
void |
set_message(String value)
Sets new value for _message . |
void |
set_rowCount(Integer value)
Sets new value for _rowCount . |
void |
set_sQLCode(Integer value)
Sets new value for _sQLCode . |
Methods inherited from class com.intersys.classes.RegisteredObject |
_className, _className, _constructClone, _constructClone, _constructClone, _isA, _isModified, _normalizeObject, _packageName, _validateObject, _validateObject, constructClone, constructClone, getZRef |
Methods inherited from class com.intersys.classes.CacheRootObject |
_close, castTo, equals, getDatabase, getField, getOref, getProxy, getString, hashCode, release, releaseInternal, toString |
Methods inherited from class com.intersys.classes.CacheGeneric |
checkAllFieldsValid, checkFieldsLimited, reset |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SQLProcContext(com.intersys.cache.CacheObject ref) throws CacheException
public SQLProcContext(Database db) throws CacheException
SQLProcContext
.
db
- Database
object used for connection with
Cache database.
CacheException
- in case of error.Method Detail |
public static String getCacheClassName()
getCacheClass().geName()
to get the class name
for specific object.
String
getCacheClass()
,
CacheClass.getName()
public CacheClass getCacheClass() throws CacheException
getCacheClass
in class RegisteredObject
CacheClass
object for this object type.
CacheException
public static void checkAllFieldsValid(Database db) throws CacheException
Please note, that if any field is not exposed that i critical error. But if there is any inconsistncy in zObjVal indexes this is fatal and class can not work correctly and must be regenrated.
db
- Databse used for connection. Note that if you are
using multiple databases the class can be consistent with one
and inconsistent with another.
InvalidClassException
- if any inconsistency is found.
CacheException
- if any error occured during
verification, e.g. communication error with Databse.InvalidPropertyException
public static void checkAllMethods(Database db) throws CacheException
Please note, that if any field is not exposed that i critical error. But if there is any inconsistncy in zObjVal indexes this is fatal and class can not work correctly and must be regenrated.
db
- Databse used for connection. Note that if you are
using multiple databases the class can be consistent with one
and inconsistent with another.
InvalidClassException
- if any inconsistency is found.
CacheException
- if any error occured during
verification, e.g. communication error with Databse.InvalidPropertyException
public static void check_messageValid(Database db) throws CacheException
_message
in
zObjVal are the same as in Cache. It does not return anything
but it thorws an exception in case of inconsistency.
Please note, that if there is any inconsistncy in zObjVal indexes this is fatal and class can not work correctly and must be regenrated.
db
- Database used for connection. Note that if you are
using multiple databases the class can be consistent with one
and inconsistent with another.
InvalidClassException
- if any inconsistency is found.
CacheException
- if any error occured during
verification, e.g. communication error with Database.checkAllFieldsValid(com.intersys.objects.Database)
public String get_message() throws CacheException
_message
_message
represented as
java.lang.String
CacheException
- if any error occured during value retrieval.public void set_message(String value) throws CacheException
_message
.
value
- new value to be set represented as
java.lang.String
.
CacheException
- if any error occured during value setting.public static void check_rowCountValid(Database db) throws CacheException
_rowCount
in
zObjVal are the same as in Cache. It does not return anything
but it thorws an exception in case of inconsistency.
Please note, that if there is any inconsistncy in zObjVal indexes this is fatal and class can not work correctly and must be regenrated.
db
- Database used for connection. Note that if you are
using multiple databases the class can be consistent with one
and inconsistent with another.
InvalidClassException
- if any inconsistency is found.
CacheException
- if any error occured during
verification, e.g. communication error with Database.checkAllFieldsValid(com.intersys.objects.Database)
public Integer get_rowCount() throws CacheException
_rowCount
_rowCount
represented as
java.lang.Integer
CacheException
- if any error occured during value retrieval.public void set_rowCount(Integer value) throws CacheException
_rowCount
.
value
- new value to be set represented as
java.lang.Integer
.
CacheException
- if any error occured during value setting.public static void check_sQLCodeValid(Database db) throws CacheException
_sQLCode
in
zObjVal are the same as in Cache. It does not return anything
but it thorws an exception in case of inconsistency.
Please note, that if there is any inconsistncy in zObjVal indexes this is fatal and class can not work correctly and must be regenrated.
db
- Database used for connection. Note that if you are
using multiple databases the class can be consistent with one
and inconsistent with another.
InvalidClassException
- if any inconsistency is found.
CacheException
- if any error occured during
verification, e.g. communication error with Database.checkAllFieldsValid(com.intersys.objects.Database)
public Integer get_sQLCode() throws CacheException
_sQLCode
_sQLCode
represented as
java.lang.Integer
CacheException
- if any error occured during value retrieval.public void set_sQLCode(Integer value) throws CacheException
_sQLCode
.
value
- new value to be set represented as
java.lang.Integer
.
CacheException
- if any error occured during value setting.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |