net.leanix.gsit.EventSchema Maven / Gradle / Ivy
package net.leanix.gsit;
import javax.annotation.concurrent.Immutable;
import java.util.Objects;
@Immutable
public class EventSchema {
private final Iterable attributes;
public EventSchema(Iterable attributes) {
this.attributes = attributes;
}
public Iterable getAttributes() {
return attributes;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
EventSchema that = (EventSchema) o;
return Objects.equals(attributes, that.attributes);
}
@Override
public int hashCode() {
return Objects.hash(attributes);
}
@Override
public String toString() {
return "EventSchema{" +
"attributes=" + attributes +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy