public class StringLegalValuesPopulator extends Object implements ManagedPropertyConstraintsPopulator
| Constructor and Description |
|---|
StringLegalValuesPopulator(String[] legalValues) |
| Modifier and Type | Method and Description |
|---|---|
void |
populateManagedProperty(Class attachmentClass,
org.jboss.beans.info.spi.PropertyInfo info,
Fields fields)
Populate the ManagedProperty fields constraint related info.
|
public StringLegalValuesPopulator(String[] legalValues)
public void populateManagedProperty(Class attachmentClass, org.jboss.beans.info.spi.PropertyInfo info, Fields fields)
ManagedPropertyConstraintsPopulatorpopulateManagedProperty in interface ManagedPropertyConstraintsPopulatorattachmentClass - - 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.