summaryrefslogtreecommitdiff
path: root/src/data/Tweet.java
AgeCommit message (Collapse)AuthorFilesLines
2014-05-10More nullable annotations, print tweets for parse errors tooPeter Wu1-0/+1
Nullable is based on Twitter platform (users, tweets) documentation. Now the line number is also printed.
2014-05-10Convert long to int where possible, fix retweetidPeter Wu1-1/+1
If there is no retweet, the retweetid must really be NULL, not 0. In order to better match the database, convert some types to integers too.
2014-05-10Convert String to DateTime (for created_at)Peter Wu1-1/+2
Extra efforts are done to keep the timezone information.
2014-05-10Centralize Gson creation and registrationPeter Wu1-4/+2
2014-05-10Coordinates is an object with an arrayPeter Wu1-1/+9
Ensure that the array is of a fixed length, add tests to check for that.
2014-05-09Entities can be missing, user.place is not a stringPeter Wu1-1/+15
* User: place is not a string but a Place object. * User: entities is nullable. * Tweet: in_reply_to_user_id, coordinates is nullable. * ValidatingJsonDeserializer: Treat null values as missing fields. * ValidatingJsonDeserializerTest: Test for null values.
2014-05-09Add missing annotation for retweeted_status, more testsPeter Wu1-0/+1
2014-05-09Add missing validation annotations, ...Peter Wu1-6/+10
* Add missing Validator annotations for User. * Add entities and url properties for user. * Properly do a recursive check if an Validator annotation is present.
2014-05-08Add json containers for Tweet and User objectsPeter Wu1-0/+57