Examples of OneElementAndAnyAttr


Examples of com.example.open.OneElementAndAnyAttr

  public void testAnyAttribute() throws IOException
  {

      OpenFactory.INSTANCE.register(scope);
      DataObject dob = scope.getDataFactory().create(OneElementAndAnyAttr.class);
      OneElementAndAnyAttr staticDob = (OneElementAndAnyAttr)dob;

      staticDob.setName("fred");
     
      assertEquals(1, dob.getInstanceProperties().size());
      Sequence s = ((OneElementAndAnyAttr)dob).getAnyAttribute();

      assertFalse(dob.getType().isSequenced());
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.