⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 prod_view_search_90rmys__weblogic_cmp_rdbms.java

📁 这也是师兄的毕业设计,具体的功能我也不清楚,因为我才大一,请见谅!!!!!!!不过是可以用来答辩的,完整的毕业设计,有源代码,可爱执行文件,文档资料.
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
  public java.lang.String getModel()
  {
    try {
            if (!(__WL_isLoaded[4] || __WL_isModified[4])) {
        __WL_loadGroup0();
      }

      return model;
        } catch (RuntimeException re) {
      if (__WL_verbose) {
        Debug.say("rethrowing RuntimeException.");
        re.printStackTrace();
      }
      throw re;
    } catch (Exception ex) {
      if (__WL_verbose) {
        Debug.say("wrapping Exception in PersistenceRuntimeException.");
        ex.printStackTrace();
      }
      throw new PersistenceRuntimeException(ex);
    }

  }
  public void setModel(
    java.lang.String model)
  {
        if ((this.model == model || (this.model!=null && this.model.equals(model))) && __WL_isLoaded[4]) return;
    this.model = model;
    __WL_isModified[4] = true;
    
        if (! __WL_modifiedBeanIsRegistered) {
      __WL_pm.registerModifiedBean(__WL_ctx.getPrimaryKey());
      __WL_modifiedBeanIsRegistered = true;
    }


  }
  public java.lang.String getUnit()
  {
    try {
            if (!(__WL_isLoaded[5] || __WL_isModified[5])) {
        __WL_loadGroup0();
      }

      return unit;
        } catch (RuntimeException re) {
      if (__WL_verbose) {
        Debug.say("rethrowing RuntimeException.");
        re.printStackTrace();
      }
      throw re;
    } catch (Exception ex) {
      if (__WL_verbose) {
        Debug.say("wrapping Exception in PersistenceRuntimeException.");
        ex.printStackTrace();
      }
      throw new PersistenceRuntimeException(ex);
    }

  }
  public void setUnit(
    java.lang.String unit)
  {
        if ((this.unit == unit || (this.unit!=null && this.unit.equals(unit))) && __WL_isLoaded[5]) return;
    this.unit = unit;
    __WL_isModified[5] = true;
    
        if (! __WL_modifiedBeanIsRegistered) {
      __WL_pm.registerModifiedBean(__WL_ctx.getPrimaryKey());
      __WL_modifiedBeanIsRegistered = true;
    }


  }
  public java.lang.String getRemark()
  {
    try {
            if (!(__WL_isLoaded[6] || __WL_isModified[6])) {
        __WL_loadGroup0();
      }

      return remark;
        } catch (RuntimeException re) {
      if (__WL_verbose) {
        Debug.say("rethrowing RuntimeException.");
        re.printStackTrace();
      }
      throw re;
    } catch (Exception ex) {
      if (__WL_verbose) {
        Debug.say("wrapping Exception in PersistenceRuntimeException.");
        ex.printStackTrace();
      }
      throw new PersistenceRuntimeException(ex);
    }

  }
  public void setRemark(
    java.lang.String remark)
  {
        if ((this.remark == remark || (this.remark!=null && this.remark.equals(remark))) && __WL_isLoaded[6]) return;
    this.remark = remark;
    __WL_isModified[6] = true;
    
        if (! __WL_modifiedBeanIsRegistered) {
      __WL_pm.registerModifiedBean(__WL_ctx.getPrimaryKey());
      __WL_modifiedBeanIsRegistered = true;
    }


  }
  public float getTax()
  {
    try {
            if (!(__WL_isLoaded[7] || __WL_isModified[7])) {
        __WL_loadGroup0();
      }

      return tax;
        } catch (RuntimeException re) {
      if (__WL_verbose) {
        Debug.say("rethrowing RuntimeException.");
        re.printStackTrace();
      }
      throw re;
    } catch (Exception ex) {
      if (__WL_verbose) {
        Debug.say("wrapping Exception in PersistenceRuntimeException.");
        ex.printStackTrace();
      }
      throw new PersistenceRuntimeException(ex);
    }

  }
  public void setTax(
    float tax)
  {
        if (this.tax == tax && __WL_isLoaded[7]) return;
    this.tax = tax;
    __WL_isModified[7] = true;
    
        if (! __WL_modifiedBeanIsRegistered) {
      __WL_pm.registerModifiedBean(__WL_ctx.getPrimaryKey());
      __WL_modifiedBeanIsRegistered = true;
    }


  }
  public int getAmount()
  {
    try {
            if (!(__WL_isLoaded[8] || __WL_isModified[8])) {
        __WL_loadGroup0();
      }

      return amount;
        } catch (RuntimeException re) {
      if (__WL_verbose) {
        Debug.say("rethrowing RuntimeException.");
        re.printStackTrace();
      }
      throw re;
    } catch (Exception ex) {
      if (__WL_verbose) {
        Debug.say("wrapping Exception in PersistenceRuntimeException.");
        ex.printStackTrace();
      }
      throw new PersistenceRuntimeException(ex);
    }

  }
  public void setAmount(
    int amount)
  {
        if (this.amount == amount && __WL_isLoaded[8]) return;
    this.amount = amount;
    __WL_isModified[8] = true;
    
        if (! __WL_modifiedBeanIsRegistered) {
      __WL_pm.registerModifiedBean(__WL_ctx.getPrimaryKey());
      __WL_modifiedBeanIsRegistered = true;
    }


  }
  public int getMaxlow()
  {
    try {
            if (!(__WL_isLoaded[9] || __WL_isModified[9])) {
        __WL_loadGroup0();
      }

      return maxlow;
        } catch (RuntimeException re) {
      if (__WL_verbose) {
        Debug.say("rethrowing RuntimeException.");
        re.printStackTrace();
      }
      throw re;
    } catch (Exception ex) {
      if (__WL_verbose) {
        Debug.say("wrapping Exception in PersistenceRuntimeException.");
        ex.printStackTrace();
      }
      throw new PersistenceRuntimeException(ex);
    }

  }
  public void setMaxlow(
    int maxlow)
  {
        if (this.maxlow == maxlow && __WL_isLoaded[9]) return;
    this.maxlow = maxlow;
    __WL_isModified[9] = true;
    
        if (! __WL_modifiedBeanIsRegistered) {
      __WL_pm.registerModifiedBean(__WL_ctx.getPrimaryKey());
      __WL_modifiedBeanIsRegistered = true;
    }


  }
  public float getBprice()
  {
    try {
            if (!(__WL_isLoaded[10] || __WL_isModified[10])) {
        __WL_loadGroup0();
      }

      return bprice;
        } catch (RuntimeException re) {
      if (__WL_verbose) {
        Debug.say("rethrowing RuntimeException.");
        re.printStackTrace();
      }
      throw re;
    } catch (Exception ex) {
      if (__WL_verbose) {
        Debug.say("wrapping Exception in PersistenceRuntimeException.");
        ex.printStackTrace();
      }
      throw new PersistenceRuntimeException(ex);
    }

  }
  public void setBprice(
    float bprice)
  {
        if (this.bprice == bprice && __WL_isLoaded[10]) return;
    this.bprice = bprice;
    __WL_isModified[10] = true;
    
        if (! __WL_modifiedBeanIsRegistered) {
      __WL_pm.registerModifiedBean(__WL_ctx.getPrimaryKey());
      __WL_modifiedBeanIsRegistered = true;
    }


  }
  public java.lang.String getSprice()
  {
    try {
            if (!(__WL_isLoaded[11] || __WL_isModified[11])) {
        __WL_loadGroup0();
      }

      return sprice;
        } catch (RuntimeException re) {
      if (__WL_verbose) {
        Debug.say("rethrowing RuntimeException.");
        re.printStackTrace();
      }
      throw re;
    } catch (Exception ex) {
      if (__WL_verbose) {
        Debug.say("wrapping Exception in PersistenceRuntimeException.");
        ex.printStackTrace();
      }
      throw new PersistenceRuntimeException(ex);
    }

  }
  public void setSprice(
    java.lang.String sprice)
  {
        if ((this.sprice == sprice || (this.sprice!=null && this.sprice.equals(sprice))) && __WL_isLoaded[11]) return;
    this.sprice = sprice;
    __WL_isModified[11] = true;
    
        if (! __WL_modifiedBeanIsRegistered) {
      __WL_pm.registerModifiedBean(__WL_ctx.getPrimaryKey());
      __WL_modifiedBeanIsRegistered = true;
    }


  }
  public java.lang.String getState()
  {
    try {
            if (!(__WL_isLoaded[12] || __WL_isModified[12])) {
        __WL_loadGroup0();
      }

      return state;
        } catch (RuntimeException re) {
      if (__WL_verbose) {
        Debug.say("rethrowing RuntimeException.");
        re.printStackTrace();
      }
      throw re;
    } catch (Exception ex) {
      if (__WL_verbose) {
        Debug.say("wrapping Exception in PersistenceRuntimeException.");
        ex.printStackTrace();
      }
      throw new PersistenceRuntimeException(ex);
    }

  }
  public void setState(
    java.lang.String state)
  {
        if ((this.state == state || (this.state!=null && this.state.equals(state))) && __WL_isLoaded[12]) return;
    this.state = state;
    __WL_isModified[12] = true;
    
        if (! __WL_modifiedBeanIsRegistered) {
      __WL_pm.registerModifiedBean(__WL_ctx.getPrimaryKey());
      __WL_modifiedBeanIsRegistered = true;
    }


  }
  public java.lang.String getDepositary()
  {
    try {
            if (!(__WL_isLoaded[13] || __WL_isModified[13])) {
        __WL_loadGroup0();
      }

      return depositary;
        } catch (RuntimeException re) {
      if (__WL_verbose) {
        Debug.say("rethrowing RuntimeException.");
        re.printStackTrace();
      }
      throw re;
    } catch (Exception ex) {
      if (__WL_verbose) {
        Debug.say("wrapping Exception in PersistenceRuntimeException.");
        ex.printStackTrace();
      }
      throw new PersistenceRuntimeException(ex);
    }

  }
  public void setDepositary(
    java.lang.String depositary)
  {
        if ((this.depositary == depositary || (this.depositary!=null && this.depositary.equals(depositary))) && __WL_isLoaded[13]) return;
    this.depositary = depositary;
    __WL_isModified[13] = true;
    
        if (! __WL_modifiedBeanIsRegistered) {
      __WL_pm.registerModifiedBean(__WL_ctx.getPrimaryKey());
      __WL_modifiedBeanIsRegistered = true;
    }


  }
  public java.awt.Image getImage()
  {
    try {
            if (!(__WL_isLoaded[14] || __WL_isModified[14])) {
        __WL_loadGroup0();
      }

      return image;
        } catch (RuntimeException re) {
      if (__WL_verbose) {
        Debug.say("rethrowing RuntimeException.");
        re.printStackTrace();
      }
      throw re;
    } catch (Exception ex) {
      if (__WL_verbose) {
        Debug.say("wrapping Exception in PersistenceRuntimeException.");
        ex.printStackTrace();
      }
      throw new PersistenceRuntimeException(ex);
    }

  }
  public void setImage(
    java.awt.Image image)
  {
        
    this.image = image;
    __WL_isModified[14] = true;
    
        if (! __WL_modifiedBeanIsRegistered) {
      __WL_pm.registerModifiedBean(__WL_ctx.getPrimaryKey());
      __WL_modifiedBeanIsRegistered = true;
    }


  }

  
  

  //=================================================================
  //Finder methods.
  public java.util.Collection ejbFind_name(java.lang.String param0, java.lang.String param1
    ) throws javax.ejb.FinderException
    {    if(__WL_verbose) {
      Debug.say("called find_name");
    }

    java.sql.Connection __WL_con = null;
    java.sql.PreparedStatement __WL_stmt = null;
    java.sql.ResultSet __WL_rs = null;
    int __WL_offset = 0;
    

    __WL_pm.flushModifiedBeans();

    int selectForUpdateVal = __WL_pm.getSelectForUpdateValue();

    java.lang.String __WL_query = null;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -