Subversion Repositories SmartDukaan

Rev

Rev 1918 | Rev 3443 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1918 Rev 2657
Line 2... Line 2...
2
 * 
2
 * 
3
 */
3
 */
4
package in.shop2020.util;
4
package in.shop2020.util;
5
 
5
 
6
import in.shop2020.metamodel.definitions.CMPRuleDefinition;
6
import in.shop2020.metamodel.definitions.CMPRuleDefinition;
-
 
7
import in.shop2020.metamodel.definitions.Category;
7
import in.shop2020.metamodel.util.ExpandedCMPSlideRuleDefinition;
8
import in.shop2020.metamodel.util.ExpandedCMPSlideRuleDefinition;
8
import in.shop2020.metamodel.util.ExpandedSlide;
9
import in.shop2020.metamodel.util.ExpandedSlide;
9
 
10
 
10
import org.python.core.PyFloat;
11
import org.python.core.PyFloat;
11
import org.python.core.PyInteger;
12
import org.python.core.PyInteger;
Line 74... Line 75...
74
		this.initialize();
75
		this.initialize();
75
		
76
		
76
		this.py.set("expSlide", expandedSlide);
77
		this.py.set("expSlide", expandedSlide);
77
	}
78
	}
78
	
79
	
-
 
80
 
-
 
81
	/**
-
 
82
	 * Set the category
-
 
83
	 * @param category
-
 
84
	 */
-
 
85
	public void setCategory(Category category) {
-
 
86
		this.initialize();
-
 
87
		
-
 
88
		this.py.set("categoryObj", category);
-
 
89
	}
-
 
90
	
79
	/**
91
	/**
80
	 * Return integer score value
92
	 * Return integer score value
81
	 * 
93
	 * 
82
	 * @return int score
94
	 * @return int score
83
	 */
95
	 */