예제 #1
0
 public void updateProperties(Map<String, String> properties) {
   super.updateProperties(properties);
   for (Map.Entry<String, String> entry : properties.entrySet()) {
     String property = entry.getKey();
     if (property.equals("id")) continue;
     String value = entry.getValue();
     if (property.equals("projectId"))
       updateProjectId(ilarkesto.core.persistance.Persistence.parsePropertyReference(value));
     if (property.equals("label"))
       updateLabel(ilarkesto.core.persistance.Persistence.parsePropertyString(value));
     if (property.equals("number"))
       updateNumber(ilarkesto.core.persistance.Persistence.parsePropertyint(value));
     if (property.equals("date"))
       updateDate(ilarkesto.core.persistance.Persistence.parsePropertyDate(value));
     if (property.equals("time"))
       updateTime(ilarkesto.core.persistance.Persistence.parsePropertyTime(value));
     if (property.equals("location"))
       updateLocation(ilarkesto.core.persistance.Persistence.parsePropertyString(value));
     if (property.equals("duration"))
       updateDuration(ilarkesto.core.persistance.Persistence.parsePropertyInteger(value));
     if (property.equals("agenda"))
       updateAgenda(ilarkesto.core.persistance.Persistence.parsePropertyString(value));
     if (property.equals("note"))
       updateNote(ilarkesto.core.persistance.Persistence.parsePropertyString(value));
   }
 }
예제 #2
0
 public void updateProperties(Map<String, String> properties) {
   super.updateProperties(properties);
   for (Map.Entry<String, String> entry : properties.entrySet()) {
     String property = entry.getKey();
     if (property.equals("id")) continue;
     String value = entry.getValue();
     if (property.equals("sprintId"))
       updateSprintId(ilarkesto.core.persistance.Persistence.parsePropertyReference(value));
     if (property.equals("remainingWork"))
       updateRemainingWork(ilarkesto.core.persistance.Persistence.parsePropertyint(value));
     if (property.equals("burnedWork"))
       updateBurnedWork(ilarkesto.core.persistance.Persistence.parsePropertyint(value));
   }
 }