/* * Copyright 2014 Thiago da Silva Gonzaga <thiagosg@sjrp.unesp.br>. * * Licensed 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 com.example.collections; import com.mongocom.annotations.Internal; /** * * @author Thiago da Silva Gonzaga <thiagosg@sjrp.unesp.br>. */ @Internal public class Address { private String streetName; private int number; private String neighborhood; private int zipCode; private String city; private String state; public String getStreetName() { return streetName; } public void setStreetName(String streetName) { this.streetName = streetName; } public int getNumber() { return number; } public void setNumber(int number) { this.number = number; } public String getNeighborhood() { return neighborhood; } public void setNeighborhood(String neighborhood) { this.neighborhood = neighborhood; } public String getCity() { return city; } public void setCity(String city) { this.city = city; } public int getZipCode() { return zipCode; } public void setZipCode(int zipCode) { this.zipCode = zipCode; } public String getState() { return state; } public void setState(String state) { this.state = state; } }