Skip to content

Commit b13525f

Browse files
committed
🔨 update data models corresponding to gk central
1 parent 11fe0dd commit b13525f

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

src/main/java/org/reactome/server/graph/domain/model/MarkerReference.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@
99
public class MarkerReference extends ControlReference {
1010

1111
@Relationship(type = "marker")
12-
private List<EntityWithAccessionedSequence> marker;
12+
private EntityWithAccessionedSequence marker;
1313

1414
@Relationship(type = "cell")
1515
private List<Cell> cell;
1616

1717
public MarkerReference() {
1818
}
1919

20-
public List<EntityWithAccessionedSequence> getMarker() {
20+
public EntityWithAccessionedSequence getMarker() {
2121
return marker;
2222
}
2323

24-
public void setMarker(List<EntityWithAccessionedSequence> marker) {
24+
public void setMarker(EntityWithAccessionedSequence marker) {
2525
this.marker = marker;
2626
}
2727

src/main/java/org/reactome/server/graph/domain/model/Pathway.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ public class Pathway extends Event {
4242
@Relationship(type = "hasEvent")
4343
private SortedSet<HasEvent> hasEvent;
4444

45+
@ReactomeProperty
46+
private String lastUpdatedDate;
47+
4548
@ReactomeRelationship
4649
@Relationship(type = "hasEncapsulatedEvent")
4750
private SortedSet<HasEncapsulatedEvent> hasEncapsulatedEvent;
@@ -159,6 +162,14 @@ public void setNormalPathway(Pathway normalPathway) {
159162
this.normalPathway = normalPathway;
160163
}
161164

165+
public String getLastUpdatedDate() {
166+
return lastUpdatedDate;
167+
}
168+
169+
public void setLastUpdatedDate(String lastUpdatedDate) {
170+
this.lastUpdatedDate = lastUpdatedDate;
171+
}
172+
162173
@ReactomeSchemaIgnore
163174
@Override
164175
@JsonIgnore

src/main/java/org/reactome/server/graph/domain/model/Regulation.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ public abstract class Regulation extends DatabaseObject {
5757
@Relationship(type = "revised", direction = Relationship.Direction.INCOMING)
5858
private List<InstanceEdit> revised;
5959

60-
@Relationship(type = "summation")
61-
private List<Summation> summation;
6260

6361
public Regulation() {}
6462

@@ -166,11 +164,4 @@ public void setRevised(List<InstanceEdit> revised) {
166164
this.revised = revised;
167165
}
168166

169-
public List<Summation> getSummation() {
170-
return summation;
171-
}
172-
173-
public void setSummation(List<Summation> summation) {
174-
this.summation = summation;
175-
}
176167
}

0 commit comments

Comments
 (0)