org.jboss.managed.api.annotation
Annotation Type ConstraintsPopulatorFactory


@Target(value={TYPE,METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface ConstraintsPopulatorFactory

An annotation describing the ManagedPropertyConstraintsPopulatorFactory for a property. This can be used on fields,methods for an individual property, or on a type to specify the default factory for all properties in a managed object.

Version:
$Revision:$
Author:
Scott.Stark@jboss.org

Required Element Summary
 Class<? extends ManagedPropertyConstraintsPopulatorFactory> value
          The constraints, allowed values populator factory
 
Optional Element Summary
 String[] args
          Optional arguments to pass to the factory
 String[] legalValues
          Optional string representation of legal values
 String max
          Optional string representation of max value
 String min
          Optional string representation of min value
 

Element Detail

value

public abstract Class<? extends ManagedPropertyConstraintsPopulatorFactory> value
The constraints, allowed values populator factory

min

public abstract String min
Optional string representation of min value

Default:
""

max

public abstract String max
Optional string representation of max value

Default:
""

legalValues

public abstract String[] legalValues
Optional string representation of legal values

Default:
{}

args

public abstract String[] args
Optional arguments to pass to the factory

Default:
{}


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