Android Open Source - marriagenda Event






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.  co m
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.UUID;

import android.util.Log;

public class Event implements Serializable {

  private UUID eventID;
  private String eventName, eventDescription;
  private AdminList eventAdmins;
  public GuestList eventGuests;
  private Calendar eventDate;
  private Location eventVenue;
  private ArrayList<String> comments = new ArrayList<String>();

  public Event(UUID eID, String name, String description,/* User[3] admins, */
      Calendar date, Location venue) {
    eventID = eID;
    eventName = name;
    eventDescription = description;
    Calendar eventDate = date;
    Location eventVenue = new Location(venue.getName(), venue.getAddress(),
        venue.getCity(), venue.getState(), venue.getZip(),
        venue.getComments());
  }

  public Event() {

  }

  public UUID getEventID() {
    return eventID;
  }

  public void addGuest(User u) {
    eventGuests.addGuest(u);
  }

  public Calendar getDate() {
    return this.eventDate;
  }

  public Location getVenue() {
    return eventVenue;
  }

  public String toString() {
    return this.eventName;
  }

  public String getName() {
    return this.eventName;
  }

  public void setName(String n) {
    eventName = n;
  }

  public String getDescription() {
    return this.eventDescription;
  }

  public void addDescription(String d) {
    this.eventDescription = d;
  }

  public void setDate(Calendar d) {
    this.eventDate = d;
  }

  public void setVenue(Location v) {
    this.eventVenue = v;
  }

  public GuestList getGuests() {
    return this.eventGuests;
  }

  public void setDecision(User u, String dec) {
    eventGuests.setDecision(u, dec);
  }

  public ArrayList<String> getComments() {
    return this.comments;
  }

}




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