Subversion Repositories SmartDukaan

Rev

Rev 49 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 49 Rev 51
Line 11... Line 11...
11
import in.shop2020.metamodel.definitions.EnumDefinition;
11
import in.shop2020.metamodel.definitions.EnumDefinition;
12
import in.shop2020.metamodel.definitions.Unit;
12
import in.shop2020.metamodel.definitions.Unit;
13
import in.shop2020.util.Utils;
13
import in.shop2020.util.Utils;
14
 
14
 
15
/**
15
/**
-
 
16
 * Utility class that supports BulletDefinition class. All related objects are fetched 
-
 
17
 * from database and aggregated here.
16
 * 
18
 * 
17
 * @author naveen
19
 * @author naveen
18
 *
20
 *
19
 */
21
 */
20
public class ExpandedBulletDefinition extends BulletDefinition {
22
public class ExpandedBulletDefinition extends BulletDefinition {
Line 23... Line 25...
23
	 * 
25
	 * 
24
	 */
26
	 */
25
	private static final long serialVersionUID = 1L;
27
	private static final long serialVersionUID = 1L;
26
	
28
	
27
	/**
29
	/**
28
	 * 
30
	 * Expanded from DatatypeDefinition ID 
29
	 */
31
	 */
30
	private DatatypeDefinition datatypeDefinition ;
32
	private DatatypeDefinition datatypeDefinition ;
31
	
33
	
32
	/**
34
	/**
33
	 * 
35
	 * Expanded from unit ID
34
	 */
36
	 */
35
	private Unit unit;
37
	private Unit unit;
36
	
38
	
37
	/**
39
	/**
-
 
40
	 * Interpreted from type of DatatypeDefinition object. True if its 
38
	 * 
41
	 * Composite type.
39
	 */
42
	 */
40
	private boolean isComposite;
43
	private boolean isComposite;
41
	
44
	
42
	/**
45
	/**
-
 
46
	 * Interpreted from type of DatatypeDefinition object. True if its a 
43
	 * 
47
	 * enumerated type.
44
	 */
48
	 */
45
	private boolean isEnumerated;
49
	private boolean isEnumerated;
46
	
50
	
47
	/**
51
	/**
-
 
52
	 * Takes BulletDefinition object as input and converts all references 
-
 
53
	 * into corresponding detail objects
48
	 * 
54
	 * 
49
	 * @param bulletDefinition
55
	 * @param bulletDefinition
50
	 * @throws Exception
56
	 * @throws Exception
51
	 */
57
	 */
52
	public ExpandedBulletDefinition(BulletDefinition bulletDefinition) 
58
	public ExpandedBulletDefinition(BulletDefinition bulletDefinition)