Package org.jboss.metatype.api.types

Examples of org.jboss.metatype.api.types.EnumMetaType


   {
      EnumConstantInfo[] constants = typeInfo.getEnumConstants();
      List<String> validValues = new ArrayList<String>(constants.length);
      for (EnumConstantInfo constant : constants)
         validValues.add(constant.getName());
      return new EnumMetaType(typeInfo.getName(), validValues);
   }
View Full Code Here


/*     */   {
/* 196 */     EnumConstantInfo[] constants = typeInfo.getEnumConstants();
/* 197 */     List validValues = new ArrayList(constants.length);
/* 198 */     for (EnumConstantInfo constant : constants)
/* 199 */       validValues.add(constant.getName());
/* 200 */     return new EnumMetaType(typeInfo.getName(), validValues);
/*     */   }
View Full Code Here

   {
      EnumConstantInfo[] constants = typeInfo.getEnumConstants();
      List<String> validValues = new ArrayList<String>(constants.length);
      for (EnumConstantInfo constant : constants)
         validValues.add(constant.getName());
      return new EnumMetaType(typeInfo.getName(), validValues);
   }
View Full Code Here

TOP

Related Classes of org.jboss.metatype.api.types.EnumMetaType

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.