Skip to content

Commit

Permalink
refactoring persistence
Browse files Browse the repository at this point in the history
  • Loading branch information
witek committed Jul 12, 2015
1 parent 24afff7 commit 4cd1ef2
Show file tree
Hide file tree
Showing 25 changed files with 301 additions and 301 deletions.
32 changes: 16 additions & 16 deletions src/generated/java/scrum/client/admin/GProjectUserConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ public final boolean isProjectSet() {

public final ProjectUserConfig setProject(scrum.client.project.Project project) {
String id = project == null ? null : project.getId();
if (equals(this.projectId, id)) return (ProjectUserConfig) this;
if (ilarkesto.core.base.Utl.equals(this.projectId, id)) return (ProjectUserConfig) this;
this.projectId = id;
propertyChanged("projectId", ilarkesto.core.persistance.Persistence.propertyAsString(this.projectId));
return (ProjectUserConfig)this;
}

public final boolean isProject(scrum.client.project.Project project) {
String id = project==null ? null : project.getId();
return equals(this.projectId, id);
return ilarkesto.core.base.Utl.equals(this.projectId, id);
}

// --- user ---
Expand All @@ -89,15 +89,15 @@ public final boolean isUserSet() {

public final ProjectUserConfig setUser(scrum.client.admin.User user) {
String id = user == null ? null : user.getId();
if (equals(this.userId, id)) return (ProjectUserConfig) this;
if (ilarkesto.core.base.Utl.equals(this.userId, id)) return (ProjectUserConfig) this;
this.userId = id;
propertyChanged("userId", ilarkesto.core.persistance.Persistence.propertyAsString(this.userId));
return (ProjectUserConfig)this;
}

public final boolean isUser(scrum.client.admin.User user) {
String id = user==null ? null : user.getId();
return equals(this.userId, id);
return ilarkesto.core.base.Utl.equals(this.userId, id);
}

// --- color ---
Expand All @@ -116,7 +116,7 @@ public final ProjectUserConfig setColor(java.lang.String color) {
}

public final boolean isColor(java.lang.String color) {
return equals(this.color, color);
return ilarkesto.core.base.Utl.equals(this.color, color);
}

private transient ColorModel colorModel;
Expand Down Expand Up @@ -169,7 +169,7 @@ public final ProjectUserConfig setReceiveEmailsOnProjectEvents(boolean receiveEm
}

public final boolean isReceiveEmailsOnProjectEvents(boolean receiveEmailsOnProjectEvents) {
return equals(this.receiveEmailsOnProjectEvents, receiveEmailsOnProjectEvents);
return ilarkesto.core.base.Utl.equals(this.receiveEmailsOnProjectEvents, receiveEmailsOnProjectEvents);
}

private transient ReceiveEmailsOnProjectEventsModel receiveEmailsOnProjectEventsModel;
Expand Down Expand Up @@ -226,7 +226,7 @@ public final ProjectUserConfig setMisconducts(int misconducts) {
}

public final boolean isMisconducts(int misconducts) {
return equals(this.misconducts, misconducts);
return ilarkesto.core.base.Utl.equals(this.misconducts, misconducts);
}

private transient MisconductsModel misconductsModel;
Expand Down Expand Up @@ -296,7 +296,7 @@ public final ProjectUserConfig setRichtextAutosaveText(java.lang.String richtext
}

public final boolean isRichtextAutosaveText(java.lang.String richtextAutosaveText) {
return equals(this.richtextAutosaveText, richtextAutosaveText);
return ilarkesto.core.base.Utl.equals(this.richtextAutosaveText, richtextAutosaveText);
}

private transient RichtextAutosaveTextModel richtextAutosaveTextModel;
Expand Down Expand Up @@ -349,7 +349,7 @@ public final ProjectUserConfig setRichtextAutosaveField(java.lang.String richtex
}

public final boolean isRichtextAutosaveField(java.lang.String richtextAutosaveField) {
return equals(this.richtextAutosaveField, richtextAutosaveField);
return ilarkesto.core.base.Utl.equals(this.richtextAutosaveField, richtextAutosaveField);
}

private transient RichtextAutosaveFieldModel richtextAutosaveFieldModel;
Expand Down Expand Up @@ -422,7 +422,7 @@ public final ProjectUserConfig setOnline(boolean online) {
}

public final boolean isOnline(boolean online) {
return equals(this.online, online);
return ilarkesto.core.base.Utl.equals(this.online, online);
}

private transient OnlineModel onlineModel;
Expand Down Expand Up @@ -479,7 +479,7 @@ public final ProjectUserConfig setLastActivityDateAndTime(ilarkesto.core.time.Da
}

public final boolean isLastActivityDateAndTime(ilarkesto.core.time.DateAndTime lastActivityDateAndTime) {
return equals(this.lastActivityDateAndTime, lastActivityDateAndTime);
return ilarkesto.core.base.Utl.equals(this.lastActivityDateAndTime, lastActivityDateAndTime);
}

private transient LastActivityDateAndTimeModel lastActivityDateAndTimeModel;
Expand Down Expand Up @@ -585,7 +585,7 @@ public final ProjectUserConfig setPblFilterDateFrom(ilarkesto.core.time.Date pbl
}

public final boolean isPblFilterDateFrom(ilarkesto.core.time.Date pblFilterDateFrom) {
return equals(this.pblFilterDateFrom, pblFilterDateFrom);
return ilarkesto.core.base.Utl.equals(this.pblFilterDateFrom, pblFilterDateFrom);
}

private transient PblFilterDateFromModel pblFilterDateFromModel;
Expand Down Expand Up @@ -638,7 +638,7 @@ public final ProjectUserConfig setPblFilterDateTo(ilarkesto.core.time.Date pblFi
}

public final boolean isPblFilterDateTo(ilarkesto.core.time.Date pblFilterDateTo) {
return equals(this.pblFilterDateTo, pblFilterDateTo);
return ilarkesto.core.base.Utl.equals(this.pblFilterDateTo, pblFilterDateTo);
}

private transient PblFilterDateToModel pblFilterDateToModel;
Expand Down Expand Up @@ -691,7 +691,7 @@ public final ProjectUserConfig setPblFilterEstimationFrom(java.lang.Float pblFil
}

public final boolean isPblFilterEstimationFrom(java.lang.Float pblFilterEstimationFrom) {
return equals(this.pblFilterEstimationFrom, pblFilterEstimationFrom);
return ilarkesto.core.base.Utl.equals(this.pblFilterEstimationFrom, pblFilterEstimationFrom);
}

private transient PblFilterEstimationFromModel pblFilterEstimationFromModel;
Expand Down Expand Up @@ -744,7 +744,7 @@ public final ProjectUserConfig setPblFilterEstimationTo(java.lang.Float pblFilte
}

public final boolean isPblFilterEstimationTo(java.lang.Float pblFilterEstimationTo) {
return equals(this.pblFilterEstimationTo, pblFilterEstimationTo);
return ilarkesto.core.base.Utl.equals(this.pblFilterEstimationTo, pblFilterEstimationTo);
}

private transient PblFilterEstimationToModel pblFilterEstimationToModel;
Expand Down Expand Up @@ -797,7 +797,7 @@ public final ProjectUserConfig setPblFilterText(java.lang.String pblFilterText)
}

public final boolean isPblFilterText(java.lang.String pblFilterText) {
return equals(this.pblFilterText, pblFilterText);
return ilarkesto.core.base.Utl.equals(this.pblFilterText, pblFilterText);
}

private transient PblFilterTextModel pblFilterTextModel;
Expand Down
Loading

0 comments on commit 4cd1ef2

Please sign in to comment.