public class Diff extends Object
getUserId()getDiffDate()JsonConverter| Modifier and Type | Method and Description |
|---|---|
void |
addChange(Change change) |
void |
addChanges(Collection<Change> changeSet) |
List<Change> |
getChanges() |
org.joda.time.LocalDateTime |
getDiffDate()
date when change was made by user
|
long |
getId()
Unique revision identifier, assigned by
DiffRepository |
String |
getUserId()
user identifier in clients data base,
typically login or numeric id
|
boolean |
hasChanges() |
boolean |
isNew()
Returns true if revision hasn't been persisted yet and has no id assigned.
|
public Diff(String userId)
public long getId()
DiffRepositoryassignId(long)public String getUserId()
public org.joda.time.LocalDateTime getDiffDate()
public boolean isNew()
getId()public void addChange(Change change)
public boolean hasChanges()
public void addChanges(Collection<Change> changeSet)
Copyright © 2013. All rights reserved.