@Override
 public void storeProperties(Map<String, String> properties) {
   super.storeProperties(properties);
   properties.put(
       "sprintId", ilarkesto.core.persistance.Persistence.propertyAsString(this.sprintId));
   properties.put(
       "remainingWork",
       ilarkesto.core.persistance.Persistence.propertyAsString(this.remainingWork));
   properties.put(
       "burnedWork", ilarkesto.core.persistance.Persistence.propertyAsString(this.burnedWork));
 }
Beispiel #2
0
 public final void setDate(ilarkesto.core.time.Date date) {
   date = prepareDate(date);
   if (isDate(date)) return;
   this.date = date;
   updateLastModified();
   fireModified("date", ilarkesto.core.persistance.Persistence.propertyAsString(this.date));
 }
Beispiel #3
0
 public final void setAgenda(java.lang.String agenda) {
   agenda = prepareAgenda(agenda);
   if (isAgenda(agenda)) return;
   this.agenda = agenda;
   updateLastModified();
   fireModified("agenda", ilarkesto.core.persistance.Persistence.propertyAsString(this.agenda));
 }
 private final void updateBurnedWork(int burnedWork) {
   if (isBurnedWork(burnedWork)) return;
   this.burnedWork = burnedWork;
   updateLastModified();
   fireModified(
       "burnedWork", ilarkesto.core.persistance.Persistence.propertyAsString(this.burnedWork));
 }
Beispiel #5
0
 public final void setNumber(int number) {
   number = prepareNumber(number);
   if (isNumber(number)) return;
   this.number = number;
   updateLastModified();
   fireModified("number", ilarkesto.core.persistance.Persistence.propertyAsString(this.number));
 }
 public final void setSprintId(String id) {
   if (Utl.equals(sprintId, id)) return;
   this.sprintId = id;
   updateLastModified();
   fireModified(
       "sprintId", ilarkesto.core.persistance.Persistence.propertyAsString(this.sprintId));
 }
Beispiel #7
0
 public final void setNote(java.lang.String note) {
   note = prepareNote(note);
   if (isNote(note)) return;
   this.note = note;
   updateLastModified();
   fireModified("note", ilarkesto.core.persistance.Persistence.propertyAsString(this.note));
 }
Beispiel #8
0
 private final void updateDuration(java.lang.Integer duration) {
   if (isDuration(duration)) return;
   this.duration = duration;
   updateLastModified();
   fireModified(
       "duration", ilarkesto.core.persistance.Persistence.propertyAsString(this.duration));
 }
Beispiel #9
0
 private final void updateLocation(java.lang.String location) {
   if (isLocation(location)) return;
   this.location = location;
   updateLastModified();
   fireModified(
       "location", ilarkesto.core.persistance.Persistence.propertyAsString(this.location));
 }
Beispiel #10
0
 public final void setTime(ilarkesto.core.time.Time time) {
   time = prepareTime(time);
   if (isTime(time)) return;
   this.time = time;
   updateLastModified();
   fireModified("time", ilarkesto.core.persistance.Persistence.propertyAsString(this.time));
 }
Beispiel #11
0
 private final void updateLabel(java.lang.String label) {
   if (isLabel(label)) return;
   if (label == null)
     throw new IllegalArgumentException("Mandatory field can not be set to null: label");
   this.label = label;
   updateLastModified();
   fireModified("label", ilarkesto.core.persistance.Persistence.propertyAsString(this.label));
 }
 public final void setBurnedWork(int burnedWork) {
   burnedWork = prepareBurnedWork(burnedWork);
   if (isBurnedWork(burnedWork)) return;
   this.burnedWork = burnedWork;
   updateLastModified();
   fireModified(
       "burnedWork", ilarkesto.core.persistance.Persistence.propertyAsString(this.burnedWork));
 }
 private final void updateRemainingWork(int remainingWork) {
   if (isRemainingWork(remainingWork)) return;
   this.remainingWork = remainingWork;
   updateLastModified();
   fireModified(
       "remainingWork",
       ilarkesto.core.persistance.Persistence.propertyAsString(this.remainingWork));
 }
 public final void setRemainingWork(int remainingWork) {
   remainingWork = prepareRemainingWork(remainingWork);
   if (isRemainingWork(remainingWork)) return;
   this.remainingWork = remainingWork;
   updateLastModified();
   fireModified(
       "remainingWork",
       ilarkesto.core.persistance.Persistence.propertyAsString(this.remainingWork));
 }
Beispiel #15
0
 @Override
 public void storeProperties(Map<String, String> properties) {
   super.storeProperties(properties);
   properties.put(
       "projectId", ilarkesto.core.persistance.Persistence.propertyAsString(this.projectId));
   properties.put("label", ilarkesto.core.persistance.Persistence.propertyAsString(this.label));
   properties.put("number", ilarkesto.core.persistance.Persistence.propertyAsString(this.number));
   properties.put("date", ilarkesto.core.persistance.Persistence.propertyAsString(this.date));
   properties.put("time", ilarkesto.core.persistance.Persistence.propertyAsString(this.time));
   properties.put(
       "location", ilarkesto.core.persistance.Persistence.propertyAsString(this.location));
   properties.put(
       "duration", ilarkesto.core.persistance.Persistence.propertyAsString(this.duration));
   properties.put("agenda", ilarkesto.core.persistance.Persistence.propertyAsString(this.agenda));
   properties.put("note", ilarkesto.core.persistance.Persistence.propertyAsString(this.note));
 }
Beispiel #16
0
 private final void updateNumber(int number) {
   if (isNumber(number)) return;
   this.number = number;
   updateLastModified();
   fireModified("number", ilarkesto.core.persistance.Persistence.propertyAsString(this.number));
 }
Beispiel #17
0
 private final void updateNote(java.lang.String note) {
   if (isNote(note)) return;
   this.note = note;
   updateLastModified();
   fireModified("note", ilarkesto.core.persistance.Persistence.propertyAsString(this.note));
 }
Beispiel #18
0
 private final void updateTime(ilarkesto.core.time.Time time) {
   if (isTime(time)) return;
   this.time = time;
   updateLastModified();
   fireModified("time", ilarkesto.core.persistance.Persistence.propertyAsString(this.time));
 }
Beispiel #19
0
 private final void updateDate(ilarkesto.core.time.Date date) {
   if (isDate(date)) return;
   this.date = date;
   updateLastModified();
   fireModified("date", ilarkesto.core.persistance.Persistence.propertyAsString(this.date));
 }