Package org.jboss.metatype.api.types

Examples of org.jboss.metatype.api.types.CompositeMetaType.containsKey()


   private void validateKey(String key)
   {
      if (key == null || key.length() == 0)
         throw new IllegalArgumentException("null or empty key");
      CompositeMetaType metaType = getMetaType();
      if (metaType.containsKey(key) == false)
         throw new IllegalArgumentException("no such item name " + key + " for composite type " + metaType);
   }

   /**
    * Construct Composite Value
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.