|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectberth.LiftingArm
Class for incapsulate the attributes related to a LiftingArm Creates a LiftingArm with related attributes The Bid is made when a Berth agent reads data from its beliefset
Berth
Constructor Summary | |
LiftingArm(java.lang.String liftingArmId)
Constructor for LiftingArm Set the liftingArmId and make a new productList |
Method Summary | |
void |
addProduct(java.lang.String product)
Method that add a new product to this LiftingArms productList |
int |
getCapacity()
Get-method for the capacity |
java.lang.String |
getLiftingArmId()
Get-method for the liftingArmId |
java.util.ArrayList |
getProductList()
Get-method for the productList |
boolean |
hasProduct(java.lang.String product)
Method to check wether this LiftingArm has a specific product |
void |
setCapacity(int capacity)
Set-method for the capacity |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LiftingArm(java.lang.String liftingArmId)
Method Detail |
public java.lang.String getLiftingArmId()
public void addProduct(java.lang.String product)
public java.util.ArrayList getProductList()
public void setCapacity(int capacity)
public int getCapacity()
public boolean hasProduct(java.lang.String product)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |