01: /*
02: * Created on Mar 2, 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;
08:
09: import java.util.HashMap;
10:
11: import org.xdev.base.util.ServerUtilities;
12: import org.xdev.base.util.ShortGuidGenerator;
13:
14: /**
15: * @author AYegorov
16: *
17: * To change the template for this generated type comment go to
18: * Window>Preferences>Java>Code Generation>Code and Comments
19: */
20: public class XShortGuid extends XSSLReturn {
21:
22: private Object returnValue = null;
23:
24: /**
25: * @param id
26: */
27: public XShortGuid(String id) {
28: super (id);
29: // XXX Auto-generated constructor stub
30: }
31:
32: /**
33: * @param id
34: * @param properties
35: */
36: public XShortGuid(String id, HashMap properties) {
37: super (id, properties);
38: // XXX Auto-generated constructor stub
39: }
40:
41: /* (non-Javadoc)
42: * @see org.xdev.base.xssl.XSSLReturn#getValue()
43: */
44: public Object getObjectValue() {
45: // XXX Auto-generated method stub
46: return this .returnValue;
47: }
48:
49: /* (non-Javadoc)
50: * @see org.xdev.base.xssl.XSSLAction#set()
51: */
52: protected void set() throws Exception {
53: this.returnValue = ShortGuidGenerator.getGuid();
54:
55: }
56: }
|