in packages/stunner-editors/kie-wb-common-stunner/kie-wb-common-stunner-sets/kie-wb-common-stunner-bpmn/kie-wb-common-stunner-bpmn-emf/src/main/java/org/jboss/drools/impl/DroolsPackageImpl.java [874:1121]
protected void createExtendedMetaDataAnnotations() {
String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
addAnnotation
(documentRootEClass,
source,
new String[] {
"name", "",
"kind", "mixed"
});
addAnnotation
(getDocumentRoot_Mixed(),
source,
new String[] {
"kind", "elementWildcard",
"name", ":mixed"
});
addAnnotation
(getDocumentRoot_XMLNSPrefixMap(),
source,
new String[] {
"kind", "attribute",
"name", "xmlns:prefix"
});
addAnnotation
(getDocumentRoot_XSISchemaLocation(),
source,
new String[] {
"kind", "attribute",
"name", "xsi:schemaLocation"
});
addAnnotation
(getDocumentRoot_Global(),
source,
new String[] {
"kind", "element",
"name", "global",
"namespace", "##targetNamespace"
});
addAnnotation
(getDocumentRoot_Import(),
source,
new String[] {
"kind", "element",
"name", "import",
"namespace", "##targetNamespace"
});
addAnnotation
(getDocumentRoot_MetaData(),
source,
new String[] {
"kind", "element",
"name", "metaData",
"namespace", "##targetNamespace"
});
addAnnotation
(getDocumentRoot_OnEntryScript(),
source,
new String[] {
"kind", "element",
"name", "onEntry-script",
"namespace", "##targetNamespace"
});
addAnnotation
(getDocumentRoot_OnExitScript(),
source,
new String[] {
"kind", "element",
"name", "onExit-script",
"namespace", "##targetNamespace"
});
addAnnotation
(getDocumentRoot_PackageName(),
source,
new String[] {
"kind", "attribute",
"name", "packageName",
"namespace", "##targetNamespace"
});
addAnnotation
(getDocumentRoot_Priority(),
source,
new String[] {
"kind", "attribute",
"name", "priority",
"namespace", "##targetNamespace"
});
addAnnotation
(getDocumentRoot_RuleFlowGroup(),
source,
new String[] {
"kind", "attribute",
"name", "ruleFlowGroup",
"namespace", "##targetNamespace"
});
addAnnotation
(getDocumentRoot_TaskName(),
source,
new String[] {
"kind", "attribute",
"name", "taskName",
"namespace", "##targetNamespace"
});
addAnnotation
(getDocumentRoot_Version(),
source,
new String[] {
"kind", "attribute",
"name", "version",
"namespace", "##targetNamespace"
});
addAnnotation
(globalTypeEClass,
source,
new String[] {
"name", "global_._type",
"kind", "empty"
});
addAnnotation
(getGlobalType_Identifier(),
source,
new String[] {
"kind", "attribute",
"name", "identifier"
});
addAnnotation
(getGlobalType_Type(),
source,
new String[] {
"kind", "attribute",
"name", "type"
});
addAnnotation
(importTypeEClass,
source,
new String[] {
"name", "import_._type",
"kind", "empty"
});
addAnnotation
(getImportType_Name(),
source,
new String[] {
"kind", "attribute",
"name", "name"
});
addAnnotation
(metaDataTypeEClass,
source,
new String[] {
"name", "metaData_._type",
"kind", "elementOnly"
});
addAnnotation
(getMetaDataType_MetaValue(),
source,
new String[] {
"kind", "element",
"name", "metaValue",
"namespace", "##targetNamespace"
});
addAnnotation
(getMetaDataType_Name(),
source,
new String[] {
"kind", "attribute",
"name", "name"
});
addAnnotation
(onEntryScriptTypeEClass,
source,
new String[] {
"name", "onEntry-script_._type",
"kind", "elementOnly"
});
addAnnotation
(getOnEntryScriptType_Script(),
source,
new String[] {
"kind", "element",
"name", "script",
"namespace", "##targetNamespace"
});
addAnnotation
(getOnEntryScriptType_ScriptFormat(),
source,
new String[] {
"kind", "attribute",
"name", "scriptFormat"
});
addAnnotation
(onExitScriptTypeEClass,
source,
new String[] {
"name", "onExit-script_._type",
"kind", "elementOnly"
});
addAnnotation
(getOnExitScriptType_Script(),
source,
new String[] {
"kind", "element",
"name", "script",
"namespace", "##targetNamespace"
});
addAnnotation
(getOnExitScriptType_ScriptFormat(),
source,
new String[] {
"kind", "attribute",
"name", "scriptFormat"
});
addAnnotation
(packageNameTypeEDataType,
source,
new String[] {
"name", "packageName_._type",
"baseType", "http://www.eclipse.org/emf/2003/XMLType#string"
});
addAnnotation
(priorityTypeEDataType,
source,
new String[] {
"name", "priority_._type",
"baseType", "http://www.eclipse.org/emf/2003/XMLType#integer",
"minInclusive", "1"
});
addAnnotation
(ruleFlowGroupTypeEDataType,
source,
new String[] {
"name", "ruleFlowGroup_._type",
"baseType", "http://www.eclipse.org/emf/2003/XMLType#string"
});
addAnnotation
(taskNameTypeEDataType,
source,
new String[] {
"name", "taskName_._type",
"baseType", "http://www.eclipse.org/emf/2003/XMLType#string"
});
addAnnotation
(versionTypeEDataType,
source,
new String[] {
"name", "version_._type",
"baseType", "http://www.eclipse.org/emf/2003/XMLType#string"
});
}