UrlSetEntry.java 1.03 KB
package fi.insomnia.bortal.verkkomaksutfi;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;

@XmlAccessorType(XmlAccessType.FIELD)
public class UrlSetEntry {

	public UrlSetEntry()
	{
	}

	public UrlSetEntry(String url) {
		success = url + "/success.jsf";
		failure = url + "/failure.jsf";
		pending = url + "/pending.jsf";
		notification = url + "/notification.jsf";

	}

	private String success;
	private String failure;
	private String pending;
	private String notification;

	public String getSuccess() {
		return success;
	}

	public void setSuccess(String success) {
		this.success = success;
	}

	public String getFailure() {
		return failure;
	}

	public void setFailure(String failure) {
		this.failure = failure;
	}

	public String getPending() {
		return pending;
	}

	public void setPending(String pending) {
		this.pending = pending;
	}

	public String getNotification() {
		return notification;
	}

	public void setNotification(String notification) {
		this.notification = notification;
	}

}