![JAR search and dependency download from the Maven repository](/logo.png)
com.evrythng.thng.resource.model.store.EmailTaskNotificationWay Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of thng-resource-model Show documentation
Show all versions of thng-resource-model Show documentation
Models for REST resources representations.
/*
* (c) Copyright 2015 EVRYTHNG Ltd London / Zurich
* www.evrythng.com
*/
package com.evrythng.thng.resource.model.store;
/**
* Task Nofification.Way. Represent the e-mail address to send notifications to
*/
public class EmailTaskNotificationWay extends TaskNotificationWay {
private String address;
public static final String FIELD_ADDRESS = "address";
public String getAddress() {
return address;
}
public void setAddress(final String address) {
this.address = address;
}
@Override
public boolean equals(final Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EmailTaskNotificationWay that = (EmailTaskNotificationWay) o;
if (address != null ? !address.equals(that.address) : that.address != null) {
return false;
}
return true;
}
@Override
public int hashCode() {
return address != null ? address.hashCode() : 0;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy