My EO fields are numeric values, but when I create the EOIMPL class they are converted to INTEGERS numbers. Why, please explain.

Mr President

My EO fields are numeric values, but when I create the EOIMPL class they are converted to INTEGERS numbers. Why, please explain.

    public static final int PURQTY = AttributesEnum.Purqty.index();
    public static final int STAXRATE = AttributesEnum.Staxrate.index();
    public static final int UNITPURPRICE = AttributesEnum.Unitpurprice.index();
    public static final int SALQTY = AttributesEnum.Salqty.index();
    public static final int UNITSALPRICE = AttributesEnum.Unitsalprice.index();
    public static final int PARTICULARS = AttributesEnum.Particulars.index();
    public static final int AMOUNT = AttributesEnum.Amount.index();

Can keep us in digital format.

Concerning

No.... These int values not the type of display object attributes. These integers is the index of attributes.

To determine the type of the VO attributtes, you should see the Get accessor of the attribute and the setter

as

  /**
   * Gets the attribute value for the calculated attribute CountDockets.
   * @return the CountDockets
   */
  public BigDecimal getCountDockets()
  {
    return (BigDecimal) getAttributeInternal(COUNTDOCKETS);
  }

  /**
   * Sets value as the attribute value for the calculated attribute CountDockets.
   * @param value value to set the  CountDockets
   */
  public void setCountDockets(BigDecimal value)
  {
    setAttributeInternal(COUNTDOCKETS, value);
  }

This means that the attribute type CountDockets BigDecimal

Tags: Java

Similar Questions

Maybe you are looking for