org.jboss.managed.plugins.constraints
Class StringLegalValuesPopulator
java.lang.Object
org.jboss.managed.plugins.constraints.StringLegalValuesPopulator
- All Implemented Interfaces:
- ManagedPropertyConstraintsPopulator
public class StringLegalValuesPopulator
- extends Object
- implements ManagedPropertyConstraintsPopulator
A populator for a set of string values
- Version:
- $Revision: 81573 $
- Author:
- Scott.Stark@jboss.org
Method Summary |
void |
populateManagedProperty(Class attachmentClass,
org.jboss.beans.info.spi.PropertyInfo info,
Fields fields)
Populate the ManagedProperty fields constraint related info. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringLegalValuesPopulator
public StringLegalValuesPopulator(String[] legalValues)
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 © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.