com.ltu.smd116.dbp
Class InventoryTypeDBP


public class InventoryTypeDBP

Stereotype DBP

Constructor Summary
InventoryTypeDBP()
           

Method Summary
 booleandelete(int id)
           
 SortedVectorgetAllInventoryTypes()
           
 intinsert(TypeContainer type)
          Returns the ID that it gets
 booleanupdate(TypeContainer type)
           

Constructor Detail

InventoryTypeDBP

public InventoryTypeDBP()
Method Detail

delete

public boolean delete(int id)

getAllInventoryTypes

public SortedVector getAllInventoryTypes()

insert

public int insert(TypeContainer type)
Returns the ID that it gets

update

public boolean update(TypeContainer type)