001package service.tut.pori.twitterjazz.reference; 002 003import javax.xml.bind.annotation.XmlAccessType; 004import javax.xml.bind.annotation.XmlAccessorType; 005import javax.xml.bind.annotation.XmlElement; 006import javax.xml.bind.annotation.XmlRootElement; 007 008import service.tut.pori.contentanalysis.Definitions; 009import service.tut.pori.twitterjazz.TwitterLocation; 010import service.tut.pori.twitterjazz.TwitterPhotoDescription; 011import service.tut.pori.twitterjazz.TwitterPhotoTag; 012import service.tut.pori.twitterjazz.TwitterProfile; 013import service.tut.pori.twitterjazz.TwitterStatusMessage; 014import service.tut.pori.twitterjazz.TwitterSummarizationTaskDetails; 015import service.tut.pori.twitterjazz.TwitterTaskResponse; 016import service.tut.pori.twitterjazz.TwitterUserDetails; 017import service.tut.pori.twitterjazz.TwitterVideoDescription; 018import core.tut.pori.http.ResponseData; 019 020/** 021 * Response example 022 * 023 */ 024@XmlRootElement(name=service.tut.pori.twitterjazz.reference.Definitions.ELEMENT_EXAMPLE) 025@XmlAccessorType(XmlAccessType.NONE) 026public class Example extends ResponseData { 027 @XmlElement(name=Definitions.ELEMENT_TASK_DETAILS) 028 private TwitterSummarizationTaskDetails _taskDetails = null; 029 @XmlElement(name=Definitions.ELEMENT_TASK_RESULTS) 030 private TwitterTaskResponse _taskResponse = null; 031 @XmlElement(name=service.tut.pori.twitterjazz.Definitions.ELEMENT_LOCATION) 032 private TwitterLocation _twitterLocation = null; 033 @XmlElement(name=service.tut.pori.twitterjazz.Definitions.ELEMENT_PHOTO_DESCRIPTION) 034 private TwitterPhotoDescription _twitterPhotoDescription = null; 035 @XmlElement(name=service.tut.pori.twitterjazz.Definitions.ELEMENT_PHOTO_TAG) 036 private TwitterPhotoTag _twitterPhotoTag = null; 037 @XmlElement(name=service.tut.pori.twitterjazz.Definitions.ELEMENT_TWITTER_PROFILE) 038 private TwitterProfile _twitterProfile = null; 039 @XmlElement(name=service.tut.pori.twitterjazz.Definitions.ELEMENT_STATUS_MESSAGE) 040 private TwitterStatusMessage _twitterStatusMessage = null; 041 @XmlElement(name=service.tut.pori.twitterjazz.Definitions.ELEMENT_USER_DETAILS) 042 private TwitterUserDetails _twitterUserDetails = null; 043 @XmlElement(name=service.tut.pori.twitterjazz.Definitions.ELEMENT_VIDEO_DESCRIPTION) 044 private TwitterVideoDescription _twitterVideoDescription = null; 045 046 /** 047 * @return the twitterSummarizationTaskDetails 048 */ 049 public TwitterSummarizationTaskDetails getTaskDetails() { 050 return _taskDetails; 051 } 052 053 /** 054 * @param taskDetails the twitterSummarizationTaskDetails to set 055 */ 056 public void setTaskDetails(TwitterSummarizationTaskDetails taskDetails) { 057 _taskDetails = taskDetails; 058 } 059 060 /** 061 * @return the taskResponse 062 */ 063 public TwitterTaskResponse getTaskResponse() { 064 return _taskResponse; 065 } 066 067 /** 068 * @param taskResponse the taskResponse to set 069 */ 070 public void setTaskResponse(TwitterTaskResponse taskResponse) { 071 _taskResponse = taskResponse; 072 } 073 074 /** 075 * @return the twitterLocation 076 */ 077 public TwitterLocation getTwitterLocation() { 078 return _twitterLocation; 079 } 080 081 /** 082 * @param twitterLocation the twitterLocation to set 083 */ 084 public void setTwitterLocation(TwitterLocation twitterLocation) { 085 _twitterLocation = twitterLocation; 086 } 087 088 /** 089 * @return the twitterPhotoDescription 090 */ 091 public TwitterPhotoDescription getTwitterPhotoDescription() { 092 return _twitterPhotoDescription; 093 } 094 095 /** 096 * @param twitterPhotoDescription the twitterPhotoDescription to set 097 */ 098 public void setTwitterPhotoDescription(TwitterPhotoDescription twitterPhotoDescription) { 099 _twitterPhotoDescription = twitterPhotoDescription; 100 } 101 102 /** 103 * @return the twitterPhotoTag 104 */ 105 public TwitterPhotoTag getTwitterPhotoTag() { 106 return _twitterPhotoTag; 107 } 108 109 /** 110 * @param twitterPhotoTag the twitterPhotoTag to set 111 */ 112 public void setTwitterPhotoTag(TwitterPhotoTag twitterPhotoTag) { 113 _twitterPhotoTag = twitterPhotoTag; 114 } 115 116 /** 117 * @return the twitterProfile 118 */ 119 public TwitterProfile getTwitterProfile() { 120 return _twitterProfile; 121 } 122 123 /** 124 * @param twitterProfile the twitterProfile to set 125 */ 126 public void setTwitterProfile(TwitterProfile twitterProfile) { 127 _twitterProfile = twitterProfile; 128 } 129 130 /** 131 * @return the twitterStatusMessage 132 */ 133 public TwitterStatusMessage getTwitterStatusMessage() { 134 return _twitterStatusMessage; 135 } 136 137 /** 138 * @param twitterStatusMessage the twitterStatusMessage to set 139 */ 140 public void setTwitterStatusMessage(TwitterStatusMessage twitterStatusMessage) { 141 _twitterStatusMessage = twitterStatusMessage; 142 } 143 144 /** 145 * @return the twitterUserDetails 146 */ 147 public TwitterUserDetails getTwitterUserDetails() { 148 return _twitterUserDetails; 149 } 150 151 /** 152 * @param twitterUserDetails the twitterUserDetails to set 153 */ 154 public void setTwitterUserDetails(TwitterUserDetails twitterUserDetails) { 155 _twitterUserDetails = twitterUserDetails; 156 } 157 158 /** 159 * @return the twitterVideoDescription 160 */ 161 public TwitterVideoDescription getTwitterVideoDescription() { 162 return _twitterVideoDescription; 163 } 164 165 /** 166 * @param twitterVideoDescription the twitterVideoDescription to set 167 */ 168 public void setTwitterVideoDescription(TwitterVideoDescription twitterVideoDescription) { 169 _twitterVideoDescription = twitterVideoDescription; 170 } 171}