Examples of JAXBProperty


Examples of org.apache.ws.jaxme.xs.jaxb.JAXBProperty

    String myPropertyName = null;
    boolean myGeneratedIsSetMethod = pAttribute.getSchema().isGeneratingIsSetMethod();
    JAXBAttribute jaxbAttribute = null;
    if (pXSAttribute instanceof JAXBAttribute) {
      jaxbAttribute = (JAXBAttribute) pXSAttribute;
      JAXBProperty jaxbProperty = jaxbAttribute.getJAXBProperty();
      if (jaxbProperty != null) {
        myPropertyName = jaxbProperty.getName();
        Boolean jaxbGeneratedIsSetMethod = jaxbProperty.isGenerateIsSetMethod();
        if (jaxbGeneratedIsSetMethod != null) {
          myGeneratedIsSetMethod = jaxbGeneratedIsSetMethod.booleanValue();
        }
      }
    }
View Full Code Here

Examples of org.apache.ws.jaxme.xs.jaxb.JAXBProperty

    String myPropertyName = null;
    boolean myGeneratedIsSetMethod = pElement.getSchema().isGeneratingIsSetMethod();
    JAXBElement jaxbElement = null;
    if (pXSElement instanceof JAXBElement) {
      jaxbElement = (JAXBElement) pXSElement;
      JAXBProperty jaxbProperty = jaxbElement.getJAXBProperty();
      if (jaxbProperty != null) {
        myPropertyName = jaxbProperty.getName();
        Boolean jaxbGeneratedIsSetMethod = jaxbProperty.isGenerateIsSetMethod();
        if (jaxbGeneratedIsSetMethod != null) {
          myGeneratedIsSetMethod = jaxbGeneratedIsSetMethod.booleanValue();
        }
      }
    }
View Full Code Here

Examples of org.apache.ws.jaxme.xs.jaxb.JAXBProperty

    boolean myGeneratedIsSetMethod = pComplexType.getSchema().isGeneratingIsSetMethod();
    XSSimpleContentType simpleContentType = pType.getComplexType().getSimpleContent();
    JAXBSimpleContentType jaxbSimpleContentType = null;
    if (simpleContentType instanceof JAXBSimpleContentType) {
      jaxbSimpleContentType = (JAXBSimpleContentType) simpleContentType;
      JAXBProperty jaxbProperty = jaxbSimpleContentType.getJAXBProperty();
      if (jaxbProperty != null) {
        myPropertyName = jaxbProperty.getName();
        Boolean jaxbGeneratedIsSetMethod = jaxbProperty.isGenerateIsSetMethod();
        if (jaxbGeneratedIsSetMethod != null) {
          myGeneratedIsSetMethod = jaxbGeneratedIsSetMethod.booleanValue();
        }
      }
    }
View Full Code Here

Examples of org.apache.ws.jaxme.xs.jaxb.JAXBProperty

  }

  private String getCollectionType(SchemaSG pSchema, JAXBPropertyOwner pPropertyOwner) {
    String result = null;
    if (pPropertyOwner != null) {
      JAXBProperty property = pPropertyOwner.getJAXBProperty();
      if (property != null) {
        result = property.getCollectionType();
      }
    }
    return result == null ? pSchema.getCollectionType() : result;
  }
View Full Code Here

Examples of org.apache.ws.jaxme.xs.jaxb.JAXBProperty

    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());
View Full Code Here

Examples of org.apache.ws.jaxme.xs.jaxb.JAXBProperty

    XSAttributable[] attributes = assertComplexType(ct).getAttributes();
    assertNotNull(attributes);
    assertEquals(1, attributes.length);
    JAXBAttribute a1 = (JAXBAttribute) attributes[0];
    assertEquals(XSDateTime.getInstance(), a1.getType());
    JAXBProperty ap1 = a1.getJAXBProperty();
    assertEquals(ap1, outerA.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());
    assertNull(ap1.getBaseType());
  }
View Full Code Here

Examples of org.apache.ws.jaxme.xs.jaxb.JAXBProperty

      String myPropertyName = null;
      boolean myGeneratedIsSetMethod = pSchema.isGeneratingIsSetMethod();
      String myCollectionType = null;
      if (pXSObject instanceof JAXBPropertyOwner) {
          JAXBPropertyOwner jaxbPropertyOwner = (JAXBPropertyOwner) pXSObject;
          JAXBProperty jaxbProperty = jaxbPropertyOwner.getJAXBProperty();
          if (jaxbProperty != null) {
              myPropertyName = jaxbProperty.getName();
              Boolean jaxbGeneratedIsSetMethod = jaxbProperty.isGenerateIsSetMethod();
              if (jaxbGeneratedIsSetMethod != null) {
                  myGeneratedIsSetMethod = jaxbGeneratedIsSetMethod.booleanValue();
                  myCollectionType = jaxbProperty.getCollectionType();
              }
          }
      }

      collectionType = myCollectionType == null ? pSchema.getCollectionType() : myCollectionType;
View Full Code Here

Examples of org.apache.ws.jaxme.xs.jaxb.JAXBProperty

      String myPropertyName = null;
      boolean myGeneratedIsSetMethod = pSchema.isGeneratingIsSetMethod();
      String myCollectionType = null;
      if (pXSObject instanceof JAXBPropertyOwner) {
          JAXBPropertyOwner jaxbPropertyOwner = (JAXBPropertyOwner) pXSObject;
          JAXBProperty jaxbProperty = jaxbPropertyOwner.getJAXBProperty();
          if (jaxbProperty != null) {
              myPropertyName = jaxbProperty.getName();
                myCollectionType = jaxbProperty.getCollectionType();
              Boolean jaxbGeneratedIsSetMethod = jaxbProperty.isGenerateIsSetMethod();
              if (jaxbGeneratedIsSetMethod != null) {
                  myGeneratedIsSetMethod = jaxbGeneratedIsSetMethod.booleanValue();
              }
          }
      }
View Full Code Here

Examples of org.apache.ws.jaxme.xs.jaxb.JAXBProperty

      String myPropertyName = null;
      boolean myGeneratedIsSetMethod = pSchema.isGeneratingIsSetMethod();
      String myCollectionType = null;
      if (pXSObject instanceof JAXBPropertyOwner) {
          JAXBPropertyOwner jaxbPropertyOwner = (JAXBPropertyOwner) pXSObject;
          JAXBProperty jaxbProperty = jaxbPropertyOwner.getJAXBProperty();
          if (jaxbProperty != null) {
              myPropertyName = jaxbProperty.getName();
                myCollectionType = jaxbProperty.getCollectionType();
              Boolean jaxbGeneratedIsSetMethod = jaxbProperty.isGenerateIsSetMethod();
              if (jaxbGeneratedIsSetMethod != null) {
                  myGeneratedIsSetMethod = jaxbGeneratedIsSetMethod.booleanValue();
              }
          }
      }
View Full Code Here

Examples of org.apache.ws.jaxme.xs.jaxb.JAXBProperty

      String myPropertyName = null;
      boolean myGeneratedIsSetMethod = pSchema.isGeneratingIsSetMethod();
      String myCollectionType = null;
      if (pXSObject instanceof JAXBPropertyOwner) {
          JAXBPropertyOwner jaxbPropertyOwner = (JAXBPropertyOwner) pXSObject;
          JAXBProperty jaxbProperty = jaxbPropertyOwner.getJAXBProperty();
          if (jaxbProperty != null) {
              myPropertyName = jaxbProperty.getName();
                myCollectionType = jaxbProperty.getCollectionType();
              Boolean jaxbGeneratedIsSetMethod = jaxbProperty.isGenerateIsSetMethod();
              if (jaxbGeneratedIsSetMethod != null) {
                  myGeneratedIsSetMethod = jaxbGeneratedIsSetMethod.booleanValue();
              }
          }
      }
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.