All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.imunity.upman.front.model.ProjectGroup Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2018 Bixbit - Krzysztof Benedyczak. All rights reserved.
 * See LICENCE.txt file for licensing information.
 */

package io.imunity.upman.front.model;

import java.util.Objects;

public class ProjectGroup
{
	public final String path;
	public final String displayedName;
	public final String registrationForm;
	public final String signupEnquiryForm;

	public ProjectGroup(String path, String displayedName, String registrationForm, String signupEnquiryForm)
	{
		this.path = path;
		this.displayedName = displayedName;
		this.registrationForm = registrationForm;
		this.signupEnquiryForm = signupEnquiryForm;
	}

	@Override
	public boolean equals(Object o)
	{
		if (this == o) return true;
		if (o == null || getClass() != o.getClass()) return false;
		ProjectGroup that = (ProjectGroup) o;
		return Objects.equals(path, that.path) && Objects.equals(displayedName, that.displayedName);
	}

	@Override
	public int hashCode()
	{
		return Objects.hash(path, displayedName);
	}

	@Override
	public String toString()
	{
		return "ProjectGroup{" +
				"path='" + path + '\'' +
				", displayedName='" + displayedName + '\'' +
				'}';
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy