package Express.services;
import java.io.Serializable;
import DisplayProject.binding.beans.Observable;
import Framework.DataValue;
import Framework.RuntimeProperties;
/**
* The ConstraintConstant class is used to provide values that will be used as literal values in a SQL statement. You do not normally need to use this class directly. Rather, the AddConstant method of the QueryConstraint class creates a ConstraintConstant 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 ConstraintConstant
extends ConstraintNode
implements Serializable, Observable
{
// ----------
// Attributes
// ----------
private DataValue value;
// ------------
// Constructors
// ------------
public ConstraintConstant() {
// Explicitly call the superclass constructor to prevent the implicit call
super();
}
public ConstraintConstant(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 ConstraintConstant
// c Pass 2 Conversion Time: 16 milliseconds