com.gammastream.validity
Class GSVCustomObject

com.gammastream.validity.GSVCustomObject

public class GSVCustomObject

In order for your EOCustomObjects to take advantage of Validity validation, they must extend GSVCustomObject. Similarly, your EOGenericRecords must extend GSVGenericRecord.

Author:
GammaStream Technologies, Inc.

Constructor Summary
GSVCustomObject()
           
 
Method Summary
 boolean shouldUseDefaultValidition()
          Override this method in your EOCustomObject if you do not want to take advantage of the built in EOF validation.
 void validateForDelete()
           
 void validateForInsert()
           
 void validateForSave()
           
 void validateForUpdate()
           
 java.lang.Object validateValueForKey(java.lang.Object value, java.lang.String key)
           
 

Constructor Detail

GSVCustomObject

public GSVCustomObject()
Method Detail

validateForDelete

public void validateForDelete()

validateForInsert

public void validateForInsert()

validateForSave

public void validateForSave()

validateForUpdate

public void validateForUpdate()

validateValueForKey

public java.lang.Object validateValueForKey(java.lang.Object value,
                                            java.lang.String key)

shouldUseDefaultValidition

public boolean shouldUseDefaultValidition()
Override this method in your EOCustomObject if you do not want to take advantage of the built in EOF validation.