in airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/Notification.java [558:637]
public boolean equals(Notification that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_notificationId = true && this.isSetNotificationId();
boolean that_present_notificationId = true && that.isSetNotificationId();
if (this_present_notificationId || that_present_notificationId) {
if (!(this_present_notificationId && that_present_notificationId))
return false;
if (!this.notificationId.equals(that.notificationId))
return false;
}
boolean this_present_gatewayId = true && this.isSetGatewayId();
boolean that_present_gatewayId = true && that.isSetGatewayId();
if (this_present_gatewayId || that_present_gatewayId) {
if (!(this_present_gatewayId && that_present_gatewayId))
return false;
if (!this.gatewayId.equals(that.gatewayId))
return false;
}
boolean this_present_title = true && this.isSetTitle();
boolean that_present_title = true && that.isSetTitle();
if (this_present_title || that_present_title) {
if (!(this_present_title && that_present_title))
return false;
if (!this.title.equals(that.title))
return false;
}
boolean this_present_notificationMessage = true && this.isSetNotificationMessage();
boolean that_present_notificationMessage = true && that.isSetNotificationMessage();
if (this_present_notificationMessage || that_present_notificationMessage) {
if (!(this_present_notificationMessage && that_present_notificationMessage))
return false;
if (!this.notificationMessage.equals(that.notificationMessage))
return false;
}
boolean this_present_creationTime = true && this.isSetCreationTime();
boolean that_present_creationTime = true && that.isSetCreationTime();
if (this_present_creationTime || that_present_creationTime) {
if (!(this_present_creationTime && that_present_creationTime))
return false;
if (this.creationTime != that.creationTime)
return false;
}
boolean this_present_publishedTime = true && this.isSetPublishedTime();
boolean that_present_publishedTime = true && that.isSetPublishedTime();
if (this_present_publishedTime || that_present_publishedTime) {
if (!(this_present_publishedTime && that_present_publishedTime))
return false;
if (this.publishedTime != that.publishedTime)
return false;
}
boolean this_present_expirationTime = true && this.isSetExpirationTime();
boolean that_present_expirationTime = true && that.isSetExpirationTime();
if (this_present_expirationTime || that_present_expirationTime) {
if (!(this_present_expirationTime && that_present_expirationTime))
return false;
if (this.expirationTime != that.expirationTime)
return false;
}
boolean this_present_priority = true && this.isSetPriority();
boolean that_present_priority = true && that.isSetPriority();
if (this_present_priority || that_present_priority) {
if (!(this_present_priority && that_present_priority))
return false;
if (!this.priority.equals(that.priority))
return false;
}
return true;
}