Package org.jboss.metatype.api.values

Examples of org.jboss.metatype.api.values.TableValueSupport.clone()


      CompositeValue compData2 = initCompositeValue2(data);
      CompositeValue compData3 = initCompositeValue4(data);

      data.putAll(new CompositeValue[] { compData, compData2, compData3 });

      TableValue clone = data.clone();
      assertEquals("Clone should have the same tabular type", data.getMetaType(), clone.getMetaType());
      assertEquals("Clone should have the same number of elements", data.size(), clone.size());
      CompositeValue compDataClone = clone.get(initValues());
      assertTrue("Should be a shallow clone", compData == compDataClone);
   }
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.