001/* 002 * Copyright 2008 Marc Wick, geonames.org 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 * 016 */ 017package org.geonames; 018 019/** 020 * a street address 021 * 022 * @author Mark Thomas 023 * 024 */ 025public class Address extends PostalCode { 026 027 private String sourceId; 028 029 private String street; 030 031 private String streetNumber; 032 033 private String mtfcc; 034 035 /** 036 * @return the sourceId 037 */ 038 public String getSourceId() { 039 return sourceId; 040 } 041 042 /** 043 * @param sourceId the sourceId to set 044 */ 045 public void setSourceId(String sourceId) { 046 this.sourceId = sourceId; 047 } 048 049 /** 050 * @return the street 051 */ 052 public String getStreet() { 053 return street; 054 } 055 056 /** 057 * @param street 058 * the street to set 059 */ 060 public void setStreet(String street) { 061 this.street = street; 062 } 063 064 /** 065 * @return the streetNumber 066 */ 067 public String getStreetNumber() { 068 return streetNumber; 069 } 070 071 /** 072 * @param streetNumber 073 * the streetNumber to set 074 */ 075 public void setStreetNumber(String streetNumber) { 076 this.streetNumber = streetNumber; 077 } 078 079 /** 080 * @return the mtfcc 081 */ 082 public String getMtfcc() { 083 return mtfcc; 084 } 085 086 /** 087 * @param mtfcc 088 * the mtfcc to set 089 */ 090 public void setMtfcc(String mtfcc) { 091 this.mtfcc = mtfcc; 092 } 093 094}