in airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/Gateway.java [1136:1323]
public boolean equals(Gateway that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_airavataInternalGatewayId = true && this.isSetAiravataInternalGatewayId();
boolean that_present_airavataInternalGatewayId = true && that.isSetAiravataInternalGatewayId();
if (this_present_airavataInternalGatewayId || that_present_airavataInternalGatewayId) {
if (!(this_present_airavataInternalGatewayId && that_present_airavataInternalGatewayId))
return false;
if (!this.airavataInternalGatewayId.equals(that.airavataInternalGatewayId))
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_gatewayApprovalStatus = true && this.isSetGatewayApprovalStatus();
boolean that_present_gatewayApprovalStatus = true && that.isSetGatewayApprovalStatus();
if (this_present_gatewayApprovalStatus || that_present_gatewayApprovalStatus) {
if (!(this_present_gatewayApprovalStatus && that_present_gatewayApprovalStatus))
return false;
if (!this.gatewayApprovalStatus.equals(that.gatewayApprovalStatus))
return false;
}
boolean this_present_gatewayName = true && this.isSetGatewayName();
boolean that_present_gatewayName = true && that.isSetGatewayName();
if (this_present_gatewayName || that_present_gatewayName) {
if (!(this_present_gatewayName && that_present_gatewayName))
return false;
if (!this.gatewayName.equals(that.gatewayName))
return false;
}
boolean this_present_domain = true && this.isSetDomain();
boolean that_present_domain = true && that.isSetDomain();
if (this_present_domain || that_present_domain) {
if (!(this_present_domain && that_present_domain))
return false;
if (!this.domain.equals(that.domain))
return false;
}
boolean this_present_emailAddress = true && this.isSetEmailAddress();
boolean that_present_emailAddress = true && that.isSetEmailAddress();
if (this_present_emailAddress || that_present_emailAddress) {
if (!(this_present_emailAddress && that_present_emailAddress))
return false;
if (!this.emailAddress.equals(that.emailAddress))
return false;
}
boolean this_present_gatewayAcronym = true && this.isSetGatewayAcronym();
boolean that_present_gatewayAcronym = true && that.isSetGatewayAcronym();
if (this_present_gatewayAcronym || that_present_gatewayAcronym) {
if (!(this_present_gatewayAcronym && that_present_gatewayAcronym))
return false;
if (!this.gatewayAcronym.equals(that.gatewayAcronym))
return false;
}
boolean this_present_gatewayURL = true && this.isSetGatewayURL();
boolean that_present_gatewayURL = true && that.isSetGatewayURL();
if (this_present_gatewayURL || that_present_gatewayURL) {
if (!(this_present_gatewayURL && that_present_gatewayURL))
return false;
if (!this.gatewayURL.equals(that.gatewayURL))
return false;
}
boolean this_present_gatewayPublicAbstract = true && this.isSetGatewayPublicAbstract();
boolean that_present_gatewayPublicAbstract = true && that.isSetGatewayPublicAbstract();
if (this_present_gatewayPublicAbstract || that_present_gatewayPublicAbstract) {
if (!(this_present_gatewayPublicAbstract && that_present_gatewayPublicAbstract))
return false;
if (!this.gatewayPublicAbstract.equals(that.gatewayPublicAbstract))
return false;
}
boolean this_present_reviewProposalDescription = true && this.isSetReviewProposalDescription();
boolean that_present_reviewProposalDescription = true && that.isSetReviewProposalDescription();
if (this_present_reviewProposalDescription || that_present_reviewProposalDescription) {
if (!(this_present_reviewProposalDescription && that_present_reviewProposalDescription))
return false;
if (!this.reviewProposalDescription.equals(that.reviewProposalDescription))
return false;
}
boolean this_present_gatewayAdminFirstName = true && this.isSetGatewayAdminFirstName();
boolean that_present_gatewayAdminFirstName = true && that.isSetGatewayAdminFirstName();
if (this_present_gatewayAdminFirstName || that_present_gatewayAdminFirstName) {
if (!(this_present_gatewayAdminFirstName && that_present_gatewayAdminFirstName))
return false;
if (!this.gatewayAdminFirstName.equals(that.gatewayAdminFirstName))
return false;
}
boolean this_present_gatewayAdminLastName = true && this.isSetGatewayAdminLastName();
boolean that_present_gatewayAdminLastName = true && that.isSetGatewayAdminLastName();
if (this_present_gatewayAdminLastName || that_present_gatewayAdminLastName) {
if (!(this_present_gatewayAdminLastName && that_present_gatewayAdminLastName))
return false;
if (!this.gatewayAdminLastName.equals(that.gatewayAdminLastName))
return false;
}
boolean this_present_gatewayAdminEmail = true && this.isSetGatewayAdminEmail();
boolean that_present_gatewayAdminEmail = true && that.isSetGatewayAdminEmail();
if (this_present_gatewayAdminEmail || that_present_gatewayAdminEmail) {
if (!(this_present_gatewayAdminEmail && that_present_gatewayAdminEmail))
return false;
if (!this.gatewayAdminEmail.equals(that.gatewayAdminEmail))
return false;
}
boolean this_present_identityServerUserName = true && this.isSetIdentityServerUserName();
boolean that_present_identityServerUserName = true && that.isSetIdentityServerUserName();
if (this_present_identityServerUserName || that_present_identityServerUserName) {
if (!(this_present_identityServerUserName && that_present_identityServerUserName))
return false;
if (!this.identityServerUserName.equals(that.identityServerUserName))
return false;
}
boolean this_present_identityServerPasswordToken = true && this.isSetIdentityServerPasswordToken();
boolean that_present_identityServerPasswordToken = true && that.isSetIdentityServerPasswordToken();
if (this_present_identityServerPasswordToken || that_present_identityServerPasswordToken) {
if (!(this_present_identityServerPasswordToken && that_present_identityServerPasswordToken))
return false;
if (!this.identityServerPasswordToken.equals(that.identityServerPasswordToken))
return false;
}
boolean this_present_declinedReason = true && this.isSetDeclinedReason();
boolean that_present_declinedReason = true && that.isSetDeclinedReason();
if (this_present_declinedReason || that_present_declinedReason) {
if (!(this_present_declinedReason && that_present_declinedReason))
return false;
if (!this.declinedReason.equals(that.declinedReason))
return false;
}
boolean this_present_oauthClientId = true && this.isSetOauthClientId();
boolean that_present_oauthClientId = true && that.isSetOauthClientId();
if (this_present_oauthClientId || that_present_oauthClientId) {
if (!(this_present_oauthClientId && that_present_oauthClientId))
return false;
if (!this.oauthClientId.equals(that.oauthClientId))
return false;
}
boolean this_present_oauthClientSecret = true && this.isSetOauthClientSecret();
boolean that_present_oauthClientSecret = true && that.isSetOauthClientSecret();
if (this_present_oauthClientSecret || that_present_oauthClientSecret) {
if (!(this_present_oauthClientSecret && that_present_oauthClientSecret))
return false;
if (!this.oauthClientSecret.equals(that.oauthClientSecret))
return false;
}
boolean this_present_requestCreationTime = true && this.isSetRequestCreationTime();
boolean that_present_requestCreationTime = true && that.isSetRequestCreationTime();
if (this_present_requestCreationTime || that_present_requestCreationTime) {
if (!(this_present_requestCreationTime && that_present_requestCreationTime))
return false;
if (this.requestCreationTime != that.requestCreationTime)
return false;
}
boolean this_present_requesterUsername = true && this.isSetRequesterUsername();
boolean that_present_requesterUsername = true && that.isSetRequesterUsername();
if (this_present_requesterUsername || that_present_requesterUsername) {
if (!(this_present_requesterUsername && that_present_requesterUsername))
return false;
if (!this.requesterUsername.equals(that.requesterUsername))
return false;
}
return true;
}