01: /*
02: * Created on Apr 23, 2004
03: *
04: * To change the template for this generated file go to
05: * Window>Preferences>Java>Code Generation>Code and Comments
06: */
07: package org.xdev.base.xssl.util;
08:
09: import java.util.HashMap;
10:
11: import org.xdev.base.xssl.XSSLReturn;
12:
13: /**
14: * @author AYegorov
15: *
16: * To change the template for this generated type comment go to
17: * Window>Preferences>Java>Code Generation>Code and Comments
18: */
19: public class CurrentDate extends XSSLReturn {
20: private Object returnValue = null;
21:
22: /**
23: * @param id
24: */
25: public CurrentDate(String id) {
26: super (id);
27: }
28:
29: /**
30: * @param id
31: * @param properties
32: */
33: public CurrentDate(String id, HashMap properties) {
34: super (id, properties);
35: }
36:
37: /* (non-Javadoc)
38: * @see org.xdev.base.core.object.Configuration#getValue()
39: */
40: public Object getObjectValue() {
41: return this .returnValue;
42: }
43:
44: /* (non-Javadoc)
45: * @see org.xdev.base.xssl.XSSLAction#set()
46: */
47: protected void set() throws Exception {
48: this .returnValue = new java.util.Date(System
49: .currentTimeMillis());
50: }
51:
52: }
|