/* Copyright 2012 Tim Garrett, Mothsoft LLC * * Licensed 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 com.mothsoft.alexis.rest.document.v1; import javax.xml.bind.annotation.XmlRootElement; import org.codehaus.jackson.annotate.JsonTypeName; @JsonTypeName("Tweet") @XmlRootElement(name = "Tweet") public class Tweet extends Document { private Long remoteTweetId; private String screenName; private String fullName; private String profileImageUrl; private boolean retweet; private String retweetUserName; private String formattedText; public Tweet() { super(); } public Long getRemoteTweetId() { return remoteTweetId; } public void setRemoteTweetId(Long remoteTweetId) { this.remoteTweetId = remoteTweetId; } public String getScreenName() { return screenName; } public void setScreenName(String screenName) { this.screenName = screenName; } public String getFullName() { return fullName; } public void setFullName(String fullName) { this.fullName = fullName; } public String getProfileImageUrl() { return profileImageUrl; } public void setProfileImageUrl(String profileImageUrl) { this.profileImageUrl = profileImageUrl; } public boolean isRetweet() { return retweet; } public void setRetweet(boolean retweet) { this.retweet = retweet; } public String getRetweetUserName() { return retweetUserName; } public void setRetweetUserName(String retweetUserName) { this.retweetUserName = retweetUserName; } public String getFormattedText() { return formattedText; } public void setFormattedText(String formattedText) { this.formattedText = formattedText; } }