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

net.leanix.gsit.EventGroup Maven / Gradle / Ivy

There is a newer version: 0.5.1
Show newest version
package net.leanix.gsit;

import javax.annotation.concurrent.Immutable;
import java.util.Objects;

@Immutable
public class EventGroup {

    private final String group;

    public EventGroup(String group) {
        this.group = group;
    }

    public String getGroup() {
        return group;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        EventGroup eventType = (EventGroup) o;
        return Objects.equals(group, eventType.group);
    }

    @Override
    public int hashCode() {
        return Objects.hash(group);
    }

    @Override
    public String toString() {
        return group;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy