/*
 * JPA entity PK template
 */

package de.ivu.elect.business.person.entity;

@javax.enterprise.inject.Vetoed
public class KontoverbindungPK extends de.ivu.elect.jee.entity.EntityLongPK implements Comparable<KontoverbindungPK> {

  private static final long serialVersionUID = 0L;

  public KontoverbindungPK() {
    super();
  }

  public KontoverbindungPK(java.lang.Long id) {
    super(id);
  }

  @Override
  public String toString(){
    return "KontoverbindungPK:"+getId();
  }

  @Override
  public int compareTo(KontoverbindungPK o) {
  	if (o == null) {
  		return -1;
  	}
  	if (getId() == null) {
  		if (o.getId() == null) {
  			return 0;
  		}
  		return 1;
  	}
  	if (o.getId() == null) {
  		return -1;
  	}
    return getId().compareTo(o.getId());
  }

}
