package org.whole.lang.xsd.mapping.samples; import org.whole.lang.builders.IBuilderOperation; import org.whole.lang.templates.AbstractTemplateFactory; public class AppEngineWebInstance extends AbstractTemplateFactory<org.whole.lang.model.IEntity> { public void apply(IBuilderOperation op) { org.whole.lang.commons.builders.ICommonsBuilder b0 = (org.whole.lang.commons.builders.ICommonsBuilder) op.wGetBuilder(org.whole.lang.commons.reflect.CommonsLanguageKit.URI); org.whole.lang.reflect.EntityDescriptorEnum e1 = org.whole.lang.reflect.ReflectionFactory.getLanguageKit("http://appengine.google.com/ns/1.0").getEntityDescriptorEnum(); b0.wEntity_(e1.valueOf("Appengine-web-appType")); b0.wEntity_(e1.valueOf("Appengine-web-appTypeSet")); b0.wEntity(e1.valueOf("XSString"), "masticalento"); b0.wEntity(e1.valueOf("XSString"), "1"); b0.wEntity_(e1.valueOf("Static-filesType")); b0.wEntity_(e1.valueOf("Static-filesTypeSeq")); b0.wEntity_(e1.valueOf("Static-filesTypeList"), 3); b0.wEntity_(e1.valueOf("StaticIncludeType")); b0.wEntity(e1.valueOf("XSString"), "**"); b0.Resolver(); b0.wEntity(e1.valueOf("XSString"), ""); b0._wEntity(e1.valueOf("StaticIncludeType")); b0.wEntity_(e1.valueOf("StaticIncludeType")); b0.wEntity(e1.valueOf("XSString"), "**.nocache.*"); b0.wEntity(e1.valueOf("ExpirationType"), "0s"); b0.wEntity(e1.valueOf("XSString"), "xxxx"); b0._wEntity(e1.valueOf("StaticIncludeType")); b0.wEntity_(e1.valueOf("StaticIncludeType")); b0.wEntity(e1.valueOf("XSString"), "**.cache.*"); b0.wEntity(e1.valueOf("ExpirationType"), "365d"); b0.wEntity(e1.valueOf("XSString"), ""); b0._wEntity(e1.valueOf("StaticIncludeType")); b0._wEntity(e1.valueOf("Static-filesTypeList")); b0.wEntity_(e1.valueOf("Static-filesTypeList1"), 1); b0.wEntity_(e1.valueOf("ExcludeType")); b0.wEntity(e1.valueOf("XSString"), "**.gwt.rpc"); b0.wEntity(e1.valueOf("XSString"), ""); b0._wEntity(e1.valueOf("ExcludeType")); b0._wEntity(e1.valueOf("Static-filesTypeList1")); b0._wEntity(e1.valueOf("Static-filesTypeSeq")); b0._wEntity(e1.valueOf("Static-filesType")); b0.wEntity_(e1.valueOf("Resource-filesType")); b0.wEntity_(e1.valueOf("Resource-filesTypeSeq")); b0.wEntity_(e1.valueOf("Resource-filesTypeList"), 1); b0.wEntity_(e1.valueOf("IncludeType")); b0.wEntity(e1.valueOf("XSString"), "/**.xml"); b0.wEntity(e1.valueOf("XSString"), ""); b0._wEntity(e1.valueOf("IncludeType")); b0._wEntity(e1.valueOf("Resource-filesTypeList")); b0.wEntity_(e1.valueOf("Resource-filesTypeList1"), 1); b0.wEntity_(e1.valueOf("ExcludeType")); b0.wEntity(e1.valueOf("XSString"), "/feeds/**.xml"); b0.wEntity(e1.valueOf("XSString"), ""); b0._wEntity(e1.valueOf("ExcludeType")); b0._wEntity(e1.valueOf("Resource-filesTypeList1")); b0._wEntity(e1.valueOf("Resource-filesTypeSeq")); b0._wEntity(e1.valueOf("Resource-filesType")); b0.wEntity_(e1.valueOf("System-propertiesType")); b0.wEntity_(e1.valueOf("System-propertiesTypeSeq")); b0.wEntity_(e1.valueOf("System-propertiesTypeList"), 1); b0.wEntity_(e1.valueOf("PropertyType")); b0.wEntity(e1.valueOf("XSString"), "java.util.logging.config.file"); b0.wEntity(e1.valueOf("XSString"), "WEB-INF/logging.properties"); b0.wEntity(e1.valueOf("XSString"), ""); b0._wEntity(e1.valueOf("PropertyType")); b0._wEntity(e1.valueOf("System-propertiesTypeList")); b0._wEntity(e1.valueOf("System-propertiesTypeSeq")); b0._wEntity(e1.valueOf("System-propertiesType")); b0.wEntity_(e1.valueOf("Env-variablesType")); b0.wEntity_(e1.valueOf("Env-variablesTypeSeq")); b0.wEntity_(e1.valueOf("Env-variablesTypeList"), 1); b0.wEntity_(e1.valueOf("Env-varType")); b0.wEntity(e1.valueOf("XSString"), "DEFAULT_ENCODING"); b0.wEntity(e1.valueOf("XSString"), "UTF-8"); b0.wEntity(e1.valueOf("XSString"), ""); b0._wEntity(e1.valueOf("Env-varType")); b0._wEntity(e1.valueOf("Env-variablesTypeList")); b0._wEntity(e1.valueOf("Env-variablesTypeSeq")); b0._wEntity(e1.valueOf("Env-variablesType")); b0.wEntity(e1.valueOf("XSBoolean"), false); b0.wEntity(e1.valueOf("XSBoolean"), true); b0.Resolver(); b0.Resolver(); b0.wEntity_(e1.valueOf("InboundServicesType")); b0.wEntity_(e1.valueOf("InboundServicesTypeSeq")); b0.wEntity_(e1.valueOf("InboundServicesTypeList"), 2); b0.wEntity(e1.valueOf("XSString"), "xmpp_message"); b0.wEntity(e1.valueOf("XSString"), "mail"); b0._wEntity(e1.valueOf("InboundServicesTypeList")); b0._wEntity(e1.valueOf("InboundServicesTypeSeq")); b0._wEntity(e1.valueOf("InboundServicesType")); b0.wEntity(e1.valueOf("XSBoolean"), true); b0.wEntity_(e1.valueOf("Admin-console")); b0.wEntity_(e1.valueOf("Admin-consoleSeq")); b0.wEntity_(e1.valueOf("Admin-consoleList"), 2); b0.wEntity_(e1.valueOf("Admin-console-pageType")); b0.wEntity(e1.valueOf("XSString"), "Blog Comment Admin"); b0.wEntity(e1.valueOf("XSString"), "/blog/admin/comments"); b0.wEntity(e1.valueOf("XSString"), ""); b0._wEntity(e1.valueOf("Admin-console-pageType")); b0.wEntity_(e1.valueOf("Admin-console-pageType")); b0.wEntity(e1.valueOf("XSString"), "Create a Blog Post"); b0.wEntity(e1.valueOf("XSString"), "/blog/admin/newentry"); b0.wEntity(e1.valueOf("XSString"), ""); b0._wEntity(e1.valueOf("Admin-console-pageType")); b0._wEntity(e1.valueOf("Admin-consoleList")); b0._wEntity(e1.valueOf("Admin-consoleSeq")); b0._wEntity(e1.valueOf("Admin-console")); b0._wEntity(e1.valueOf("Appengine-web-appTypeSet")); b0._wEntity(e1.valueOf("Appengine-web-appType")); } }