public class VideoList extends ResponseData
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <mediaList> <media> <credits>SFqBzNJOhylLSYMjiECBNYaSbkQllBPZEMKoWQWNnzsTLdVqhkKbQiEgAcChvIlI</credits> <description>ohJQtbqPqDzHjdCuZczJAXdAGhfAUWnyZJEbnEMwHWbPwCeyffUTPJuSywmDBPBk</description> <UID>19829292-ef89-416f-960f-b1d7b11e34fd</UID> <name>cugsioiebeBllIwEvFrTCLMDQFecwHSfUvOxxrnUOLXPbvDwztOgxMhQhIAFaulo</name> <serviceId>1</serviceId> <visibility>PUBLIC</visibility> <objectList> <object> <backendId>123140383</backendId> <confidence>0.7635220083362054</confidence> <mediaObjectId>4589843724442898034</mediaObjectId> <mediaType>VIDEO</mediaType> <objectId>XUvwLwTZXLnaOmACvzTKJTvljniZgHttFZESRXMAfZhzpcBpiCNmWpmCcQNngnYF</objectId> <rank>788949782</rank> <serviceId>1</serviceId> <status>CANDIDATE</status> <objectType>KEYWORD</objectType> <value>jpMekJkpjElhzlJUMSRRazpvilVoYYWeUxEdRDatfCMUgPzcdMkZeRwZOBDSytLb</value> <visibility>PRIVATE</visibility> <timeCodeList> <timeCode> <to>2423.2684506283576</to> <from>1768.3926772437492</from> </timeCode> </timeCodeList> <userId>4966512143658566987</userId> </object> </objectList> <mediaType>VIDEO</mediaType> <userId>4966512143658566987</userId> <url>http://fe.example.org/rest/vcarc/r?uid=19829292-ef89-416f-960f-b1d7b11e34fd&service_id=1</url> </media> </mediaList>
Video
,
ResultInfo
Constructor and Description |
---|
VideoList() |
Modifier and Type | Method and Description |
---|---|
void |
addVideo(Video video) |
void |
addVideos(VideoList videos) |
static int |
count(VideoList list) |
java.util.List<java.lang.String> |
getGUIDs() |
static java.util.List<java.lang.String> |
getGUIDs(VideoList videoList) |
ResultInfo |
getResultInfo() |
Video |
getVideo(java.lang.String guid) |
static VideoList |
getVideoList(java.util.Collection<Video> videos,
ResultInfo resultInfo) |
java.util.List<Video> |
getVideos() |
static boolean |
isEmpty(VideoList list) |
static boolean |
isValid(VideoList list) |
void |
setResultInfo(ResultInfo resultInfo) |
void |
setVideos(java.util.List<Video> videos) |
getDataClasses
public VideoList()
public void addVideos(VideoList videos)
videos
- getVideos()
public Video getVideo(java.lang.String guid)
guid
- public java.util.List<java.lang.String> getGUIDs()
public static java.util.List<java.lang.String> getGUIDs(VideoList videoList)
videoList
- public ResultInfo getResultInfo()
setResultInfo(ResultInfo)
public void setResultInfo(ResultInfo resultInfo)
resultInfo
- the resultInfo to setgetResultInfo()
public java.util.List<Video> getVideos()
setVideos(List)
public void setVideos(java.util.List<Video> videos)
videos
- the videos to setgetVideos()
public static VideoList getVideoList(java.util.Collection<Video> videos, ResultInfo resultInfo)
videos
- resultInfo
- optional resultInfopublic static boolean isEmpty(VideoList list)
list
- public static boolean isValid(VideoList list)
list
- can be nullpublic static int count(VideoList list)
list
- Copyright © 2015 Tampere University of Technology, Pori Department.