shindig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wood...@apache.org
Subject svn commit: r1141957 - in /shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/model: ActivityEntryImpl.java ActivityObjectImpl.java MediaLinkImpl.java
Date Fri, 01 Jul 2011 14:56:36 GMT
Author: woodser
Date: Fri Jul  1 14:56:36 2011
New Revision: 1141957

URL: http://svn.apache.org/viewvc?rev=1141957&view=rev
Log:
Minor fix that ensures POJO fields and extendable Maps stay in sync.

Modified:
    shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/model/ActivityEntryImpl.java
    shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/model/ActivityObjectImpl.java
    shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/model/MediaLinkImpl.java

Modified: shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/model/ActivityEntryImpl.java
URL: http://svn.apache.org/viewvc/shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/model/ActivityEntryImpl.java?rev=1141957&r1=1141956&r2=1141957&view=diff
==============================================================================
--- shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/model/ActivityEntryImpl.java
(original)
+++ shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/model/ActivityEntryImpl.java
Fri Jul  1 14:56:36 2011
@@ -58,6 +58,7 @@ public class ActivityEntryImpl extends E
   /** {@inheritDoc} */
   public void setActor(ActivityObject actor) {
     this.actor = actor;
+    put("actor", actor);
   }
 
   /** {@inheritDoc} */
@@ -68,6 +69,7 @@ public class ActivityEntryImpl extends E
   /** {@inheritDoc} */
   public void setContent(String content) {
     this.content = content;
+    put("content", content);
   }
 
   /** {@inheritDoc} */
@@ -78,6 +80,7 @@ public class ActivityEntryImpl extends E
   /** {@inheritDoc} */
   public void setGenerator(ActivityObject generator) {
     this.generator = generator;
+    put("generator", generator);
   }
 
   /** {@inheritDoc} */
@@ -88,6 +91,7 @@ public class ActivityEntryImpl extends E
   /** {@inheritDoc} */
   public void setIcon(MediaLink icon) {
     this.icon = icon;
+    put("icon", icon);
   }
 
   /** {@inheritDoc} */
@@ -98,6 +102,7 @@ public class ActivityEntryImpl extends E
   /** {@inheritDoc} */
   public void setId(String id) {
     this.id = id;
+    put("id", id);
   }
 
   /** {@inheritDoc} */
@@ -108,6 +113,7 @@ public class ActivityEntryImpl extends E
   /** {@inheritDoc} */
   public void setObject(ActivityObject object) {
     this.object = object;
+    put("object", object);
   }
 
   /** {@inheritDoc} */
@@ -118,6 +124,7 @@ public class ActivityEntryImpl extends E
   /** {@inheritDoc} */
   public void setPublished(String published) {
     this.published = published;
+    put("published", published);
   }
 
   /** {@inheritDoc} */
@@ -128,6 +135,7 @@ public class ActivityEntryImpl extends E
   /** {@inheritDoc} */
   public void setProvider(ActivityObject provider) {
     this.provider = provider;
+    put("provider", provider);
   }
 
   /** {@inheritDoc} */
@@ -138,6 +146,7 @@ public class ActivityEntryImpl extends E
   /** {@inheritDoc} */
   public void setTarget(ActivityObject target) {
     this.target = target;
+    put("target", target);
   }
 
   /** {@inheritDoc} */
@@ -148,6 +157,7 @@ public class ActivityEntryImpl extends E
   /** {@inheritDoc} */
   public void setTitle(String title) {
     this.title = title;
+    put("title", title);
   }
 
   /** {@inheritDoc} */
@@ -158,6 +168,7 @@ public class ActivityEntryImpl extends E
   /** {@inheritDoc} */
   public void setUpdated(String updated) {
     this.updated = updated;
+    put("updated", updated);
   }
   
   /** {@inheritDoc} */
@@ -168,6 +179,7 @@ public class ActivityEntryImpl extends E
   /** {@inheritDoc} */
   public void setUrl(String url) {
     this.url = url;
+    put("url", url);
   }
 
   /** {@inheritDoc} */
@@ -178,6 +190,7 @@ public class ActivityEntryImpl extends E
   /** {@inheritDoc} */
   public void setVerb(String verb) {
     this.verb = verb;
+    put("verb", verb);
   }
 
   /** {@inheritDoc} */
@@ -188,6 +201,7 @@ public class ActivityEntryImpl extends E
   /** {@inheritDoc} */
   public void setOpenSocial(ExtendableBean openSocial) {
     this.openSocial = openSocial;
+    put("openSocial", openSocial);
   }
   
   /** {@inheritDoc} */
@@ -198,6 +212,7 @@ public class ActivityEntryImpl extends E
   /** {@inheritDoc} */
   public void setExtensions(ExtendableBean extensions) {
     this.extensions = extensions;
+    put("extensions", extensions);
   }
 
   /**

Modified: shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/model/ActivityObjectImpl.java
URL: http://svn.apache.org/viewvc/shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/model/ActivityObjectImpl.java?rev=1141957&r1=1141956&r2=1141957&view=diff
==============================================================================
--- shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/model/ActivityObjectImpl.java
(original)
+++ shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/model/ActivityObjectImpl.java
Fri Jul  1 14:56:36 2011
@@ -59,6 +59,7 @@ public class ActivityObjectImpl extends 
   /** {@inheritDoc} */
   public void setAttachments(List<ActivityObject> attachments) {
     this.attachments = attachments;
+    put("attachments", attachments);
   }
 
   /** {@inheritDoc} */
@@ -69,6 +70,7 @@ public class ActivityObjectImpl extends 
   /** {@inheritDoc} */
   public void setAuthor(ActivityObject author) {
     this.author = author;
+    put("author", author);
   }
   
   /** {@inheritDoc} */
@@ -79,6 +81,7 @@ public class ActivityObjectImpl extends 
   /** {@inheritDoc} */
   public void setContent(String content) {
     this.content = content;
+    put("content", content);
   }
 
   /** {@inheritDoc} */
@@ -89,6 +92,7 @@ public class ActivityObjectImpl extends 
   /** {@inheritDoc} */
   public void setDisplayName(String displayName) {
     this.displayName = displayName;
+    put("displayName", displayName);
   }
 
   /** {@inheritDoc} */
@@ -99,6 +103,7 @@ public class ActivityObjectImpl extends 
   /** {@inheritDoc} */
   public void setDownstreamDuplicates(List<String> downstreamDuplicates) {
     this.downstreamDuplicates = downstreamDuplicates;
+    put("downstreamDuplicates", downstreamDuplicates);
   }
   
   /** {@inheritDoc} */
@@ -109,6 +114,7 @@ public class ActivityObjectImpl extends 
   /** {@inheritDoc} */
   public void setId(String id) {
     this.id = id;
+    put("id", id);
   }
 
   /** {@inheritDoc} */
@@ -119,6 +125,7 @@ public class ActivityObjectImpl extends 
   /** {@inheritDoc} */
   public void setImage(MediaLink image) {
     this.image = image;
+    put("image", image);
   }
 
   /** {@inheritDoc} */
@@ -129,6 +136,7 @@ public class ActivityObjectImpl extends 
   /** {@inheritDoc} */
   public void setObjectType(String objectType) {
     this.objectType = objectType;
+    put("objectType", objectType);
   }
   
   /** {@inheritDoc} */
@@ -139,6 +147,7 @@ public class ActivityObjectImpl extends 
   /** {@inheritDoc} */
   public void setPublished(String published) {
     this.published = published;
+    put("published", published);
   }
 
   /** {@inheritDoc} */
@@ -149,6 +158,7 @@ public class ActivityObjectImpl extends 
   /** {@inheritDoc} */
   public void setSummary(String summary) {
     this.summary = summary;
+    put("summary", summary);
   }
   
   /** {@inheritDoc} */
@@ -159,6 +169,7 @@ public class ActivityObjectImpl extends 
   /** {@inheritDoc} */
   public void setUpdated(String updated) {
     this.updated = updated;
+    put("updated", updated);
   }
 
   /** {@inheritDoc} */
@@ -169,6 +180,7 @@ public class ActivityObjectImpl extends 
   /** {@inheritDoc} */
   public void setUpstreamDuplicates(List<String> upstreamDuplicates) {
     this.upstreamDuplicates = upstreamDuplicates;
+    put("upstreamDuplicates", upstreamDuplicates);
   }
   
   /** {@inheritDoc} */
@@ -179,6 +191,7 @@ public class ActivityObjectImpl extends 
   /** {@inheritDoc} */
   public void setUrl(String url) {
     this.url = url;
+    put("url", url);
   }
   
   /** {@inheritDoc} */
@@ -189,5 +202,6 @@ public class ActivityObjectImpl extends 
   /** {@inheritDoc} */
   public void setOpenSocial(ExtendableBean openSocial) {
     this.openSocial = openSocial;
+    put("openSocial", openSocial);
   }
 }
\ No newline at end of file

Modified: shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/model/MediaLinkImpl.java
URL: http://svn.apache.org/viewvc/shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/model/MediaLinkImpl.java?rev=1141957&r1=1141956&r2=1141957&view=diff
==============================================================================
--- shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/model/MediaLinkImpl.java
(original)
+++ shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/model/MediaLinkImpl.java
Fri Jul  1 14:56:36 2011
@@ -48,6 +48,7 @@ public class MediaLinkImpl extends Exten
   /** {@inheritDoc} */
   public void setDuration(Integer duration) {
     this.duration = duration;
+    put("duration", duration);
   }
 
   /** {@inheritDoc} */
@@ -58,6 +59,7 @@ public class MediaLinkImpl extends Exten
   /** {@inheritDoc} */
   public void setHeight(Integer height) {
     this.height = height;
+    put("height", height);
   }
 
   /** {@inheritDoc} */
@@ -68,6 +70,7 @@ public class MediaLinkImpl extends Exten
   /** {@inheritDoc} */
   public void setUrl(String url) {
     this.url = url;
+    put("url", url);
   }
 
   /** {@inheritDoc} */
@@ -78,6 +81,7 @@ public class MediaLinkImpl extends Exten
   /** {@inheritDoc} */
   public void setWidth(Integer width) {
     this.width = width;
+    put("width", width);
   }
   
   /** {@inheritDoc} */
@@ -88,5 +92,6 @@ public class MediaLinkImpl extends Exten
   /** {@inheritDoc} */
   public void setOpenSocial(ExtendableBean openSocial) {
     this.openSocial = openSocial;
+    put("openSocial", openSocial);
   }
 }



Mime
View raw message