Package org.jboss.test.managed.factory.support

Examples of org.jboss.test.managed.factory.support.ConstrainedBean


   }

   public void testTemperature()
      throws Exception
   {
      ConstrainedBean bean = new ConstrainedBean();
      ManagedObject managedObject = super.initManagedObject(bean);

      // Test the temperature constraints
      ManagedProperty temperature = managedObject.getProperty("temperature");
      SimpleValue minValue = (SimpleValue) temperature.getMinimumValue();
View Full Code Here


     
   }

   public void testMonth()
   {
      ConstrainedBean bean = new ConstrainedBean();
      ManagedObject managedObject = super.initManagedObject(bean);

      // Test the month constraints
      ManagedProperty month = managedObject.getProperty("month");
      Set<MetaValue> legalValues = month.getLegalValues();
View Full Code Here

TOP

Related Classes of org.jboss.test.managed.factory.support.ConstrainedBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.