gt:         if (roleUserMapId == null) {
context: package com.zen.app.shared.authorization;
  import com.athena.framework.shared.entity.web.entityInterface.CommonEntityInterface;
  import java.io.Serializable;
  import java.util.Comparator;
  import javax.persistence.Entity;
  import javax.persistence.Table;
  import javax.persistence.Transient;
  import com.fasterxml.jackson.annotation.JsonProperty;
  import javax.persistence.Column;
  import javax.persistence.GeneratedValue;
  import javax.persistence.Id;
  import javax.validation.constraints.Size;
  import com.athena.framework.server.helper.EntityValidatorHelper;
  import com.fasterxml.jackson.annotation.JsonIgnore;
  import javax.persistence.Version;
  import com.zen.app.shared.EntityAudit;
  import javax.persistence.Embedded;
  import com.zen.app.shared.SystemInfo;
  import com.athena.framework.server.exception.biz.SpartanConstraintViolationException;
  import com.athena.framework.server.exception.biz.SpartanIncorrectDataException;
  import java.lang.Override;
  import javax.persistence.NamedQueries;
  
  @Table(name = "ast_UserRoleBridge_T")
  @Entity
  @NamedQueries({ @javax.persistence.NamedQuery(name = "UserRoleBridge.findByRoleId", query = "select e from UserRoleBridge e where e.systemInfo.activeStatus=1 and e.roleId=:roleId"), @javax.persistence.NamedQuery(name = "UserRoleBridge.findByUserId", query = "select e from UserRoleBridge e where e.systemInfo.activeStatus=1 and e.userId=:userId"), @javax.persistence.NamedQuery(name = "UserRoleBridge.findById", query = "select e from UserRoleBridge e where e.systemInfo.activeStatus=1 and e.roleUserMapId =:roleUserMapId") })
  public class UserRoleBridge implements Serializable, CommonEntityInterface, Comparator<UserRoleBridge> {
  
      @Transient
      private String primaryKey;
  
      @Id
      @Column(name = "roleUserMapId")
      @JsonProperty("roleUserMapId")
      @GeneratedValue(generator = "UUIDGenerator")
      @Size(min = 3, max = 64)
      private String roleUserMapId;
  
      @Column(name = "roleId")
      @JsonProperty("roleId")
      private String roleId;
  
      @Column(name = "userId")
      @JsonProperty("userId")
      private String userId;
  
      @Transient
      @JsonIgnore
      private EntityValidatorHelper<Object> entityValidator;
  
      @Version
      @Column(name = "versionId")
      @JsonProperty("versionId")
      private int versionId;
  
      @Embedded
      @JsonIgnore
      private EntityAudit entityAudit = new EntityAudit();
  
      @Embedded
      private SystemInfo systemInfo = new SystemInfo();
  
      @Transient
      private String primaryDisplay;
  
      public String getPrimaryKey() {
          return roleUserMapId;
      }
  
      public void setPrimaryKey(String _primaryKey) {
          this.primaryKey = _primaryKey;
      }
  
      public String _getPrimarykey() {
          return roleUserMapId;
      }
  
      public String getRoleUserMapId() {
          return roleUserMapId;
      }
  
      public void setRoleUserMapId(String _roleUserMapId) {
          this.roleUserMapId = _roleUserMapId;
      }
  
      public String getRoleId() {
          return roleId;
      }
  
      public void setRoleId(String _roleId) {
          this.roleId = _roleId;
      }
  
      public String getUserId() {
          return userId;
      }
  
      public void setUserId(String _userId) {
          this.userId = _userId;
      }
  
      public int getVersionId() {
          return versionId;
      }
  
      public void setVersionId(int _versionId) {
          this.versionId = _versionId;
      }
  
      public void setPrimaryDisplay(String _primaryDisplay) {
          this.primaryDisplay = _primaryDisplay;
      }
  
      public SystemInfo getSystemInfo() {
          return systemInfo;
      }
  
      public void setSystemInfo(SystemInfo _systemInfo) {
          this.systemInfo = _systemInfo;
      }
  
      @JsonIgnore
      public boolean isHardDelete() {
          if (this.systemInfo == null) {
              this.systemInfo = new SystemInfo();
          }
          if (this.systemInfo.getActiveStatus() == -1) {
              return true;
          } else {
              return false;
          }
      }
  
      @JsonIgnore
      @Override
      public boolean isValid() throws SpartanConstraintViolationException, SpartanIncorrectDataException {
          boolean isValid = false;
          if (this.entityValidator != null) {
              isValid = this.entityValidator.validateEntity(this);
          } else {
              throw new SpartanIncorrectDataException("Entity validator is not set");
          }
          return isValid;
      }
  
      @Override
      public void setEntityValidator(EntityValidatorHelper<Object> _validateFactory) {
          this.entityValidator = _validateFactory;
      }
  
      @Override
      public void setEntityAudit(int customerId, String userId, RECORD_TYPE recordType) {
          System.out.println("Setting logged in user info for " + recordType);
          if (entityAudit == null) {
              entityAudit = new EntityAudit();
          }
          if (recordType == RECORD_TYPE.ADD) {
              this.entityAudit.setCreatedBy(userId);
          } else {
              this.entityAudit.setUpdatedBy(userId);
          }
          setSystemInformation(recordType);
      }
  
      @Override
      public void setEntityAudit(int customerId, String userId) {
          if (entityAudit == null) {
              entityAudit = new EntityAudit();
          }
          if (getPrimaryKey() == null) {
              this.entityAudit.setCreatedBy(userId);
              this.systemInfo.setActiveStatus(1);
          } else {
              this.entityAudit.setUpdatedBy(userId);
          }
      }
  
      @JsonIgnore
      public String getLoggedInUserInfo() {
          String auditInfo = "";
          if (this.entityAudit != null) {
              auditInfo = entityAudit.toString();
          }
          return auditInfo;
      }
  
      @Override
      @JsonIgnore
      public void setSystemInformation(RECORD_TYPE recordType) {
          if (systemInfo == null) {
              systemInfo = new SystemInfo();
          }
          if (recordType == RECORD_TYPE.DELETE) {
              this.systemInfo.setActiveStatus(0);
          } else {
              this.systemInfo.setActiveStatus(1);
          }
      }
  
      @JsonIgnore
      public void setSystemInformation(Integer activeStatus) {
          this.systemInfo.setActiveStatus(activeStatus);
      }
  
      @JsonIgnore
      public String getSystemInformation() {
          String systemInfo = "";
          if (this.systemInfo != null) {
              systemInfo = systemInfo.toString();
          }
          return systemInfo;
      }
  
      @Override
      @JsonIgnore
      public void setSystemTxnCode(Integer transactionAccessCode) {
          if (systemInfo == null) {
              systemInfo = new SystemInfo();
          }
          this.systemInfo.setTxnAccessCode(transactionAccessCode);
      }
  
      @Override
      public int compare(UserRoleBridge object1, UserRoleBridge object2) {
          return 0;
      }
  
      public String getPrimaryDisplay() {
          StringBuilder sb = new StringBuilder();
          sb.append("");
          sb.append((roleId.toString() == null ? " " : roleId.toString()) + ",");
          sb.append((userId.toString() == null ? " " : userId.toString()));
          return sb.toString();
      }
  
      public String toString() {
          return getPrimaryDisplay();
      }
  
      public int hashCode() {
  