org.jboss.managed.plugins.constraints
Class StringLegalValuesPopulator

java.lang.Object
  extended by 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

Constructor Summary
StringLegalValuesPopulator(String[] legalValues)
           
 
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
 

Constructor Detail

StringLegalValuesPopulator

public StringLegalValuesPopulator(String[] legalValues)
Method Detail

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 with
info - - the PropertyInfo for the attachment class property
fields - - the fields to add the constraints to


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.