public class TrafficType extends IdTitle
| Modifier and Type | Field and Description |
|---|---|
static TrafficType |
TIME |
static java.lang.Integer |
TIME_ID |
| Constructor and Description |
|---|
TrafficType() |
TrafficType(int id,
java.lang.String title,
int unit) |
| Modifier and Type | Method and Description |
|---|---|
int |
getUnit() |
void |
setUnit(int type) |
equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setIdpublic static final java.lang.Integer TIME_ID
public static final TrafficType TIME
public TrafficType()
public TrafficType(int id,
java.lang.String title,
int unit)
public int getUnit()
ServiceUnitpublic void setUnit(int type)