in modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/UserGroup.java [710:807]
public boolean equals(UserGroup that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_groupId = true && this.isSetGroupId();
boolean that_present_groupId = true && that.isSetGroupId();
if (this_present_groupId || that_present_groupId) {
if (!(this_present_groupId && that_present_groupId))
return false;
if (!this.groupId.equals(that.groupId))
return false;
}
boolean this_present_domainId = true && this.isSetDomainId();
boolean that_present_domainId = true && that.isSetDomainId();
if (this_present_domainId || that_present_domainId) {
if (!(this_present_domainId && that_present_domainId))
return false;
if (!this.domainId.equals(that.domainId))
return false;
}
boolean this_present_name = true && this.isSetName();
boolean that_present_name = true && that.isSetName();
if (this_present_name || that_present_name) {
if (!(this_present_name && that_present_name))
return false;
if (!this.name.equals(that.name))
return false;
}
boolean this_present_description = true && this.isSetDescription();
boolean that_present_description = true && that.isSetDescription();
if (this_present_description || that_present_description) {
if (!(this_present_description && that_present_description))
return false;
if (!this.description.equals(that.description))
return false;
}
boolean this_present_ownerId = true && this.isSetOwnerId();
boolean that_present_ownerId = true && that.isSetOwnerId();
if (this_present_ownerId || that_present_ownerId) {
if (!(this_present_ownerId && that_present_ownerId))
return false;
if (!this.ownerId.equals(that.ownerId))
return false;
}
boolean this_present_groupType = true && this.isSetGroupType();
boolean that_present_groupType = true && that.isSetGroupType();
if (this_present_groupType || that_present_groupType) {
if (!(this_present_groupType && that_present_groupType))
return false;
if (!this.groupType.equals(that.groupType))
return false;
}
boolean this_present_groupCardinality = true && this.isSetGroupCardinality();
boolean that_present_groupCardinality = true && that.isSetGroupCardinality();
if (this_present_groupCardinality || that_present_groupCardinality) {
if (!(this_present_groupCardinality && that_present_groupCardinality))
return false;
if (!this.groupCardinality.equals(that.groupCardinality))
return false;
}
boolean this_present_createdTime = true && this.isSetCreatedTime();
boolean that_present_createdTime = true && that.isSetCreatedTime();
if (this_present_createdTime || that_present_createdTime) {
if (!(this_present_createdTime && that_present_createdTime))
return false;
if (this.createdTime != that.createdTime)
return false;
}
boolean this_present_updatedTime = true && this.isSetUpdatedTime();
boolean that_present_updatedTime = true && that.isSetUpdatedTime();
if (this_present_updatedTime || that_present_updatedTime) {
if (!(this_present_updatedTime && that_present_updatedTime))
return false;
if (this.updatedTime != that.updatedTime)
return false;
}
boolean this_present_groupAdmins = true && this.isSetGroupAdmins();
boolean that_present_groupAdmins = true && that.isSetGroupAdmins();
if (this_present_groupAdmins || that_present_groupAdmins) {
if (!(this_present_groupAdmins && that_present_groupAdmins))
return false;
if (!this.groupAdmins.equals(that.groupAdmins))
return false;
}
return true;
}