Author: lindner
Date: Mon Aug 25 12:05:15 2008
New Revision: 688827
URL: http://svn.apache.org/viewvc?rev=688827&view=rev
Log:
unbreak build..
Added:
incubator/shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/opensocial/spi/RestfulItem.java
Added:
incubator/shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/opensocial/spi/RestfulItem.java
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/opensocial/spi/RestfulItem.java?rev=688827&view=auto
==============================================================================
---
incubator/shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/opensocial/spi/RestfulItem.java
(added)
+++
incubator/shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/opensocial/spi/RestfulItem.java
Mon Aug 25 12:05:15 2008
@@ -0,0 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+package org.apache.shindig.social.opensocial.spi;
+
+import org.apache.shindig.social.ResponseItem;
+import org.apache.shindig.social.ResponseError;
+
+import java.util.List;
+
+public class RestfulItem<T> extends ResponseItem {
+ private T entry;
+
+ public RestfulItem(ResponseError error, String errorMessage) {
+ super(error, errorMessage);
+ }
+
+ public RestfulItem(T entry) {
+ this.entry = entry;
+ }
+
+ public T getEntry() {
+ return entry;
+ }
+
+ public void setEntry(T entry) {
+ this.entry = entry;
+ }
+}