|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.persistence.Persistent
org.jaffa.rules.examples.domain.ValidFieldValue
Auto Generated Persistent class for the VALID_FIELD_VALUE table.
| Constructor Summary | |
ValidFieldValue()
|
|
| Method Summary | |
Object |
clone()
Returns a clone of the object. |
static boolean |
exists(UOW uow,
String tableName,
String fieldName,
String legalValue)
Check if the domain object exists for the input Primary Key. |
static ValidFieldValue |
findByPK(UOW uow,
String tableName,
String fieldName,
String legalValue)
Returns the domain object for the input Primary Key. |
static Criteria |
findByPKCriteria(String tableName,
String fieldName,
String legalValue)
Returns a Criteria object for retrieving the domain object based on the input Primary Key. |
String |
getDescription()
Getter for property description. |
String |
getFieldName()
Getter for property fieldName. |
String |
getLegalValue()
Getter for property legalValue. |
String |
getRemarks()
Getter for property remarks. |
String |
getTableName()
Getter for property tableName. |
void |
performForeignKeyValidations()
This method ensures that the modified foreign-keys are valid. |
void |
performPreDeleteReferentialIntegrity()
This method is triggered by the UOW, before adding this object to the Delete-Store. |
void |
setDescription(String description)
Use this method to update the property description. |
void |
setFieldName(String fieldName)
Use this method to update the property fieldName. |
void |
setLegalValue(String legalValue)
Use this method to update the property legalValue. |
void |
setRemarks(String remarks)
Use this method to update the property remarks. |
void |
setTableName(String tableName)
Use this method to update the property tableName. |
String |
toString()
This returns the diagnostic information. |
void |
updateDescription(String description)
This method is present for backwards compatibility only. |
void |
updateFieldName(String fieldName)
This method is present for backwards compatibility only. |
void |
updateLegalValue(String legalValue)
This method is present for backwards compatibility only. |
void |
updateRemarks(String remarks)
This method is present for backwards compatibility only. |
void |
updateTableName(String tableName)
This method is present for backwards compatibility only. |
String |
validateDescription(String description)
Use this method to validate a value for the property description. |
String |
validateFieldName(String fieldName)
Use this method to validate a value for the property fieldName. |
String |
validateLegalValue(String legalValue)
Use this method to validate a value for the property legalValue. |
String |
validateRemarks(String remarks)
Use this method to validate a value for the property remarks. |
String |
validateTableName(String tableName)
Use this method to validate a value for the property tableName. |
| Methods inherited from class org.jaffa.persistence.Persistent |
actualInstance, addInitialValue, getLocking, getUOW, isDatabaseOccurence, isLocked, isModified, isModified, isQueued, postAdd, postDelete, postLoad, postUpdate, preAdd, preDelete, preUpdate, returnInitialValue, setDatabaseOccurence, setLocked, setLocking, setModified, setQueued, setUOW, update |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ValidFieldValue()
| Method Detail |
public static boolean exists(UOW uow,
String tableName,
String fieldName,
String legalValue)
throws FrameworkException
FrameworkException - Indicates some system error
public static ValidFieldValue findByPK(UOW uow,
String tableName,
String fieldName,
String legalValue)
throws FrameworkException
FrameworkException - Indicates some system error
public static Criteria findByPKCriteria(String tableName,
String fieldName,
String legalValue)
public String getTableName()
public void setTableName(String tableName)
throws ValidationException,
UpdatePrimaryKeyException,
ReadOnlyObjectException,
AlreadyLockedObjectException,
FrameworkException
tableName - New value of property tableName.
ValidationException - if an invalid value is passed.
UpdatePrimaryKeyException - if this domain object was loaded from the database.
ReadOnlyObjectException - if a Read-Only object is updated.
AlreadyLockedObjectException - if the underlying database row is already locked by another process.
FrameworkException - Indicates some system error
public void updateTableName(String tableName)
throws ValidationException,
UpdatePrimaryKeyException,
ReadOnlyObjectException,
AlreadyLockedObjectException,
FrameworkException
tableName - New value of property tableName.
ValidationException - if an invalid value is passed.
UpdatePrimaryKeyException - if this domain object was loaded from the database.
ReadOnlyObjectException - if a Read-Only object is updated.
AlreadyLockedObjectException - if the underlying database row is already locked by another process.
FrameworkException - Indicates some system error
public String validateTableName(String tableName)
throws ValidationException,
FrameworkException
tableName - Value to be validated for the property tableName.
ValidationException - if an invalid value is passed
FrameworkException - Indicates some system errorpublic String getFieldName()
public void setFieldName(String fieldName)
throws ValidationException,
UpdatePrimaryKeyException,
ReadOnlyObjectException,
AlreadyLockedObjectException,
FrameworkException
fieldName - New value of property fieldName.
ValidationException - if an invalid value is passed.
UpdatePrimaryKeyException - if this domain object was loaded from the database.
ReadOnlyObjectException - if a Read-Only object is updated.
AlreadyLockedObjectException - if the underlying database row is already locked by another process.
FrameworkException - Indicates some system error
public void updateFieldName(String fieldName)
throws ValidationException,
UpdatePrimaryKeyException,
ReadOnlyObjectException,
AlreadyLockedObjectException,
FrameworkException
fieldName - New value of property fieldName.
ValidationException - if an invalid value is passed.
UpdatePrimaryKeyException - if this domain object was loaded from the database.
ReadOnlyObjectException - if a Read-Only object is updated.
AlreadyLockedObjectException - if the underlying database row is already locked by another process.
FrameworkException - Indicates some system error
public String validateFieldName(String fieldName)
throws ValidationException,
FrameworkException
fieldName - Value to be validated for the property fieldName.
ValidationException - if an invalid value is passed
FrameworkException - Indicates some system errorpublic String getLegalValue()
public void setLegalValue(String legalValue)
throws ValidationException,
UpdatePrimaryKeyException,
ReadOnlyObjectException,
AlreadyLockedObjectException,
FrameworkException
legalValue - New value of property legalValue.
ValidationException - if an invalid value is passed.
UpdatePrimaryKeyException - if this domain object was loaded from the database.
ReadOnlyObjectException - if a Read-Only object is updated.
AlreadyLockedObjectException - if the underlying database row is already locked by another process.
FrameworkException - Indicates some system error
public void updateLegalValue(String legalValue)
throws ValidationException,
UpdatePrimaryKeyException,
ReadOnlyObjectException,
AlreadyLockedObjectException,
FrameworkException
legalValue - New value of property legalValue.
ValidationException - if an invalid value is passed.
UpdatePrimaryKeyException - if this domain object was loaded from the database.
ReadOnlyObjectException - if a Read-Only object is updated.
AlreadyLockedObjectException - if the underlying database row is already locked by another process.
FrameworkException - Indicates some system error
public String validateLegalValue(String legalValue)
throws ValidationException,
FrameworkException
legalValue - Value to be validated for the property legalValue.
ValidationException - if an invalid value is passed
FrameworkException - Indicates some system errorpublic String getDescription()
public void setDescription(String description)
throws ValidationException,
ReadOnlyObjectException,
AlreadyLockedObjectException,
FrameworkException
description - New value of property description.
ValidationException - if an invalid value is passed.
ReadOnlyObjectException - if a Read-Only object is updated.
AlreadyLockedObjectException - if the underlying database row is already locked by another process.
FrameworkException - Indicates some system error
public void updateDescription(String description)
throws ValidationException,
ReadOnlyObjectException,
AlreadyLockedObjectException,
FrameworkException
description - New value of property description.
ValidationException - if an invalid value is passed.
ReadOnlyObjectException - if a Read-Only object is updated.
AlreadyLockedObjectException - if the underlying database row is already locked by another process.
FrameworkException - Indicates some system error
public String validateDescription(String description)
throws ValidationException,
FrameworkException
description - Value to be validated for the property description.
ValidationException - if an invalid value is passed
FrameworkException - Indicates some system errorpublic String getRemarks()
public void setRemarks(String remarks)
throws ValidationException,
ReadOnlyObjectException,
AlreadyLockedObjectException,
FrameworkException
remarks - New value of property remarks.
ValidationException - if an invalid value is passed.
ReadOnlyObjectException - if a Read-Only object is updated.
AlreadyLockedObjectException - if the underlying database row is already locked by another process.
FrameworkException - Indicates some system error
public void updateRemarks(String remarks)
throws ValidationException,
ReadOnlyObjectException,
AlreadyLockedObjectException,
FrameworkException
remarks - New value of property remarks.
ValidationException - if an invalid value is passed.
ReadOnlyObjectException - if a Read-Only object is updated.
AlreadyLockedObjectException - if the underlying database row is already locked by another process.
FrameworkException - Indicates some system error
public String validateRemarks(String remarks)
throws ValidationException,
FrameworkException
remarks - Value to be validated for the property remarks.
ValidationException - if an invalid value is passed
FrameworkException - Indicates some system errorpublic String toString()
toString in class Persistent
public Object clone()
throws CloneNotSupportedException
clone in class PersistentCloneNotSupportedException - if cloning is not supported. This should never happen.
public void performForeignKeyValidations()
throws ApplicationExceptions,
FrameworkException
performForeignKeyValidations in class PersistentApplicationExceptions - if an invalid foreign key is set.
FrameworkException - Indicates some system error
public void performPreDeleteReferentialIntegrity()
throws PreDeleteFailedException
performPreDeleteReferentialIntegrity in class PersistentPreDeleteFailedException - if any error occurs during the process.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||