Package org.appng.xml.platform
Class Digits
- java.lang.Object
-
- org.appng.xml.BaseObject
-
- org.appng.xml.platform.ValidationRule
-
- org.appng.xml.platform.Digits
-
- All Implemented Interfaces:
Serializable
public class Digits extends ValidationRule implements Serializable
AValidationRule
indicating theFieldDef
's value is a digit with a maximum ofgetInteger()
integral digits andgetFraction()
fraction digits.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Digits()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class org.appng.xml.platform.ValidationRule
getMessage, setMessage
-
-
-
-
Method Detail
-
getInteger
public Integer getInteger()
The maximum number of integral digits.- Returns:
- possible object is
Integer
-
setInteger
public void setInteger(Integer value)
Sets the value of the integer property.- Parameters:
value
- allowed object isInteger
-
getFraction
public Integer getFraction()
The maximum number of fraction digits.- Returns:
- possible object is
Integer
-
-