DummyMapElement.java :  » App » pocketcampus » org » pocketcampus » gui » unstable » Android Open Source

Android Open Source » App » pocketcampus 
pocketcampus » org » pocketcampus » gui » unstable » DummyMapElement.java
/*
 ********************* [ P O C K E T C A M P U S ] *****************
 * [    LICENCE    ]     see "licence"-file in the root directory
 * [   MAINTAINER  ]    andreas.kirchner@epfl.ch
 * [     STATUS    ]    unstable
 *
 **************************[ C O M M E N T S ]**********************
 *
 * We want something easy to instantiate, so we created this.
 *                      
 *******************************************************************
 */
package org.pocketcampus.gui.unstable;

import java.io.Serializable;
import org.pocketcampus.map.Position;
import org.pocketcampus.shared.map.MapElementType;


public class DummyMapElement implements Serializable {

  private final Position position;
  private final MapElementType type;
  private final String title;
  private final String description;
  
  /**
   * 
   */
  private static final long serialVersionUID = -4070648553122329818L;

  public DummyMapElement(Position position, MapElementType type,
      String title, String description) {
    this.position = position;
    this.type = type;
    this.title = title;
    this.description = description;
  }

  public Position getPosition() {
    return position;
  }

  public MapElementType getType() {
    return type;
  }

  public String getTitle() {
    return title;
  }

  public String getDescription() {
    return description;
  }

  public static long getSerialversionuid() {
    return serialVersionUID;
  }


}
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.