Package Framework

Examples of Framework.IntegerData


     * <p>
     * @param attr Type: int
     * @return int
     */
    public int getForeignAttrMgr(int attr) {
        throw new Error(Error.BQ_ILLEGAL_ATTR, "GetForeignAttrMgr", this, new IntegerData(attr), Error.qq_Resolver.cERROR_METHODNAME_ORIGINATOR_PARAM1).getException();
    }
View Full Code Here


     * <p>
     * @param attr Type: int
     * @return int
     */
    public int getForeignAttrMult(int attr) {
        throw new Error(Error.BQ_ILLEGAL_ATTR, "GetForeignAttrMult", this, new IntegerData(attr), Error.qq_Resolver.cERROR_METHODNAME_ORIGINATOR_PARAM1).getException();
    }
View Full Code Here

     * @return BusinessQuery
     */
    public BusinessQuery getQuery(int attr) {
        if (attr <= BusinessQuery.ATTR_FOREIGN) {

            throw new Error(Error.BQ_ATTR_NOT_FOREIGN, "GetQuery", this, new IntegerData(attr), Error.qq_Resolver.cERROR_METHODNAME_ORIGINATOR_PARAM1).getException();

        }
        else {

            if (this.getForeignClasses() != null) {
View Full Code Here

     * <p>
     * @param tableIndex Type: int
     * @param tableName Type: TextData
     */
    public void getTableName(int tableIndex, ParameterHolder_TextData tableName) {
        throw new Error(Error.BQ_ILLEGAL_TABLE_INDEX, "GetTableName", this, new IntegerData(tableIndex), Error.qq_Resolver.cERROR_METHODNAME_ORIGINATOR_PARAM1).getException();
    }
View Full Code Here

     * @return boolean
     */
    public boolean hasAttr(int attr) {
        if (attr < 0) {

            throw new Error(Error.BQ_ILLEGAL_ATTR, "HasAttr", this, new IntegerData(attr), Error.qq_Resolver.cERROR_METHODNAME_ORIGINATOR_PARAM1).getException();

        }
        else if (attr == 0) {

            if (this.getTargetAttrs() != null) {
View Full Code Here

     * <p>
     * @param attr Type: int (Input) (default in Forte: 0)
     * @return BusinessQuery
     */
    public BusinessQuery newQuery(int attr) {
        throw new Error(Error.GEN_UNIMPLEMENTED, "NewQuery", this, new IntegerData(attr), Error.qq_Resolver.cERROR_METHODNAME_ORIGINATOR_PARAM1).getException();
    }
View Full Code Here

            //  It is a simple attribute, just add it to the TargetAttrs array.
            //

            if (attr < 0) {

                throw new Error(Error.BQ_ILLEGAL_ATTR, "RemoveAttr", this, new IntegerData(attr), Error.qq_Resolver.cERROR_METHODNAME_ORIGINATOR_PARAM1).getException();

            }
            else if (attr == BusinessQuery.ATTR_SIMPLE) {

                this.setTargetAttrs(null);
View Full Code Here

            return;
        }

        if ((this.operation != BusinessQuery.OP_SELECT) && (this.operation != BusinessQuery.OP_NONE) && (this.operation != BusinessQuery.OP_UPDATE || operation != BusinessQuery.OP_DELETE)) {

            throw new Error(Error.BQ_CANT_RESET_OP, "SetOperation", this, new IntegerData(this.operation), new IntegerData(operation)).getException();

        }
        else {
            switch (operation) {
View Full Code Here

     * @param value Type: DataValue
     */
    public void setValue(int attr, DataValue value) {
        if (attr > this.getNumAttrs()) {

            throw new Error(Error.BQ_ILLEGAL_ATTR, "SetValue", this, new IntegerData(attr), Error.qq_Resolver.cERROR_METHODNAME_ORIGINATOR_PARAM1).getException();

        }
        else if ((this.operation != BusinessQuery.OP_UPDATE) && (this.operation != BusinessQuery.OP_INSERT)) {

            throw new Error(Error.BQ_ILLEGAL_ACTION_FOR_OP, "SetValue", this, new IntegerData(this.operation), Error.qq_Resolver.cERROR_METHODNAME_ORIGINATOR_PARAM1).getException();

        }
        else if (this.getValues() == null) {

            this.setValues(new QueryConstraint());
View Full Code Here

     * <p>
     * @param attr Type: int
     * @param value Type: Array_Of_BusinessClass<BusinessClass>
     */
    public void getAttr(int attr, ParameterHolder_BusinessClass_Array value) {
        throw new Error(Error.B_ILLEGAL_ATTR, "GetAttr", this, new IntegerData(attr), Error.qq_Resolver.cERROR_METHODNAME_ORIGINATOR_PARAM2).getException();
    }
View Full Code Here

TOP

Related Classes of Framework.IntegerData

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.