public class IntegerFieldLimit extends FieldLimit implements Cloneable, Serializable
IntegerFieldLimit class
defines the value limits for an integer(DataType.INTEGER) field.| Constructor and Description |
|---|
IntegerFieldLimit() |
IntegerFieldLimit(int low,
int high)
Constructs a new
IntegerLimitInfo 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.
|
int |
getHighRange()
Returns the upper-range limit.
|
int |
getLowRange()
Returns the lower-range limit.
|
int |
hashCode()
Returns the hash code value for this instance of the current class.
|
void |
setHighRange(int high)
Sets the upper-range limit.
|
void |
setLowRange(int low)
Sets the lower-range limit.
|
String |
toString()
Returns a string description of the object.
|
getDataTypepublic IntegerFieldLimit()
public IntegerFieldLimit(int low,
int high)
IntegerLimitInfo objectlow - Lower-range limit.high - Upper-range limit.public int getLowRange()
public int getHighRange()
public void setLowRange(int low)
public void setHighRange(int high)
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.