Package org.apache.tuscany.sdo.model.impl

Examples of org.apache.tuscany.sdo.model.impl.ModelFactoryImpl


  {
    if (isInitialized) return;
    isInitialized = true;

    // Obtain other dependent packages
    ModelFactoryImpl theModelPackageImpl = (ModelFactoryImpl)FactoryBase.getStaticFactory(ModelFactoryImpl.NAMESPACE_URI);
    Property property = null;

    // Add supertypes to types

    // Initialize types and properties
    initializeType(containmentTestType, ContainmentTest.class, "ContainmentTest", false);
    property = getProperty(containmentTestType, ContainmentTestImpl.INTERNAL_MIXED);
    initializeProperty(property, getSequence(), "mixed", null, 0, -1, ContainmentTest.class, false, false, false);

    property = getProperty(containmentTestType, ContainmentTestImpl.INTERNAL_NAME);
    initializeProperty(property, theModelPackageImpl.getString(), "Name", null, 1, 1, ContainmentTest.class, false, true, true);

    property = getProperty(containmentTestType, ContainmentTestImpl.INTERNAL_CONTAIN);
    initializeProperty(property, this.getContainmentTest(), "Contain", null, 1, 1, ContainmentTest.class, false, true, true, true , null);

    property = getProperty(containmentTestType, ContainmentTestImpl.INTERNAL_CONTAIN_MANY);
View Full Code Here


  {
    if (isInitialized) return;
    isInitialized = true;

    // Obtain other dependent packages
    ModelFactoryImpl theModelPackageImpl = (ModelFactoryImpl)FactoryBase.getStaticFactory(ModelFactoryImpl.NAMESPACE_URI);
    Property property = null;

    // Add supertypes to types

    // Initialize types and properties
    initializeType(rcTypeType, RCType.class, "RCType", false);
    property = getProperty(rcTypeType, RCTypeImpl.INTERNAL_GROUP);
    initializeProperty(property, getSequence(), "group", null, 0, -1, RCType.class, false, false, false);

    property = getProperty(rcTypeType, RCTypeImpl.INTERNAL_S);
    initializeProperty(property, theModelPackageImpl.getString(), "s", null, 0, -1, RCType.class, false, false, true);

    property = getProperty(rcTypeType, RCTypeImpl.INTERNAL_I);
    initializeProperty(property, theModelPackageImpl.getInt(), "i", null, 0, -1, RCType.class, false, false, true);

    property = getProperty(rcTypeType, RCTypeImpl.INTERNAL_F);
    initializeProperty(property, theModelPackageImpl.getFloat(), "f", null, 0, -1, RCType.class, false, false, true);

    createXSDMetaData(theModelPackageImpl);
  }
View Full Code Here

        if (isInitialized) {
            return;
        }
        isInitialized = true;

        ModelFactoryImpl theModelPackageImpl = (ModelFactoryImpl)ModelFactoryImpl.init();
        Property property = null;

        // Add supertypes to types

        initializeType(structureType, Structure.class, "Structure", false);
        property = getLocalProperty(structureType, 0);
        initializeProperty(property, theModelPackageImpl.getString(), "text", null, 1, 1, Structure.class,
                           false, true, false);

        property = getLocalProperty(structureType, 1);
        initializeProperty(property, theModelPackageImpl.getInt(), "int", null, 1, 1, Structure.class, false,
                           true, false);

        property = getLocalProperty(structureType, 2);
        initializeProperty(property, theModelPackageImpl.getDouble(), "dbl", null, 1, 1, Structure.class,
                           false, true, false);

        property = getLocalProperty(structureType, 3);
        initializeProperty(property, theModelPackageImpl.getString(), "texts", null, 1, -1, Structure.class,
                           false, false, false);

        createXSDMetaData(theModelPackageImpl);
    }
View Full Code Here

  {
    if (isInitialized) return;
    isInitialized = true;

    // Obtain other dependent packages
    ModelFactoryImpl theModelPackageImpl = (ModelFactoryImpl)ModelFactory.INSTANCE;
    Property property = null;

    // Add supertypes to types

    // Initialize types and properties
    initializeType(helloType, hello.class, "hello", false);
    property = getLocalProperty(helloType, 0);
    initializeProperty(property, theModelPackageImpl.getString(), "message", null, 1, 1, hello.class, false, false, false);

    createXSDMetaData(theModelPackageImpl);
  }
View Full Code Here

            if (isInitialized) {
                return;
            }
            isInitialized = true;
       
            ModelFactoryImpl theModelPackageImpl = ModelFactoryImpl.init();
                Property property = null;
       
                // Add supertypes to types
   
   
        initializeType(structureType, Structure.class, "Structure", false);
        property = getLocalProperty(structureType, 0);
        initializeProperty(property, theModelPackageImpl.getString(), "text", null, 1, 1,
                           Structure.class, false, true, false);
   
        property = getLocalProperty(structureType, 1);
        initializeProperty(property, theModelPackageImpl.getInt(), "int", null, 1, 1,
                           Structure.class, false, true, false);
   
        property = getLocalProperty(structureType, 2);
        initializeProperty(property, theModelPackageImpl.getDouble(), "dbl", null, 1, 1,
                           Structure.class, false, true, false);
   
        property = getLocalProperty(structureType, 3);
        initializeProperty(property, theModelPackageImpl.getString(), "texts", null, 1, -1,
                           Structure.class, false, false, false);
   
   
        createXSDMetaData(theModelPackageImpl);
    }
View Full Code Here

        if (isInitialized) {
            return;
        }
        isInitialized = true;

        ModelFactoryImpl theModelPackageImpl = ModelFactoryImpl.init();
        Property property = null;

        // Add supertypes to types

        initializeType(structureType, Structure.class, "Structure", false);
        property = getLocalProperty(structureType, 0);
        initializeProperty(property, theModelPackageImpl.getString(), "text", null, 1, 1, Structure.class,
                           false, true, false);

        property = getLocalProperty(structureType, 1);
        initializeProperty(property, theModelPackageImpl.getInt(), "int", null, 1, 1, Structure.class, false,
                           true, false);

        property = getLocalProperty(structureType, 2);
        initializeProperty(property, theModelPackageImpl.getDouble(), "dbl", null, 1, 1, Structure.class,
                           false, true, false);

        property = getLocalProperty(structureType, 3);
        initializeProperty(property, theModelPackageImpl.getString(), "texts", null, 1, -1, Structure.class,
                           false, false, false);

        createXSDMetaData(theModelPackageImpl);
    }
View Full Code Here

  {
    if (isInitialized) return;
    isInitialized = true;

    // Obtain other dependent packages
    ModelFactoryImpl theModelPackageImpl = (ModelFactoryImpl)ModelFactory.INSTANCE;
    Property property = null;

    // Add supertypes to types

    // Initialize types and properties
    initializeType(quoteType, Quote.class, "Quote", false);
    property = getLocalProperty(quoteType, 0);
    initializeProperty(property, theModelPackageImpl.getString(), "symbol", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 1);
    initializeProperty(property, theModelPackageImpl.getString(), "companyName", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 2);
    initializeProperty(property, theModelPackageImpl.getDecimal(), "price", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 3);
    initializeProperty(property, theModelPackageImpl.getDecimal(), "open1", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 4);
    initializeProperty(property, theModelPackageImpl.getDecimal(), "high", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 5);
    initializeProperty(property, theModelPackageImpl.getDecimal(), "low", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 6);
    initializeProperty(property, theModelPackageImpl.getDouble(), "volume", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 7);
    initializeProperty(property, theModelPackageImpl.getDouble(), "change1", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 8);
    initializeProperty(property, this.getQuote(), "quotes", null, 0, -1, Quote.class, false, false, false, true , null);

    createXSDMetaData(theModelPackageImpl);
View Full Code Here

  {
    if (isInitialized) return;
    isInitialized = true;

    // Obtain other dependent packages
    ModelFactoryImpl theModelPackageImpl = (ModelFactoryImpl)ModelFactory.INSTANCE;
    Property property = null;

    // Add supertypes to types

    // Initialize types and properties
    initializeType(quoteType, Quote.class, "Quote", false);
    property = getLocalProperty(quoteType, 0);
    initializeProperty(property, theModelPackageImpl.getString(), "symbol", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 1);
    initializeProperty(property, theModelPackageImpl.getString(), "companyName", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 2);
    initializeProperty(property, theModelPackageImpl.getDecimal(), "price", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 3);
    initializeProperty(property, theModelPackageImpl.getDecimal(), "open1", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 4);
    initializeProperty(property, theModelPackageImpl.getDecimal(), "high", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 5);
    initializeProperty(property, theModelPackageImpl.getDecimal(), "low", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 6);
    initializeProperty(property, theModelPackageImpl.getDouble(), "volume", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 7);
    initializeProperty(property, theModelPackageImpl.getDouble(), "change1", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 8);
    initializeProperty(property, this.getQuote(), "quotes", null, 0, -1, Quote.class, false, false, false, true , null);

    createXSDMetaData(theModelPackageImpl);
View Full Code Here

  {
    if (isInitialized) return;
    isInitialized = true;

    // Obtain other dependent packages
    ModelFactoryImpl theModelPackageImpl = (ModelFactoryImpl)ModelFactory.INSTANCE;
    Property property = null;

    // Add supertypes to types

    // Initialize types and properties
    initializeType(customersTypeType, CustomersType.class, "CustomersType", false);
    property = getLocalProperty(customersTypeType, 0);
    initializeProperty(property, this.getCustomerType(), "customer", null, 1, -1, CustomersType.class, false, false, false, true , null);

    initializeType(customerTypeType, CustomerType.class, "CustomerType", false);
    property = getLocalProperty(customerTypeType, 0);
    initializeProperty(property, this.getCustNameType(), "name", null, 1, 1, CustomerType.class, false, true, false);

    property = getLocalProperty(customerTypeType, 1);
    initializeProperty(property, theModelPackageImpl.getInteger(), "number", null, 1, 1, CustomerType.class, false, true, false);

    property = getLocalProperty(customerTypeType, 2);
    initializeProperty(property, this.getInfoType(), "info", null, 1, 1, CustomerType.class, false, true, false, true , null);

    initializeType(infoTypeType, InfoType.class, "InfoType", false);
View Full Code Here

  {
    if (isInitialized) return;
    isInitialized = true;

    // Obtain other dependent packages
    ModelFactoryImpl theModelPackageImpl = (ModelFactoryImpl)ModelFactory.INSTANCE;
    Property property = null;

    // Add supertypes to types
    addSuperType(quoteBaseType, this.getQuote());

    // Initialize types and properties
    initializeType(quoteType, Quote.class, "Quote", false);
    property = getLocalProperty(quoteType, 0);
    initializeProperty(property, theModelPackageImpl.getString(), "symbol", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 1);
    initializeProperty(property, theModelPackageImpl.getString(), "companyName", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 2);
    initializeProperty(property, theModelPackageImpl.getDecimal(), "price", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 3);
    initializeProperty(property, theModelPackageImpl.getDecimal(), "open1", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 4);
    initializeProperty(property, theModelPackageImpl.getDecimal(), "high", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 5);
    initializeProperty(property, theModelPackageImpl.getDecimal(), "low", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 6);
    initializeProperty(property, theModelPackageImpl.getDouble(), "volume", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 7);
    initializeProperty(property, theModelPackageImpl.getDouble(), "change1", null, 1, 1, Quote.class, false, true, false);

    property = getLocalProperty(quoteType, 8);
    initializeProperty(property, this.getQuote(), "quotes", null, 0, -1, Quote.class, false, false, false, true , null);

    initializeType(quoteBaseType, QuoteBase.class, "QuoteBase", false);
    property = getLocalProperty(quoteBaseType, 0);
    initializeProperty(property, theModelPackageImpl.getChangeSummaryType(), "changes", null, 1, 1, QuoteBase.class, false, true, false);

    createXSDMetaData(theModelPackageImpl);
  }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sdo.model.impl.ModelFactoryImpl

Copyright © 2018 www.massapicom. 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.