XSAttributable[] attributes = complexType.getAttributes();
assertNotNull(attributes);
assertEquals(1, attributes.length);
JAXBAttribute a1 = (JAXBAttribute) attributes[0];
assertEquals(XSDateTime.getInstance(), a1.getType());
JAXBProperty ap1 = a1.getJAXBProperty();
assertNotNull(ap1);
assertEquals("ap", ap1.getName());
assertEquals("indexed", ap1.getCollectionType());
Boolean b = ap1.isFixedAttributeAsConstantProperty();
assertTrue(b != null && b.booleanValue());
b = ap1.isGenerateIsSetMethod();
assertTrue(b != null && !b.booleanValue());
b = ap1.isEnableFailFastCheck();
assertTrue(b != null && b.booleanValue());
JAXBProperty.BaseType apbt1 = ap1.getBaseType();
assertNotNull(apbt1);
JAXBJavaType apjt1 = apbt1.getJavaType();
assertNotNull(apjt1);
assertEquals("java.math.BigDecimal", apjt1.getName());
assertEquals("javax.xml.bind.DatatypeConverter.parseInteger", apjt1.getParseMethod());