com.gammastream.validity
Class GSVGenericRecord

com.gammastream.validity.GSVGenericRecord

public class GSVGenericRecord

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

Author:
GammaStream Technologies, Inc.

Constructor Summary
GSVGenericRecord()
           
 
Method Summary
 boolean shouldUseDefaultValidition()
          Override this method in your EOGenericRecord 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

GSVGenericRecord

public GSVGenericRecord()
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 EOGenericRecord if you do not want to take advantage of the built in EOF validation.