]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.modeling/src/org/simantics/modeling/adapters/ChangeInformation.java
WIP: Some old-ish adapter registry initialization improvements
[simantics/platform.git] / bundles / org.simantics.modeling / src / org / simantics / modeling / adapters / ChangeInformation.java
1 package org.simantics.modeling.adapters;
2
3 import org.simantics.databoard.Bindings;
4 import org.simantics.databoard.binding.Binding;
5
6 public class ChangeInformation {
7
8         public static final Binding BINDING = Bindings.getBindingUnchecked(ChangeInformation.class);
9         
10         public String createdBy;
11         public long createdAt;
12         public String modifiedBy;
13         public long modifiedAt;
14         
15         public boolean isLater(ChangeInformation other) {
16                 if(other == null) return true;
17                 return other.modifiedAt > modifiedAt;
18         }
19         
20 }