/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.flink.contrib.tweetinputformat.model.places; public class Attributes { private String street_address = ""; private String locality = ""; private String region = ""; private String iso3 = ""; private String postal_code = ""; private String phone = ""; private String twitter = "twitter"; private String url = ""; // in the API it is app:id !! private String appId = ""; public Attributes() { } public String getStreet_address() { return street_address; } public void setStreet_address(String street_address) { this.street_address = street_address; } public String getLocality() { return locality; } public void setLocality(String locality) { this.locality = locality; } public String getRegion() { return region; } public void setRegion(String region) { this.region = region; } public String getIso3() { return iso3; } public void setIso3(String iso3) { this.iso3 = iso3; } public String getPostal_code() { return postal_code; } public void setPostal_code(String postal_code) { this.postal_code = postal_code; } public String getPhone() { return phone; } public void setPhone(String phone) { this.phone = phone; } public String getTwitter() { return twitter; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getAppId() { return appId; } public void setAppId(String appId) { this.appId = appId; } }