public class Digits extends ValidationRule implements Serializable
ValidationRule
indicating the FieldDef
's value is a digit with a maximum of getInteger()
integral digits and getFraction()
fraction digits.Modifier and Type | Field and Description |
---|---|
protected Integer |
fraction |
protected Integer |
integer |
message
Constructor and Description |
---|
Digits() |
Modifier and Type | Method and Description |
---|---|
Integer |
getFraction()
The maximum number of fraction digits.
|
Integer |
getInteger()
The maximum number of integral digits.
|
void |
setFraction(Integer value)
Sets the value of the fraction property.
|
void |
setInteger(Integer value)
Sets the value of the integer property.
|
getMessage, setMessage
public Integer getInteger()
Integer
public void setInteger(Integer value)
value
- allowed object is
Integer
public Integer getFraction()
Integer
Copyright © 2011–2020 aiticon GmbH. All rights reserved.