Subversion Repositories SmartDukaan

Rev

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

Rev 4431 Rev 8708
Line 8... Line 8...
8
public class ItemInventory implements IsSerializable, Serializable {
8
public class ItemInventory implements IsSerializable, Serializable {
9
	
9
	
10
	long warehouseId;
10
	long warehouseId;
11
	long availability;
11
	long availability;
12
	long reserved;
12
	long reserved;
-
 
13
	long held;
13
    
14
    
14
    public ItemInventory() {
15
    public ItemInventory() {
15
        
16
        
16
    }
17
    }
17
    
18
    
18
    public ItemInventory(long warehouseId, long availability, long reserved) {
19
    public ItemInventory(long warehouseId, long availability, long reserved, long held) {
19
        this.warehouseId = warehouseId;
20
        this.warehouseId = warehouseId;
20
        this.availability = availability;
21
        this.availability = availability;
21
        this.reserved = reserved;
22
        this.reserved = reserved;
-
 
23
        this.held = held;
22
    }
24
    }
23
    
25
    
24
    /**
26
    /**
25
	 * @param warehouseId the warehouseId to set
27
	 * @param warehouseId the warehouseId to set
26
	 */
28
	 */
Line 60... Line 62...
60
	 * @return the reserved
62
	 * @return the reserved
61
	 */
63
	 */
62
	public long getReserved() {
64
	public long getReserved() {
63
		return reserved;
65
		return reserved;
64
	}
66
	}
-
 
67
 
-
 
68
	public long getHeld() {
-
 
69
		return held;
-
 
70
	}
-
 
71
 
-
 
72
	public void setHeld(long held) {
-
 
73
		this.held = held;
-
 
74
	}
-
 
75
	
-
 
76
	
65
}
77
}