Project Wonder 2.0

com.gammastream.validity
Class GSVDateMethods

java.lang.Object
  extended bycom.gammastream.validity.GSVDateMethods

public class GSVDateMethods
extends Object

This class provides a set of predefined rules for performing validation on NSTimestamps. These rules are part of the default set of 'QuickRules'.

Author:
GammaStream Technologies, Inc.

Constructor Summary
GSVDateMethods()
           
 
Method Summary
static boolean updateTimestamp(Object object, Object attribute, String key, NSDictionary params)
          One of the many 'mutators' which never fail, unless of course, an exception is thrown.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GSVDateMethods

public GSVDateMethods()
Method Detail

updateTimestamp

public static final boolean updateTimestamp(Object object,
                                            Object attribute,
                                            String key,
                                            NSDictionary params)
One of the many 'mutators' which never fail, unless of course, an exception is thrown.
A mutator simply modifies (or mutates) the attribute is some way.
In this case, it updates the attribute to the current time.

Parameters:
object - The object whose attribute is being validated.
attribute - The attribute being validated.
key - The key used to access the attribute.
params - The param dictionary which must contain the above mentioned key-value pairs.
Returns:
always true

Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.