AddressImpl.java :  » XML » proton-te » com » somecompany » model » impl » Java Open Source

Java Open Source » XML » proton te 
proton te » com » somecompany » model » impl » AddressImpl.java
package com.somecompany.model.impl;

import com.somecompany.model.Address;
import com.somecompany.model.Country;

/**
 *
 * @author Jason R Briggs
 */
public class AddressImpl implements Address {

    private String addrLine1;
    private String addrLine2;
    private String city;
    private Country country;
    private String postcode;

    public String getAddrLine1() {
        return addrLine1;
    }

    public String getAddrLine2() {
        return addrLine2;
    }

    public String getCity() {
        return city;
    }

    public Country getCountry() {
        return country;
    }

    public String getPostcode() {
        return postcode;
    }

    public void setAddrLine1(String addrLine1) {
        this.addrLine1 = addrLine1;
    }

    public void setAddrLine2(String addrLine2) {
        this.addrLine2 = addrLine2;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public void setCountry(Country country) {
        this.country = country;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.