Subversion Repositories SmartDukaan

Rev

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

Rev 45 Rev 73
Line 94... Line 94...
94
    /**
94
    /**
95
     * Handy function to check existence of children
95
     * Handy function to check existence of children
96
     * 
96
     * 
97
     * @return boolean
97
     * @return boolean
98
     */
98
     */
99
    public boolean hasChildren() {
99
    public boolean hasChildrenSlides() {
100
    	if(this.childrenSlides == null) {
-
 
101
    		return false;
-
 
102
    	}
-
 
103
    	
-
 
104
    	if(this.childrenSlides.isEmpty()) {
100
    	return !(this.childrenSlides == null || this.childrenSlides.isEmpty());
105
    		return false;
-
 
106
    	}
-
 
107
    	
-
 
108
    	return true;
-
 
109
    }
101
    }
110
    
102
    
111
    /**
103
    /**
112
     * 
104
     * 
113
     * @return features
105
     * @return features
Line 116... Line 108...
116
    public List<Feature> getFeatures() {
108
    public List<Feature> getFeatures() {
117
        return this.features;
109
        return this.features;
118
    }
110
    }
119
 
111
 
120
    /**
112
    /**
-
 
113
     * Handy function to check existence of features
-
 
114
     * 
-
 
115
     * @return boolean
-
 
116
     */
-
 
117
    public boolean hasFeatures() {
-
 
118
    	return !(this.features == null || this.features.isEmpty());
-
 
119
    }
-
 
120
    
-
 
121
    /**
121
     * 
122
     * 
122
     * @param value
123
     * @param value
123
     *     
124
     *     
124
     */
125
     */
125
    public void setFeatures(List<Feature> value) {
126
    public void setFeatures(List<Feature> value) {