org.jboss.managed.plugins.constraints
Class NumberConstraintsPopulator
java.lang.Object
org.jboss.managed.plugins.constraints.NumberConstraintsPopulator
- All Implemented Interfaces:
- ManagedPropertyConstraintsPopulator
public class NumberConstraintsPopulator
- extends Object
- implements ManagedPropertyConstraintsPopulator
A ManagedPropertyConstraintsPopulator for Number min/max values
- Version:
- $Revision: 81573 $
- Author:
- Scott.Stark@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumberConstraintsPopulator
public NumberConstraintsPopulator(String min,
String max,
String numberClassName)
throws Exception
- Throws:
Exception
getMin
public Number getMin()
setMin
public void setMin(Number min)
getMax
public Number getMax()
setMax
public void setMax(Number max)
populateManagedProperty
public void populateManagedProperty(Class attachmentClass,
org.jboss.beans.info.spi.PropertyInfo info,
Fields fields)
- Description copied from interface:
ManagedPropertyConstraintsPopulator
- Populate the ManagedProperty fields constraint related info.
- Specified by:
populateManagedProperty
in interface ManagedPropertyConstraintsPopulator
- Parameters:
attachmentClass
- - the attachment class the property is
associated withinfo
- - the PropertyInfo for the attachment class propertyfields
- - the fields to add the constraints to
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.