Exemplo n.º 1
0
 public Album getRandomAlbum() {
   UUID uuid = UUID.randomUUID();
   Album sampleAlbum = new Album(uuid.toString());
   sampleAlbum.setDescription("description 2");
   sampleAlbum.setTitle("Title 2");
   sampleAlbum.setMail("*****@*****.**");
   sampleAlbum.setImage_paths("tes,tPath,ghhgfh,dsff");
   sampleAlbum.setTags("Natu,re,gh,tyhgh");
   return sampleAlbum;
 }
Exemplo n.º 2
0
 public void printAlbumInfo(Album album) {
   System.out.println(
       album.getPartitionKey()
           + "\t"
           + album.getRowKey()
           + "\t"
           + album.getTitle()
           + "\t"
           + album.getDescription()
           + "\t"
           + album.getMail()
           + "\t"
           + album.getImage_paths()
           + "\t"
           + album.getTags());
 }