blob: aeba94f2d10ba312c19e9ebe334648c70be18bcc [file] [log] [blame]
/*
* 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.photark.social.activity;
import java.util.Date;
public class Activity {
private String body; // content of the activity
private String id; // ID associated with this activity
// private Array<MediaItem>
private Date postedTime;
private String title; // primary text of an activity
private String url; // url representing this activity
private String userId; // ID of the user to whom this activity is belong to
public void setBody(String body) {
this.body = body;
}
public String getBody() {
return body;
}
public void setId(String id) {
this.id = id;
}
public String getId() {
return id;
}
public Date getPostedTime() {
return postedTime;
}
public void setPostedTime(Date postedTime) {
this.postedTime = postedTime;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
}