Commit 7009cbd8acaba462105fb05f59881a0b4b5d55c9

Authored by viktorbasanets
1 parent bc1e228d

Was added asigning value to of 'searchText' field into constructors

@@ -116,6 +116,7 @@ public class EntityViewEntity implements SearchTextEntity<EntityView> { @@ -116,6 +116,7 @@ public class EntityViewEntity implements SearchTextEntity<EntityView> {
116 } 116 }
117 this.tsBegin = String.valueOf(entityView.getTsBegin()); 117 this.tsBegin = String.valueOf(entityView.getTsBegin());
118 this.tsEnd = String.valueOf(entityView.getTsEnd()); 118 this.tsEnd = String.valueOf(entityView.getTsEnd());
  119 + this.searchText = entityView.getSearchText();
119 this.additionalInfo = entityView.getAdditionalInfo(); 120 this.additionalInfo = entityView.getAdditionalInfo();
120 } 121 }
121 122
@@ -39,7 +39,6 @@ import javax.persistence.Entity; @@ -39,7 +39,6 @@ import javax.persistence.Entity;
39 import javax.persistence.Table; 39 import javax.persistence.Table;
40 import java.io.IOException; 40 import java.io.IOException;
41 import java.util.List; 41 import java.util.List;
42 -import java.util.UUID;  
43 import java.util.stream.Collectors; 42 import java.util.stream.Collectors;
44 43
45 /** 44 /**
@@ -110,6 +109,7 @@ public class EntityViewEntity extends BaseSqlEntity<EntityView> implements Searc @@ -110,6 +109,7 @@ public class EntityViewEntity extends BaseSqlEntity<EntityView> implements Searc
110 } 109 }
111 this.tsBegin = String.valueOf(entityView.getTsBegin()); 110 this.tsBegin = String.valueOf(entityView.getTsBegin());
112 this.tsEnd = String.valueOf(entityView.getTsEnd()); 111 this.tsEnd = String.valueOf(entityView.getTsEnd());
  112 + this.searchText = entityView.getSearchText();
113 this.additionalInfo = entityView.getAdditionalInfo(); 113 this.additionalInfo = entityView.getAdditionalInfo();
114 } 114 }
115 115