Android Open Source - marriagenda Location






From Project

Back to project page marriagenda.

License

The source code is released under:

MIT License

If you think the Android project marriagenda listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package marriagenda.controller.utilities;
//  w w  w . j av a 2s. c  o m
import java.io.Serializable;

/*
 * marriAGENDA Location class
 * Author: Robyn Cute
 * 
 * This class sets the location of the event, as
 * input by an administrator.
 */

public class Location implements Serializable {

  private String name;
  private String address;
  private String city;
  private String state;
  private Integer zip;
  private String comments;

  public Location(String name, String address, String city, String state,
      Integer zip, String comments) {

    this.name = name;
    this.address = address;
    this.city = city;
    this.state = state;
    this.zip = zip;
    this.comments = comments;

  }

  // Sets the initial values to be blank
  public Location() {
    name = "";
    address = "";
    city = "";
    state = "";
    zip = 00000;
    comments = "";

  }

  // Getter for name
  public String getName() {

    return name;
  }

  // Setter for name
  public void setName(String name) {

    this.name = name;
  }

  // Getter for address
  public String getAddress() {

    return address;
  }

  // Setter for address
  public void setAddress(String address) {

    this.address = address;
  }

  // Getter for city
  public String getCity() {

    return city;

  }

  // Setter for city
  public void setCity(String city) {

    this.city = city;
  }

  // Getter for State
  public String getState() {

    return state;
  }

  // Setter for State
  public void setState(String state) {

    this.state = state;
  }

  // Getter for zip
  public int getZip() {

    return zip;
  }

  // Setter for zip
  public void setZip(Integer zip) {

    this.zip = zip;
  }

  // Getter for comments
  public String getComments() {

    return comments;

  }

  // Setter for comments
  public void setComments(String comments) {

    this.comments = comments;
  }

  public String toString() {
    return name + "\n" + address + "\n" + city + ", " + state + " " + zip;

  }

}




Java Source Code List

com.marriagenda.marriagendamobile.Admin_Fragment.java
com.marriagenda.marriagendamobile.EventInvite.java
com.marriagenda.marriagendamobile.Guest_Fragment.java
com.marriagenda.marriagendamobile.MarriagendaActivity.java
com.marriagenda.marriagendamobile.MarriagendaRegister.java
com.marriagenda.marriagendamobile.MarriagendaSplash.java
com.marriagenda.marriagendamobile.NewEvent.java
com.marriagenda.marriagendamobile.ViewEvent.java
com.marriagenda.marriagendamobile.marriagendaLogin.java
marriagenda.controller.EventController.java
marriagenda.controller.MarriagendaController.java
marriagenda.controller.utilities.AdminList.java
marriagenda.controller.utilities.Event.java
marriagenda.controller.utilities.GuestBook.java
marriagenda.controller.utilities.GuestList.java
marriagenda.controller.utilities.Location.java
marriagenda.controller.utilities.Page.java
marriagenda.controller.utilities.User.java