public class RealFieldLimit extends FieldLimit implements Cloneable, Serializable
RealFieldLimit class
defines the value limits for a real number(DataType.REAL) field.| Constructor and Description |
|---|
RealFieldLimit() |
RealFieldLimit(double low,
double high,
int precision)
Constructs a new
RealLimitInfo object |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self.
|
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the
provided one.
|
double |
getHighRange()
Returns the upper-range limit.
|
double |
getLowRange()
Returns the lower-range limit.
|
int |
getPrecision()
Returns the display precision.
|
int |
hashCode()
Returns the hash code value for this instance of the current class.
|
void |
setHighRange(double high)
Sets the upper-range limit.
|
void |
setLowRange(double low)
Sets the lower-range limit.
|
void |
setPrecision(int precision)
Sets the display precision.
|
String |
toString()
Returns a string description of the object.
|
getDataTypepublic RealFieldLimit()
public RealFieldLimit(double low,
double high,
int precision)
RealLimitInfo objectlow - Lower-range limit.high - Upper-range limit.precision - Display precision.public double getLowRange()
public double getHighRange()
public int getPrecision()
public void setLowRange(double low)
public void setHighRange(double high)
public void setPrecision(int precision)
public Object clone() throws CloneNotSupportedException
clone in class FieldLimitCloneNotSupportedExceptionpublic String toString()
toString in class FieldLimitpublic int hashCode()
hashCode in class FieldLimitpublic boolean equals(Object obj)
equals in class FieldLimitobj - the object that we are comparing to? Copyright 2013 BMC Software, Inc.