All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.javajy.api.entity.SuperBean Maven / Gradle / Ivy

The newest version!
package com.javajy.api.entity;

import com.javajy.api.component.Page;

public class SuperBean {
  protected Page page;
  
  protected String hql;
  
  public boolean equals(Object paramObject) {
    if (paramObject == this)
      return true; 
    if (!(paramObject instanceof SuperBean))
      return false; 
    SuperBean superBean = (SuperBean)paramObject;
    if (!superBean.canEqual(this))
      return false; 
    Page page = getPage();
    Page page1 = superBean.getPage();
    if ((page == null) ? (page1 != null) : !page.equals(page1))
      return false; 
    String str1 = getHql(), str2 = superBean.getHql();
    return !((str1 == null) ? (str2 != null) : !str1.equals(str2));
  }
  
  protected boolean canEqual(Object paramObject) {
    return paramObject instanceof SuperBean;
  }
  
//  public int hashCode() {
//    byte b = 59;
//    null = 1;
//    Page page = getPage();
//    null = null * 59 + ((page == null) ? 43 : page.hashCode());
//    String str = getHql();
//    return null * 59 + ((str == null) ? 43 : str.hashCode());
//  }
  
  public String toString() {
    return "SuperBean(page=" + getPage() + ", hql=" + getHql() + ")";
  }
  
  public String getHql() {
    return this.hql;
  }
  
  public void setHql(String paramString) {
    this.hql = paramString;
  }
  
  public Page getPage() {
    return this.page;
  }
  
  public void setPage(Page paramPage) {
    this.page = paramPage;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy