Author: vsiveton
Date: Wed Mar  4 14:23:21 2009
New Revision: 750019

URL: http://svn.apache.org/viewvc?rev=750019&view=rev
Log:
o added implemented method in 1.1
o Need to remove TODO

Modified:
    
incubator/shindig/trunk/java/samples/src/main/java/org/apache/shindig/social/opensocial/jpa/MessageDb.java

Modified: 
incubator/shindig/trunk/java/samples/src/main/java/org/apache/shindig/social/opensocial/jpa/MessageDb.java
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/java/samples/src/main/java/org/apache/shindig/social/opensocial/jpa/MessageDb.java?rev=750019&r1=750018&r2=750019&view=diff
==============================================================================
--- 
incubator/shindig/trunk/java/samples/src/main/java/org/apache/shindig/social/opensocial/jpa/MessageDb.java
 (original)
+++ 
incubator/shindig/trunk/java/samples/src/main/java/org/apache/shindig/social/opensocial/jpa/MessageDb.java
 Wed Mar  4 14:23:21 2009
@@ -19,8 +19,12 @@
 
 import static javax.persistence.GenerationType.IDENTITY;
 
+import java.util.Date;
+import java.util.List;
+
 import org.apache.shindig.social.opensocial.jpa.api.DbObject;
 import org.apache.shindig.social.opensocial.model.Message;
+import org.apache.shindig.social.opensocial.model.Url;
 
 import javax.persistence.Basic;
 import javax.persistence.Column;
@@ -40,14 +44,14 @@
 @Table(name="message")
 public class MessageDb implements Message, DbObject {
   /**
-   * The internal object ID used for references to this object. Should be 
generated 
+   * The internal object ID used for references to this object. Should be 
generated
    * by the underlying storage mechanism
    */
   @Id
   @GeneratedValue(strategy=IDENTITY)
   @Column(name="oid")
   protected long objectId;
-  
+
   /**
    * An optimistic locking field
    */
@@ -62,7 +66,7 @@
   @Basic
   @Column(name="body", length=255)
   protected String body;
-  
+
   /**
    * model field.
    * @see org.apache.shindig.social.opensocial.model.Message
@@ -70,7 +74,7 @@
   @Basic
   @Column(name="title", length=255)
   protected String title;
-  
+
   /**
    * model field. (database representation of type)
    * @see org.apache.shindig.social.opensocial.model.Message
@@ -78,7 +82,7 @@
   @Basic
   @Column(name="message_type")
   protected String typeDb;
-  
+
   /**
    * model field.
    * @see org.apache.shindig.social.opensocial.model.Message
@@ -169,7 +173,7 @@
   }
 
   /**
-   * 
+   *
    */
   @PrePersist
   public void populateDbFields() {
@@ -177,11 +181,148 @@
   }
 
   /**
-   * 
+   *
    */
   @PostLoad
   public void loadTransientFields() {
     type = Type.valueOf(typeDb);
   }
 
+  /** {...@inheritdoc} */
+  public String getAppUrl() {
+    // TODO Auto-generated method stub
+    return null;
+  }
+
+  /** {...@inheritdoc} */
+  public String getBodyId() {
+    // TODO Auto-generated method stub
+    return null;
+  }
+
+  /** {...@inheritdoc} */
+  public List<String> getCollectionIds() {
+    // TODO Auto-generated method stub
+    return null;
+  }
+
+  /** {...@inheritdoc} */
+  public String getId() {
+    // TODO Auto-generated method stub
+    return null;
+  }
+
+  /** {...@inheritdoc} */
+  public String getInReplyTo() {
+    // TODO Auto-generated method stub
+    return null;
+  }
+
+  /** {...@inheritdoc} */
+  public List<String> getRecipients() {
+    // TODO Auto-generated method stub
+    return null;
+  }
+
+  /** {...@inheritdoc} */
+  public List<String> getReplies() {
+    // TODO Auto-generated method stub
+    return null;
+  }
+
+  /** {...@inheritdoc} */
+  public String getSenderId() {
+    // TODO Auto-generated method stub
+    return null;
+  }
+
+  /** {...@inheritdoc} */
+  public Status getStatus() {
+    // TODO Auto-generated method stub
+    return null;
+  }
+
+  /** {...@inheritdoc} */
+  public Date getTimeSent() {
+    // TODO Auto-generated method stub
+    return null;
+  }
+
+  /** {...@inheritdoc} */
+  public String getTitleId() {
+    // TODO Auto-generated method stub
+    return null;
+  }
+
+  /** {...@inheritdoc} */
+  public Date getUpdated() {
+    // TODO Auto-generated method stub
+    return null;
+  }
+
+  /** {...@inheritdoc} */
+  public List<Url> getUrls() {
+    // TODO Auto-generated method stub
+    return null;
+  }
+
+  /** {...@inheritdoc} */
+  public void setAppUrl(String url) {
+    // TODO Auto-generated method stub
+  }
+
+  /** {...@inheritdoc} */
+  public void setBodyId(String bodyId) {
+    // TODO Auto-generated method stub
+  }
+
+  /** {...@inheritdoc} */
+  public void setCollectionIds(List<String> collectionIds) {
+    // TODO Auto-generated method stub
+  }
+
+  /** {...@inheritdoc} */
+  public void setId(String id) {
+    // TODO Auto-generated method stub
+  }
+
+  /** {...@inheritdoc} */
+  public void setInReplyTo(String parentId) {
+    // TODO Auto-generated method stub
+  }
+
+  /** {...@inheritdoc} */
+  public void setRecipients(List<String> recipients) {
+    // TODO Auto-generated method stub
+  }
+
+  /** {...@inheritdoc} */
+  public void setSenderId(String senderId) {
+    // TODO Auto-generated method stub
+  }
+
+  /** {...@inheritdoc} */
+  public void setStatus(Status status) {
+    // TODO Auto-generated method stub
+  }
+
+  /** {...@inheritdoc} */
+  public void setTimeSent(Date timeSent) {
+    // TODO Auto-generated method stub
+  }
+
+  /** {...@inheritdoc} */
+  public void setTitleId(String titleId) {
+    // TODO Auto-generated method stub
+  }
+
+  /** {...@inheritdoc} */
+  public void setUpdated(Date updated) {
+    // TODO Auto-generated method stub
+  }
+
+  /** {...@inheritdoc} */
+  public void setUrls(List<Url> urls) {
+    // TODO Auto-generated method stub
+  }
 }


Reply via email to