public class Bin
extends java.lang.Object
Constructor and Description |
---|
Bin(java.lang.Integer id)
Instantiates a new bin.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Float |
getCapacity()
Gets the capacity.
|
java.lang.Integer |
getId()
Gets the id.
|
java.lang.Integer |
getLevel()
Gets the level.
|
java.lang.Float |
getSize()
Gets the size.
|
void |
setCapacity(java.lang.Float capacity)
Sets the capacity.
|
void |
setLevel(java.lang.Integer level)
Sets the level.
|
public Bin(java.lang.Integer id)
id
- the idpublic java.lang.Integer getLevel()
public void setLevel(java.lang.Integer level)
level
- the new levelpublic java.lang.Integer getId()
public void setCapacity(java.lang.Float capacity)
capacity
- the new capacitypublic java.lang.Float getSize()
public java.lang.Float getCapacity()