Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.gammastream.validity
Class GSVGenericRecord  view GSVGenericRecord download GSVGenericRecord.java

java.lang.Object
  extended byEOGenericRecord
      extended bycom.gammastream.validity.GSVGenericRecord

public class GSVGenericRecord
extends EOGenericRecord

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


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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.