public class PhotoFeedbackList extends java.lang.Object
PhotoList
with at least one Photo
. The photos in the SimilarPhotoList
and DissimilarPhotoList
are similar and not similar to the photos listed in the ReferencePhotoList
.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <feedbackList> <dissimilarMediaList> <media> <UID>59e818f6-449b-400a-8fb9-6fd0ab7bc406</UID> <serviceId>6</serviceId> <mediaType>PHOTO</mediaType> <userId>7902884308196510626</userId> <url>http://fe.example.org/rest/carc/r?uid=59e818f6-449b-400a-8fb9-6fd0ab7bc406&service_id=6</url> </media> </dissimilarMediaList> <referenceMediaList> <media> <UID>8636f944-3e98-4466-9c29-d9b1b18cad8e</UID> <serviceId>6</serviceId> <mediaType>PHOTO</mediaType> <userId>6731598996849973925</userId> <url>http://fe.example.org/rest/carc/r?uid=8636f944-3e98-4466-9c29-d9b1b18cad8e&service_id=6</url> </media> </referenceMediaList> <similarMediaList> <media> <UID>5addb4e7-d989-4b0c-a65d-249dfeb63e70</UID> <serviceId>4</serviceId> <mediaType>PHOTO</mediaType> <userId>793347160877959084</userId> <url>http://fe.example.org/rest/carc/r?uid=5addb4e7-d989-4b0c-a65d-249dfeb63e70&service_id=4</url> </media> </similarMediaList> </feedbackList>
DissimilarPhotoList
,
ReferencePhotoList
,
SimilarPhotoList
Constructor and Description |
---|
PhotoFeedbackList(DissimilarPhotoList dissimilars,
ReferencePhotoList references,
SimilarPhotoList similars)
references must be given, similars and/or dissimilars must be given
|
Modifier and Type | Method and Description |
---|---|
DissimilarPhotoList |
getDissimilarPhotos() |
ReferencePhotoList |
getReferencePhotos() |
SimilarPhotoList |
getSimilarPhotos() |
static boolean |
isValid(PhotoFeedbackList list) |
void |
setDissimilarPhotos(DissimilarPhotoList dissimilarPhotos) |
void |
setReferencePhotos(ReferencePhotoList referencePhotos) |
void |
setSimilarPhotos(SimilarPhotoList similarPhotos) |
public PhotoFeedbackList(DissimilarPhotoList dissimilars, ReferencePhotoList references, SimilarPhotoList similars)
dissimilars
- references
- similars
- public ReferencePhotoList getReferencePhotos()
public void setReferencePhotos(ReferencePhotoList referencePhotos)
referencePhotos
- public SimilarPhotoList getSimilarPhotos()
public void setSimilarPhotos(SimilarPhotoList similarPhotos)
similarPhotos
- public DissimilarPhotoList getDissimilarPhotos()
public void setDissimilarPhotos(DissimilarPhotoList dissimilarPhotos)
dissimilarPhotos
- public static boolean isValid(PhotoFeedbackList list)
list
- can be nullCopyright © 2015 Tampere University of Technology, Pori Department.