Subversion Repositories SmartDukaan

Rev

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

Rev 45 Rev 73
Line 61... Line 61...
61
    public List<Bullet> getBullets() {
61
    public List<Bullet> getBullets() {
62
        return this.bullets;
62
        return this.bullets;
63
    }
63
    }
64
 
64
 
65
    /**
65
    /**
-
 
66
     * Handy function to check existence of bullets
-
 
67
     * 
-
 
68
     * @return boolean
-
 
69
     */
-
 
70
    public boolean hasBullets() {
-
 
71
    	return !(this.bullets == null || this.bullets.isEmpty());
-
 
72
    }
-
 
73
    
-
 
74
    /**
66
     * 
75
     * 
67
     * @param value Bullets to set
76
     * @param value Bullets to set
68
     *     
77
     *     
69
     */
78
     */
70
    public void setBullets(List<Bullet> value) {
79
    public void setBullets(List<Bullet> value) {