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     */
017    package org.geonames;
018    
019    /**
020     * a street address
021     * 
022     * @author Mark Thomas
023     * 
024     */
025    public class Address extends PostalCode {
026    
027            private String street;
028    
029            private String streetNumber;
030    
031            private String mtfcc;
032    
033            /**
034             * @return the street
035             */
036            public String getStreet() {
037                    return street;
038            }
039    
040            /**
041             * @param street
042             *            the street to set
043             */
044            public void setStreet(String street) {
045                    this.street = street;
046            }
047    
048            /**
049             * @return the streetNumber
050             */
051            public String getStreetNumber() {
052                    return streetNumber;
053            }
054    
055            /**
056             * @param streetNumber
057             *            the streetNumber to set
058             */
059            public void setStreetNumber(String streetNumber) {
060                    this.streetNumber = streetNumber;
061            }
062    
063            /**
064             * @return the mtfcc
065             */
066            public String getMtfcc() {
067                    return mtfcc;
068            }
069    
070            /**
071             * @param mtfcc
072             *            the mtfcc to set
073             */
074            public void setMtfcc(String mtfcc) {
075                    this.mtfcc = mtfcc;
076            }
077    
078    }