public class NumberConstraintsPopulator extends Object implements ManagedPropertyConstraintsPopulator
Constructor and Description |
---|
NumberConstraintsPopulator(String min,
String max,
String numberClassName) |
Modifier and Type | Method and Description |
---|---|
Number |
getMax() |
Number |
getMin() |
void |
populateManagedProperty(Class attachmentClass,
org.jboss.beans.info.spi.PropertyInfo info,
Fields fields)
Populate the ManagedProperty fields constraint related info.
|
void |
setMax(Number max) |
void |
setMin(Number min) |
public Number getMin()
public void setMin(Number min)
public Number getMax()
public void setMax(Number max)
public void populateManagedProperty(Class attachmentClass, org.jboss.beans.info.spi.PropertyInfo info, Fields fields)
ManagedPropertyConstraintsPopulator
populateManagedProperty
in interface ManagedPropertyConstraintsPopulator
attachmentClass
- - the attachment class the property is
associated withinfo
- - the PropertyInfo for the attachment class propertyfields
- - the fields to add the constraints toCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.