com.ltu.smd116.dbp
Class ServiceTypeDBP


public class ServiceTypeDBP

Stereotype DBP

Constructor Summary
ServiceTypeDBP()
           

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

Constructor Detail

ServiceTypeDBP

public ServiceTypeDBP()
Method Detail

delete

public boolean delete(int id)

getAllServiceTypes

public SortedVector getAllServiceTypes()

getServiceType

public TypeContainer getServiceType(int id)

insert

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

update

public boolean update(TypeContainer type)