Android Open Source - dbpendler Station V O

From Project

Back to project page dbpendler.


The source code is released under:

Copyright 2013 Marcus Schiesser Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Softw...

If you think the Android project dbpendler 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 de.marcusschiesser.dbpendler.common.vo;
/*  w  w  w .  j  a va 2s .  c  o m*/

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

public class StationVO implements Serializable {

  private static final long serialVersionUID = -4162834891520852561L;

  private String value;
  private String typeStr;
  private String type;
  private String weight;
  public StationVO() {}
  public StationVO(String value) {
    this.value = value;
  public int hashCode() {
    final int prime = 31;
    int result = 1;
    result = prime * result + ((value == null) ? 0 : value.hashCode());
    return result;

  public boolean equals(Object obj) {
    if (this == obj)
      return true;
    if (obj == null)
      return false;
    if (getClass() != obj.getClass())
      return false;
    StationVO other = (StationVO) obj;
    if (value == null) {
      if (other.value != null)
        return false;
    } else if (!value.equals(other.value))
      return false;
    return true;

  public String getValue() {
    return value;

  public String getTypeStr() {
    return typeStr;

  public void setValue(String value) {
    this.value = value;

  public void setTypeStr(String typeStr) {
    this.typeStr = typeStr;

  public void setType(String type) {
    this.type = type;

  public String getType() {
    return type;

  public void setWeight(String weight) {
    this.weight = weight;

  public String getWeight() {
    return weight;

Java Source Code List