| /******************************************************************************* |
| * Copyright (c) 2010 BestSolution.at and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Tom Schindl <tom.schindl@bestsolution.at> - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.e4.demo.e4photo.flickr.service; |
| |
| /** |
| * Domain class describing a photo on flickr |
| */ |
| public class FlickrPhoto { |
| private String id; |
| private String owner; |
| private String secret; |
| private String server; |
| private int farm; |
| private String title; |
| private boolean isPublic; |
| private boolean isFriend; |
| private boolean isFamily; |
| |
| public String getId() { |
| return id; |
| } |
| |
| public void setId(String id) { |
| this.id = id; |
| } |
| |
| public String getOwner() { |
| return owner; |
| } |
| |
| public void setOwner(String owner) { |
| this.owner = owner; |
| } |
| |
| public String getSecret() { |
| return secret; |
| } |
| |
| public void setSecret(String secret) { |
| this.secret = secret; |
| } |
| |
| public String getServer() { |
| return server; |
| } |
| |
| public void setServer(String server) { |
| this.server = server; |
| } |
| |
| public int getFarm() { |
| return farm; |
| } |
| |
| public void setFarm(int farm) { |
| this.farm = farm; |
| } |
| |
| public String getTitle() { |
| return title; |
| } |
| |
| public void setTitle(String title) { |
| this.title = title; |
| } |
| |
| public boolean isPublic() { |
| return isPublic; |
| } |
| |
| public void setPublic(boolean isPublic) { |
| this.isPublic = isPublic; |
| } |
| |
| public boolean isFriend() { |
| return isFriend; |
| } |
| |
| public void setFriend(boolean isFriend) { |
| this.isFriend = isFriend; |
| } |
| |
| public boolean isFamily() { |
| return isFamily; |
| } |
| |
| public void setFamily(boolean isFamily) { |
| this.isFamily = isFamily; |
| } |
| |
| } |