in impl/src/main/java/org/apache/tuscany/sdo/model/xml/impl/XMLFactoryImpl.java [206:339]
protected void createXSDMetaData(ModelFactoryImpl theModelPackageImpl, InternalFactoryImpl theInternalPackageImpl)
{
super.initXSD();
Property property = null;
property = createGlobalProperty
("aliasName",
theModelPackageImpl.getString(),
new String[]
{
"kind", "attribute",
"name", "aliasName",
"namespace", "##targetNamespace"
},
IS_ATTRIBUTE);
property = createGlobalProperty
("dataType",
theInternalPackageImpl.getQName(),
new String[]
{
"kind", "attribute",
"name", "dataType",
"namespace", "##targetNamespace"
},
IS_ATTRIBUTE);
property = createGlobalProperty
("many",
theModelPackageImpl.getBoolean(),
new String[]
{
"kind", "attribute",
"name", "many",
"namespace", "##targetNamespace"
},
IS_ATTRIBUTE);
property = createGlobalProperty
("name",
theModelPackageImpl.getString(),
new String[]
{
"kind", "attribute",
"name", "name",
"namespace", "##targetNamespace"
},
IS_ATTRIBUTE);
property = createGlobalProperty
("oppositeProperty",
theModelPackageImpl.getString(),
new String[]
{
"kind", "attribute",
"name", "oppositeProperty",
"namespace", "##targetNamespace"
},
IS_ATTRIBUTE);
property = createGlobalProperty
("propertyType",
theInternalPackageImpl.getQName(),
new String[]
{
"kind", "attribute",
"name", "propertyType",
"namespace", "##targetNamespace"
},
IS_ATTRIBUTE);
property = createGlobalProperty
("readOnly",
theModelPackageImpl.getBoolean(),
new String[]
{
"kind", "attribute",
"name", "readOnly",
"namespace", "##targetNamespace"
},
IS_ATTRIBUTE);
property = createGlobalProperty
("sequence",
theModelPackageImpl.getBoolean(),
new String[]
{
"kind", "attribute",
"name", "sequence",
"namespace", "##targetNamespace"
},
IS_ATTRIBUTE);
property = createGlobalProperty
("string",
theModelPackageImpl.getBoolean(),
new String[]
{
"kind", "attribute",
"name", "string",
"namespace", "##targetNamespace"
},
IS_ATTRIBUTE);
property = createGlobalProperty
("xmlElement",
theModelPackageImpl.getBoolean(),
new String[]
{
"kind", "attribute",
"name", "xmlElement",
"namespace", "##targetNamespace"
},
IS_ATTRIBUTE);
addXSDMapping
(xmlInfoType,
new String[]
{
"name", "XMLInfo",
"kind", "empty"
});
addXSDMapping
(getProperty(xmlInfoType, XMLInfoImpl.INTERNAL_XML_ELEMENT),
new String[]
{
"kind", "attribute",
"name", "xmlElement"
});
}