Package Express.services

Source Code of Express.services.ConstraintValue

package Express.services;

import java.io.Serializable;

import DisplayProject.binding.beans.Observable;
import Framework.DataValue;
import Framework.RuntimeProperties;

/**
* The ConstraintValue class is used to provide values that will be substituted by placeholders in the SQL text and bound to the placeholders when the SQL is executed. You do not normally need to use this class directly. Rather, the AddValue method of the QueryConstraint class creates a ConstraintValue object. See QueryConstraint for more information.
* <p>
* @author ITerative Consulting
* @since  26-Feb-2008
*/
@RuntimeProperties(isDistributed=false, isAnchored=false, isShared=false, isTransactional=false)
@SuppressWarnings("serial")
public class ConstraintValue
        extends ConstraintNode
        implements Serializable, Observable
{

    // ----------
    // Attributes
    // ----------
    private DataValue value;

    // ------------
    // Constructors
    // ------------
    public ConstraintValue() {
        // Explicitly call the superclass constructor to prevent the implicit call
        super();

    }

    public ConstraintValue(DataValue pValue) {
        this();
        this.setValue( pValue );
    }

    // ----------------------
    // Accessors and Mutators
    // ----------------------
    public void setValue(DataValue value) {
        DataValue oldValue = this.value;
        this.value = value;
        this.qq_Listeners.firePropertyChange("value", oldValue, this.value);
    }

    public DataValue getValue() {
        return this.value;
    }
// end class ConstraintValue
// c Pass 2 Conversion Time: 16 milliseconds
TOP

Related Classes of Express.services.ConstraintValue

TOP
Copyright © 2018 www.massapi.com. 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.