Exemplo n.º 1
0
 public TimeUnit getStartUnit() {
   String unitValue = (String) entity.get(PROP_NAME_RELATIVESTARTUNIT);
   if (unitValue == null) {
     return null;
   }
   return TimeUnit.valueOf(unitValue);
 }
Exemplo n.º 2
0
 public void setStartUnit(TimeUnit tu) {
   entity.set(PROP_NAME_RELATIVESTARTUNIT, tu.name());
 }
Exemplo n.º 3
0
 public void setEndUnit(TimeUnit tu) {
   entity.set(PROP_NAME_RELATIVEENDUNIT, tu.name());
 }