Package Framework

Examples of Framework.DoubleData


    public DoubleData getMDoubleData2() {
        return this.mDoubleData2;
    }

    public void setMDoubleData3(DoubleData mDoubleData3) {
        DoubleData oldValue = this.mDoubleData3;
        this.mDoubleData3 = mDoubleData3;
        this.qq_Listeners.firePropertyChange("MDoubleData3", oldValue, this.mDoubleData3);
    }
View Full Code Here


    public DoubleData getMDoubleData3() {
        return this.mDoubleData3;
    }

    public void setMDoubleData4(DoubleData mDoubleData4) {
        DoubleData oldValue = this.mDoubleData4;
        this.mDoubleData4 = mDoubleData4;
        this.qq_Listeners.firePropertyChange("MDoubleData4", oldValue, this.mDoubleData4);
    }
View Full Code Here

    public DoubleData getMDoubleData4() {
        return this.mDoubleData4;
    }

    public void setMDoubleData5(DoubleData mDoubleData5) {
        DoubleData oldValue = this.mDoubleData5;
        this.mDoubleData5 = mDoubleData5;
        this.qq_Listeners.firePropertyChange("MDoubleData5", oldValue, this.mDoubleData5);
    }
View Full Code Here

    public DoubleNullable getDoubN() {
        return this.doubN;
    }

    public void setDoubD(DoubleData doubD) {
        DoubleData oldValue = this.doubD;
        this.doubD = doubD;
        this.qq_Listeners.firePropertyChange("doubD", oldValue, this.doubD);
    }
View Full Code Here

                    int row = (attr-1)/31+1;
                    double bit = (attr-1) % 31;
                    for (int i = this.getTargetAttrs().size()+1; i <= row; i++) {
                        this.getTargetAttrs().set(i-1, new IntegerData(0));
                    }
                    this.getTargetAttrs().get(row-1).setValue(this.getTargetAttrs().get(row-1).getValue()|((int)new DoubleData(2).power(bit).getValue()));
                }

            }
            else {
                //
                //  ATTR_SIMPLE means add all simple attributes
                //
                int attrs = 0;
                int numAtts = this.getNumAttrs();
                // virtual attr.
                while (attrs+31 < numAtts) {
                    attrs = attrs+31;
                    this.getTargetAttrs().set(attrs/31-1, new IntegerData(2147483647));
                }
                this.getTargetAttrs().set(attrs/31+1-1, new IntegerData((int)(new DoubleData(2).power(numAtts-attrs).getValue()-1)));

            }

        }
        else {
View Full Code Here

                        }
                        else if (baseIndex <= lNumKeyAttrs) {
                            //
                            //  Or in key attributes
                            //
                            attr.setValue(attr.getValue()|((int)(new DoubleData().power(2, lNumKeyAttrs-baseIndex+1).getValue()-1)));
                        }
                        index = baseIndex;
                        attrs = attr.getValue();
                        while ((attrs > 0) && (index <= lNumDBAttrs)) {
                            if ((attrs&1) > 0) {
View Full Code Here

        }
        else if (attr < BusinessQuery.ATTR_FOREIGN) {

            int wordindex = (attr-1)/31+1;
            int bitmask = (int)new DoubleData().power(2, attr-(wordindex-1)*31-1).getValue();

            if (this.getTargetAttrs() != null) {
                if (wordindex <= this.getTargetAttrs().size()) {
                    if ((this.getTargetAttrs().get(wordindex-1).getValue()&bitmask) > 0) {
                        return true;
View Full Code Here

            }
            else {

                int row = (attr-1)/31+1;
                int mask = (int)new DoubleData(2).power((attr-1) % 31).getValue();
                if (row <= this.getTargetAttrs().size()) {
                    this.getTargetAttrs().get(row-1).setValue(this.getTargetAttrs().get(row-1).getValue()&~mask);
                }

            }
View Full Code Here

              cachedRowSet.updateString(pColOrdinal, textValue.toString());
            } else if (pValue instanceof IntegerData) {
              IntegerData integerValue = (IntegerData) pValue;
              cachedRowSet.updateInt(pColOrdinal, integerValue.getIntegerValue());
            } else if (pValue instanceof DoubleData) {
              DoubleData doubleValue = (DoubleData) pValue;
              cachedRowSet.updateDouble(pColOrdinal, doubleValue.getDoubleValue());
            } else if (pValue instanceof DecimalData) {
              DecimalData value = (DecimalData) pValue;
              cachedRowSet.updateBigDecimal(pColOrdinal, value.getBigDecimal());
            } else if (pValue instanceof BooleanData) {
              BooleanData value = (BooleanData) pValue;
View Full Code Here

            if (o == null || resultSet.wasNull()) {
                throw new UsageException(
                        "getDoubleData(int) could not handle column " + pColumnID + ". Result =" + o,
                        SP_ER_PARAMETERERROR, SP_ER_USER, UsageException.qq_Resolver.cMESSAGE_REASONCODE_SEVERITY);
            }
            DoubleData dd = new DoubleData(resultSet.getDouble(pColumnID));
            return dd;
        } catch (SQLException e) {
          throw processException(e);
        }
    }
View Full Code Here

TOP

Related Classes of Framework.DoubleData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.