com.ltu.smd116.containers.booking
Class ServiceContainer
com.ltu.smd116.misc.SortableItem
|
+--com.ltu.smd116.containers.SortableContainer
|
+--com.ltu.smd116.containers.booking.ServiceContainer
- public class ServiceContainer
- extends SortableContainer
Contains all info on a Service
- Stereotype container
description
private String description
duration
private int duration
endDate
private Date endDate
granularity
private int granularity
name
private String name
resources
private SortedVector resources
- A Sorted vector with resourceContainers
- associates <{ResourceContainer}>
serviceManagers
private SortedVector serviceManagers
- Sorted vector of PersonnelContainer. The personell that are responsible for that service
- associates <{PersonnelContainer}>
serviceTypes
private SortedVector serviceTypes
- Sorted vector of servicetypeContainers
- associates <{ServiceTypeContainer}>
startDate
private Date startDate
ServiceContainer
public ServiceContainer()
getDescription
public String getDescription()
getDuration
public int getDuration()
getEndDate
public Date getEndDate()
getGranularity
public int getGranularity()
getName
public String getName()
getResources
public SortedVector getResources()
getServiceManagers
public SortedVector getServiceManagers()
getServiceTypes
public SortedVector getServiceTypes()
getStartDate
public Date getStartDate()
setDescription
public void setDescription(String description)
setDuration
public void setDuration(int duration)
setEndDate
public void setEndDate(Date endDate)
setGranularity
public void setGranularity(int granularity)
setName
public void setName(String name)
setResources
public void setResources(SortedVector resources)
setServiceManagers
public void setServiceManagers(SortedVector serviceManagers)
setServiceTypes
public void setServiceTypes(SortedVector serviceTypes)
setStartDate
public void setStartDate(Date startDate)
to Class java.lang.String
to Class com.ltu.smd116.containers.booking.ResourceContainer
- A Sorted vector with resourceContainers
- associates <{ResourceContainer}>
to Class java.lang.String
to Class java.util.Date
to Class java.util.Date