- public synchronized long getModificationCounter() {
- return modificationCounter;
- }
-
- /**
- * Sets the modification counter.
- *
- * @param modificationCounter
- * The new modification counter
- */
- public synchronized void setModificationCounter(long modificationCounter) {
- this.modificationCounter = modificationCounter;
- }
-
- /**
- * Updates the suggested edition in both the request URI and the insert URI.
- *
- * @param latestEdition
- * The latest edition to update the URIs to
- */
- public void updateUris(long latestEdition) {
- if ((requestUri != null) && (requestUri.getEdition() < latestEdition)) {
- requestUri = requestUri.setSuggestedEdition(latestEdition);
+ public synchronized String getFingerprint() {
+ StringBuilder fingerprint = new StringBuilder();
+ fingerprint.append("Profile(");
+ if (profile.getFirstName() != null) {
+ fingerprint.append("FirstName(").append(profile.getFirstName()).append(')');