Author: DartPeng
Date: 2009-04-15 00:38:38 -0400 (Wed, 15 Apr 2009)
New Revision: 14749
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateCalcDocumentRoot_counter_Counter.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDataSourceDocumentRoot_direct_Direct.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDataSourceDocumentRoot_jNDI_DataSourceJndi.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_Counter.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_DataSourceJndi.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_Direct.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/CalcDocumentRoot.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Counter.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/DataSourceDocumentRoot.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/DataSourceJndi.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Direct.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/calc-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/common.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/csv-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/datasource-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/db-routing-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/edi-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/edi-message-mapping-1.0.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/ext.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/file-routing-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/freemarker-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/groovy-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/io-routing-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/javabean-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/jms-routing-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/json-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/smooks-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/smooks-1.1.genmodel
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/xsl-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/calc-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/calc-1.1.genmodel
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/datasource-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/datasource-1.1.genmodel
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/smooks-1.1.genmodel
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcDocumentRoot.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcFactory.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcPackage.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CountDirection.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/Counter.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcDocumentRootImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcFactoryImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcPackageImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CounterImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcAdapterFactory.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcResourceFactoryImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcResourceImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcSwitch.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcXMLProcessor.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DataSourceDocumentRoot.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DataSourceJndi.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DatasourceFactory.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DatasourcePackage.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/Direct.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DataSourceDocumentRootImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DataSourceJndiImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DatasourceFactoryImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DatasourcePackageImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DirectImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DataSourceDocumentRootItemProvider.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DataSourceJndiItemProvider.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/Datasource1EditPlugin.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DatasourceItemProviderAdapterFactory.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DirectItemProvider.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceAdapterFactory.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceResourceFactoryImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceResourceImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceSwitch.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceXMLProcessor.java
Modified:
trunk/smooks/plugins/org.jboss.tools.smooks.core/plugin.properties
trunk/smooks/plugins/org.jboss.tools.smooks.core/plugin.xml
Log:
JBIDE-4171
Add new model of "datasource-1.1.xsd"
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateCalcDocumentRoot_counter_Counter.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateCalcDocumentRoot_counter_Counter.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDataSourceDocumentRoot_direct_Direct.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDataSourceDocumentRoot_direct_Direct.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDataSourceDocumentRoot_jNDI_DataSourceJndi.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDataSourceDocumentRoot_jNDI_DataSourceJndi.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_Counter.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_Counter.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_DataSourceJndi.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_DataSourceJndi.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_Direct.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_Direct.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/CalcDocumentRoot.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/CalcDocumentRoot.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Counter.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Counter.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/DataSourceDocumentRoot.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/DataSourceDocumentRoot.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/DataSourceJndi.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/DataSourceJndi.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Direct.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Direct.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/calc-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/calc-1.1.ecore
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/calc-1.1.ecore 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,183 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="calc"
+
nsURI="http://www.milyn.org/xsd/smooks/calc-1.1.xsd"
nsPrefix="calc">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks Calculation
Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EEnum" name="CountDirection">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			If the counter is executed after the element else it will
execute before the element.
 			Default is
'false'.
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="CountDirection"/>
+ </eAnnotations>
+ <eLiterals name="INCREMENT">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
		
			Count up.
		
		"/>
+ </eAnnotations>
+ </eLiterals>
+ <eLiterals name="DECREMENT" value="1">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
		
			Count down.
		
		"/>
+ </eAnnotations>
+ </eLiterals>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType"
name="CountDirectionObject"
instanceClassName="org.eclipse.emf.common.util.Enumerator">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="CountDirection:Object"/>
+ <details key="baseType" value="CountDirection"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Counter"
eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			Counter
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="counter"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="startExpression" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
								The
result of this expression is the counter start
value.
								This
expression is executed at the first count and every time the
counter
								is
reset. The expression must result in an integer or a
long.
								If
the startIndex attribute of the counter is set then this expression never
gets
								executed.
				
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="startExpression"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="amountExpression" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				
			The result of this expression is the amount the counter
increments or
decrements.
								This
expression is executed every time the counter
counts.
								The
expression must result in an
integer.
								If
the amount attribute of the counter is set then this expression never
gets
								executed.
				
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="amountExpression"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="resetCondition" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
								When
the expression is set and results in a true value then the counter is reset
to
								the
start index. The expression must result in a
boolean.
				 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resetCondition"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="amount"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Int"
+ unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
							The
amount that the counter increments or decrements the counter
value.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="amount"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="beanId"
lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
							The
beanId in which the counter value is stored. The value is always
stored
							as a Long
type.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="beanId"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="countOnElement" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The element
on which the counter counts.
			
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="countOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="countOnElementNS" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The
namespace of the countOnElement element.
			
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="countOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="direction" eType="#//CountDirection"
+ defaultValueLiteral="INCREMENT" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
							The
direction that the counter counts. Can be INCREMENT (default) or
DECREMENT.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="direction"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="executeAfter" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			If the
counter is executed after the element else it will execute before the
element.
			 			Default is
'false'.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="executeAfter"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="start"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Long"
+ unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
							The
counter start value.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="start"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass"
name="CalcDocumentRoot">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed"
unique="false" upperBound="-1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="counter" upperBound="-2"
+ eType="#//Counter" volatile="true" transient="true"
derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				Counter
configuration
				The counter can increment or
decrement a value.
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="counter"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation"
value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-con...
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/calc-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/common.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/common.ecore
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/common.ecore 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
name="common"
+
nsURI="http://www.jboss.org/smookstools" nsPrefix="common">
+ <eClassifiers xsi:type="ecore:EClass" name="AbstractAnyType"
abstract="true"
eSuperTypes="http://www.eclipse.org/emf/2003/XMLType#//AnyType"...
+ <eOperations name="getCDATA"/>
+ <eOperations name="setCDATA">
+ <eParameters name="cdata" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ </eOperations>
+ <eOperations name="getStringValue"/>
+ <eOperations name="setStringValue">
+ <eParameters name="stringValue" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ </eOperations>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/common.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/csv-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/csv-1.1.ecore
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/csv-1.1.ecore 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="csv"
+
nsURI="http://www.milyn.org/xsd/smooks/csv-1.1.xsd"
nsPrefix="cvs">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks CSV Reader
Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EDataType" name="Char"
instanceClassName="java.lang.String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="char"/>
+ <details key="baseType"
value="http://www.eclipse.org/emf/2003/XMLType#string"/>
+ <details key="length" value="1"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass"
name="CsvDocumentRoot">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed"
unique="false" upperBound="-1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="reader"
upperBound="-2"
+ eType="#//CsvReader" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			CSV Reader Configuration
 		
	The CSV reader reads and validates a CSV stream and converts it to SAX events
that Smooks
 		 	can process.

		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="reader"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation"
value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-reader"...
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CsvReader"
eSuperTypes="smooks-1.1.ecore#//AbstractReader">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="CSV Reader"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="reader"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="encoding" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="UTF-8" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

						The encoding of the input stream.
Default of 'UTF-8'

					"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="encoding"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="fields"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

						Comma separated list of CSV record
field names
 					"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="fields"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="quote"
eType="#//Char"
+ defaultValueLiteral=""" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

						Quote character. Default of
'"'.

					"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="quote"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="separator" eType="#//Char"
+ defaultValueLiteral="," unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

						 Field separator character. Default
of ','.
 					"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="separator"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="skipLines" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Integer"
+ defaultValueLiteral="0" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

						Number of lines to skip before
processing starts. Default of 0.

					"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="skipLines"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/csv-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/datasource-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/datasource-1.1.ecore
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/datasource-1.1.ecore 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,191 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
name="datasource"
+
nsURI="http://www.milyn.org/xsd/smooks/datasource-1.1.xsd"
nsPrefix="ds">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks Datasource
Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass" name="Direct"
eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			Direct Datasource
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="direct"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="autoCommit" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
							If the
datasource should automaticly commit.
			
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="autoCommit"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="bindOnElement" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The element
on which the datasource is bound. On the visitAfter
			
			of the element the connection does a Commit or Rollback
depending
			 			if a exception
got thrown.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="bindOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="bindOnElementNS" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The
namespace of the bindOnElement element
			
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="bindOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="datasource" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The
reference name of the datasource. This name must be
used
			 			to retrieve the
datasource from the ExecutionContext.
			
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="datasource"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="driver"
lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

						The JDBC driver name

					"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="driver"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="password" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

						The password

					"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="password"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="url"
lowerBound="1" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

						The JDBC URL

					"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="url"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="username" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

						The username

					"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="username"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass"
name="DataSourceDocumentRoot">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed"
unique="false" upperBound="-1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="direct"
upperBound="-2"
+ eType="#//Direct" volatile="true" transient="true"
derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			Direct datasource configuration

			The direct datasource resource creates a connection to a
datasource and
 			makes it available in the
ExecutionContext. The datasource can then be used

			by other cartridges to access the datasource.

		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="direct"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation"
value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-con...
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="jNDI"
upperBound="-2" eType="#//DataSourceJndi"
+ volatile="true" transient="true" derived="true"
containment="true" resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			JNDI datasource configuration

			The JNDI datasource resource retrieves a datasource from the
JNDI and
 			makes it available in the
ExecutionContext. The datasource can then be used

			by other cartridges to access the datasource.

		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="JNDI"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation"
value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-con...
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DataSourceJndi"
eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			JNDI Datasource
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="Jndi"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="autoCommit" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
							If the
datasource should automaticly commit.
			
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="autoCommit"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="bindOnElement" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The element
on which the datasource is bound. On the visitAfter
			
			of the element the connection does a Commit or Rollback
depending
			 			if a exception
got thrown.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="bindOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="datasource" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The
reference name of the datasource. This name must be
used
			 			to retrieve the
datasource from the ExecutionContext.
			
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="datasource"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/datasource-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/db-routing-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/db-routing-1.1.ecore
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/db-routing-1.1.ecore 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,251 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
name="dbrouting"
+
nsURI="http://www.milyn.org/xsd/smooks/db-routing-1.1.xsd"
nsPrefix="db">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks SQL Routing
Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass"
name="DBRoutingDocumentRoot">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed"
unique="false" upperBound="-1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="executor" upperBound="-2"
+ eType="#//Executor" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			SQL Executor configuration

			The SQL Executor can be used to perform event driven read and
write operations on a DataSource,
 			using data in the
bean context as the query/update parameters.
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="executor"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation"
value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-con...
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="resultSetRowSelector" upperBound="-2"
+ eType="#//ResultSetRowSelector" volatile="true"
transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			ResultSet Row Selector configuration

			The ResultSet row Selector can search though a resultset for a
specific row.
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resultSetRowSelector"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation"
value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-con...
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Executor"
eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			SQL Executor
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="executor"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="statement" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				
			The SQL statement to be executed. Supports templating in the
form of ${variable}.
				
			The variables are resolved from the bean
context.
				 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="statement"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="resultSet" eType="#//ResultSet"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				
			Sets the resultSet specific configuration like the resultSet
name, scope and timeToLive.
				
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resultSet"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="datasource" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The name of
the datasource configuration to use. See the datasource
configuration
			 			of the
Smooks core library.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="datasource"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="executeBefore" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			If the
query is executed before the element else it will execute after the
element.
			 			Default is
'false'.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="executeBefore"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="executeOnElement" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The element
on which the query is executed. With the
'executeBefore'
			
			attribute can be set if the query is executed before or after
the element.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="executeOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="executeOnElementNS" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The
namespace of the executeOnElement element.
			
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="executeOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ResultSet">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="resultSet"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

				If the statement is a query statement then the
ResultSet will be bound
	 			with this id in
the ExecutionContext. Must be specified if the 'statement' is a
query
	 			statement, otherwise it is
optional.
 			"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="scope"
eType="#//ResultSetScopeType"
+ defaultValueLiteral="EXECUTION" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

				The scope on which the resultSet will be stored. The
scope can be on a EXECUTION or
 				on a
APPLICATION level. On a EXECUTION level the query is executed every time on the selected
element.
 				On a APPLICATION level the query
is only executed once for the
 				whole Smooks
instance until the resultSet expires. With the 'timeToLive' attribute the expire
time
 				can be configured. After the
resultSet is expired the query will be executed again.

			"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="scope"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="timeToLive" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Long"
+ defaultValueLiteral="900000" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

				If the 'scope' attribute is set to APPLICATION
this attribute determines the expire time

				in milliseconds of the resultSet. After the resultSet
is expired the query will be executed again.

			"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="timeToLive"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass"
name="ResultSetRowSelector"
eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			ResultSet row selector

		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="resultSetRowSelector"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="where"
lowerBound="1" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				
			The MVEL condition to select the correct
row.
				 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="where"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="failedSelectError" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				
			The error message that is thrown in
org.milyn.routing.db.DataSelectionException
				
			exception when no row was found that matches the
'where' query.
				
			If the error message is not set then no exception will be
thrown.
				 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="failedSelectError"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="beanId"
lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

						The beanId under which the selected
row will be added in the bean context.

					"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="beanId"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="executeBefore" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

						If the selection is done before or
after the selected element. Default is
'false'.
						"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="executeBefore"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="resultSetName" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The name of
the resultSet to select the row from.
			
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="resultSetName"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="selectRowOnElement" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The element
on which the row selection is executed.
			
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="selectRowOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum"
name="ResultSetScopeType">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="resultSetScopeType"/>
+ </eAnnotations>
+ <eLiterals name="EXECUTION"/>
+ <eLiterals name="APPLICATION" value="1"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType"
name="ResultSetScopeTypeObject"
instanceClassName="org.eclipse.emf.common.util.Enumerator">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="resultSetScopeType:Object"/>
+ <details key="baseType" value="resultSetScopeType"/>
+ </eAnnotations>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/db-routing-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/edi-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/edi-1.1.ecore
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/edi-1.1.ecore 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="edi"
+
nsURI="http://www.milyn.org/xsd/smooks/edi-1.1.xsd"
nsPrefix="edi">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks EDI Reader
Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass"
name="EDIDocumentRoot">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed"
unique="false" upperBound="-1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="reader"
upperBound="-2"
+ eType="#//EDIReader" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

		 	EDI Reader Configuration
 		
	The EDI reader reads and validates a EDI stream and converts it to SAX events
that Smooks
 		 	can process.

		 	A mapping is used to map the EDI segments and fields to a SAX
event stream.
 		 	For more information about the
mapping model take a look at the
 		
	"http://www.milyn.org/schema/edi-message-mapping-1.0.xsd"
schema.
 		 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="reader"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation"
value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-reader"...
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EDIReader"
eSuperTypes="smooks-1.1.ecore#//AbstractReader">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="EDI Reader"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="reader"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="encoding" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="UTF-8" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The character encoding.
Default "UTF-8""/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="encoding"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="mappingModel" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 		 	The URI of
the EDI mapping model file of the EDI model.
			
		 	For more information about the mapping model take
a
			 		 	look at the
"http://www.milyn.org/schema/edi-message-mapping-1.0.xsd"
			
		 	schema.
			
		 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="mappingModel"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/edi-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/edi-message-mapping-1.0.ecore
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/edi-message-mapping-1.0.ecore
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/edi-message-mapping-1.0.ecore 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,281 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="medi"
+
nsURI="http://www.milyn.org/schema/edi-message-mapping-1.0.xsd"
nsPrefix="medi">
+ <eClassifiers xsi:type="ecore:EClass" name="Component"
eSuperTypes="#//MappingNode">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="Component"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="subComponent" upperBound="-1"
+ eType="#//SubComponent" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="sub-component"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="required" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="required"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="truncatable" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="truncatable"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Delimiters"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="Delimiters"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="component" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="component"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="field"
lowerBound="1" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="field"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="segment" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="segment"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="subComponent" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
					The delimiter attributes
mark the boundary
					tokens between the
EDI message parts - segment,
					field,
component and
sub-component.

					These
boundary tokens may contain
special
					characters (non-printable).
These are defined
					using XML character
references e.g. LF
=
					"&amp;#10;"
				"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="sub-component"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Description"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="Description"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
lowerBound="1" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="version" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="version"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass"
name="MediDocumentRoot">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed"
unique="false" upperBound="-1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="edimap"
upperBound="-2"
+ eType="#//EdiMap" volatile="true" transient="true"
derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="edimap"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EdiMap"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="EdiMap"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="description" lowerBound="1"
+ eType="#//Description" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="description"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="delimiters" lowerBound="1"
+ eType="#//Delimiters" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="delimiters"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="segments" lowerBound="1"
+ eType="#//Segments" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="segments"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Field"
eSuperTypes="#//MappingNode">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="Field"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="component" upperBound="-1"
+ eType="#//Component" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="component"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="required" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="required"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="truncatable" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="truncatable"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="MappingNode"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="MappingNode"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="xmltag"
lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmltag"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Segment"
eSuperTypes="#//MappingNode">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="Segment"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="field"
lowerBound="1" upperBound="-1"
+ eType="#//Field" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="field"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="segment" upperBound="-1"
+ eType="#//Segment" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="segment"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="maxOccurs" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Int"
+ defaultValueLiteral="1" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
							The
maximum number of times the segment must appear in
this
							position
within the EDI message. For an unbounded max,
set
							the maxOccurs
value to -1.
						"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="maxOccurs"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="minOccurs" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Int"
+ defaultValueLiteral="1" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
							The
minimum number of times the segment must appear in
this
							position
within the EDI
message.
						"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="minOccurs"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="segcode" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="segcode"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="truncatable" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="truncatable"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Segments"
eSuperTypes="#//MappingNode">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="Segments"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="segment" lowerBound="1"
+ upperBound="-1" eType="#//Segment"
containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="segment"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="SubComponent"
eSuperTypes="#//MappingNode">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="SubComponent"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="required" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="required"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/edi-message-mapping-1.0.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/ext.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/ext.ecore
(rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/ext.ecore 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,135 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="ext"
+
nsURI="http://www.jboss.org/jbosstools/smooks/smooks-graphics-ext.xs...
nsPrefix="ext">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks
Graphics
			Editor Extention File
Schema
"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass"
name="SmooksGraphicalExtDocumentRoot">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed"
unique="false" upperBound="-1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="input"
upperBound="-2"
+ eType="#//InputType" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="input"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="param"
upperBound="-2"
+ eType="#//ParamType" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="param"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="smooksGraphicsExt" upperBound="-2"
+ eType="#//SmooksGraphicsExtType" volatile="true"
transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="smooks-graphics-ext"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="InputType">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="input_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="param"
upperBound="-1"
+ eType="#//ParamType" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="param"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="type"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="type"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ParamType">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="param_._type"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=":0"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="type"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="type"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass"
name="SmooksGraphicsExtType">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="smooks-graphics-ext_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="input"
upperBound="-1"
+ eType="#//InputType" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="input"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="inputType" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="inputType"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="outputType" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="outputType"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/ext.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/file-routing-1.1.ecore
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/file-routing-1.1.ecore
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/file-routing-1.1.ecore 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,189 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
name="fileRouting"
+
nsURI="http://www.milyn.org/xsd/smooks/file-routing-1.1.xsd"
nsPrefix="file">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks file Routing
Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass"
name="FileRoutingDocumentRoot">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed"
unique="false" upperBound="-1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="outputStream" upperBound="-2"
+ eType="#//OutputStream" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			File output stream configuration

			The file output stream creates and manages file output
streams.
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="outputStream"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation"
value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-con...
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass"
name="FileRoutingHighWaterMark">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="highWaterMark"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mark"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Int"
+ defaultValueLiteral="200" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

					The max number of output files in the
destination directory at any
time.
				"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="mark"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="pollFrequency" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Int"
+ defaultValueLiteral="1000" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

					The number of milliseconds to wait between
checks on the High Water Mark, while

					waiting for it to
drop.
				"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="pollFrequency"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="timeout" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Int"
+ defaultValueLiteral="60000" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

					The number of milliseconds to wait for the
system to process files in the destination

					directory so that the number of files drops
below the highWaterMark.
				"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="timeout"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="OutputStream"
eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			File output stream
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="outputStream"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="fileNamePattern" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				
			The pattern that will be used to generate file
names.
				 			The file
is created in the directory defined by the 'destinationDirectoryPattern'
element.
				
			Templating support is available via the FreeMarker template
engine.
			 			"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="fileNamePattern"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="destinationDirectoryPattern"
+ lowerBound="1" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				
			The destination directory for files created by this
router.
				
			Templating support is available via the FreeMarker template
engine.
			 			"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name"
value="destinationDirectoryPattern"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="listFileNamePattern" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				
			The name of the file that will contain the file names generated
by this configuration.
				
			The file is created in the directory defined by the
'destinationDirectoryPattern' element.
			
			"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="listFileNamePattern"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="highWaterMark" eType="#//FileRoutingHighWaterMark"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				
			Sets the configuration for the max number of output files in
the destination directory at any time.
			
			"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="highWaterMark"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="closeOnCondition" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				 			An
MVEL expression. If it returns true then the output stream is closed on the visitAfter
event
				 			else it
is kept open. If the expression is not set then output stream is closed by
default.
			 			"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="closeOnCondition"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="encoding" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="UTF-8" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

						The encoding to be used by any
writers on this resource. Default is
'UTF-8'.
						"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="encoding"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="openOnElement" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The element
on which the output stream resource should be opened. If opened, the stream will
be
 closed at the end of the same element (on the
visitAfter). This behaviour can be overridden
 through
the &lt;closeOnCondition&gt; element. In that case, the resource is only
closed
 when the MVEL condition is
met.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="openOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="openOnElementNS" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The
namespace of the openOnElement element.
			
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="openOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="resourceName" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

						The name on which the output stream
resource is referenced.

					"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="resourceName"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/file-routing-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/freemarker-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/freemarker-1.1.ecore
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/freemarker-1.1.ecore 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,243 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
name="freemarker"
+
nsURI="http://www.milyn.org/xsd/smooks/freemarker-1.1.xsd"
nsPrefix="flt">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="FreeMarker Templating
Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass" name="FreemarkerBindTo"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 Bind
the templating result into the bean context under the specified "id".
This makes the
 templating result available for routing or other
operations.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="bindTo"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="id"
lowerBound="1" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

The bean context ID under which the templating result is to be bound if the
"bindTo" action is chosen.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="id"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass"
name="FreemarkerDocumentRoot">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed"
unique="false" upperBound="-1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="freemarker" upperBound="-2"
+ eType="#//Freemarker" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

FreeMarker Templating Configuration.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="freemarker"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation"
value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-con...
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Freemarker"
eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

FreeMarker Templating Configuration Type.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="freemarker"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="template" lowerBound="1"
+ eType="#//FreemarkerTemplate" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="template"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="use"
eType="#//FreemarkerUse"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="use"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="param"
upperBound="-1"
+ eType="ecore:EClass smooks-1.1.ecore#//ParamType"
containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="param"/>
+ <details key="namespace"
value="http://www.milyn.org/xsd/smooks-1.1.xsd"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="applyBefore" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

Apply the template before visiting the elements child
content.<p/>Default is 'false'.

"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="applyBefore"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="applyOnElement" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

The name of the element on which the template is to be applied.

"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="applyOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="applyOnElementNS" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

The namespace of the element on which the template is to be applied.

"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="applyOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="FreemarkerInline"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

Inline the templating result into the <b>Smooks.filter</b> Result
message.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="inline"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="directive" lowerBound="1"
+ eType="#//FreemarkerInlineDirective" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

How the templating result is to be used (relative to the element on which it

is applied).
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="directive"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum"
name="FreemarkerInlineDirective">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="inlineDirective"/>
+ </eAnnotations>
+ <eLiterals name="addto"/>
+ <eLiterals name="replace" value="1"/>
+ <eLiterals name="insertbefore" value="2"/>
+ <eLiterals name="insertafter" value="3"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType"
name="FreemarkerInlineDirectiveObject"
+ instanceClassName="org.eclipse.emf.common.util.Enumerator">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="inlineDirective:Object"/>
+ <details key="baseType" value="inlineDirective"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="FreemarkerOutputTo"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

Output the templating result to a named OutputStreamResource.

"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="outputTo"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="outputStreamResource" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

The name of the "outputStreamResource" to which the templating result
is to be written. By default,
 the templating result is
written to the Smooks.filter result if (if a StreamResult is provided).

"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="outputStreamResource"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="FreemarkerTemplate"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 The
FreeMarker Template.
 <p/>
 This
can be an inline template, or a reference (URI) to an externally defined template
(filesystem, classpath, www).
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="template"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=":0"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="encoding" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="UTF-8" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

Template character encodng.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="encoding"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="FreemarkerUse"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 The
&lt;use&gt; element allows you to define how the templating result is to
be used.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="use"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="inline"
eType="#//FreemarkerInline"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="inline"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="bindTo"
eType="#//FreemarkerBindTo"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="bindTo"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="outputTo" eType="#//FreemarkerOutputTo"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="outputTo"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/freemarker-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/groovy-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/groovy-1.1.ecore
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/groovy-1.1.ecore 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
name="groovy"
+
nsURI="http://www.milyn.org/xsd/smooks/groovy-1.1.xsd"
nsPrefix="g">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Groovy Scripting
Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass"
name="GroovyDocumentRoot">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed"
unique="false" upperBound="-1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="groovy"
upperBound="-2"
+ eType="#//Groovy" volatile="true" transient="true"
derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

Groovy Script.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="groovy"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation"
value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-con...
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="script"
upperBound="-2"
+ eType="#//ScriptType" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="script"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Groovy"
eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

Groovy Script.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="groovy"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="imports" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="imports"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="param"
upperBound="-1"
+ eType="ecore:EClass smooks-1.1.ecore#//ParamType"
containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="param"/>
+ <details key="namespace"
value="http://www.milyn.org/xsd/smooks-1.1.xsd"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="script"
lowerBound="1"
+ eType="#//ScriptType" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="script"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="executeBefore" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

Execute the script before visiting the elements child content. Default is
'false'.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="executeBefore"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="executeOnElement" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

The name of the element on which to execute the script.

"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="executeOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="executeOnElementNS" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

The namespace of the element on which to execute the script.

"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="executeOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ScriptType"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="script_._type"/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/groovy-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/io-routing-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/io-routing-1.1.ecore
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/io-routing-1.1.ecore 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
name="iorouting"
+
nsURI="http://www.milyn.org/xsd/smooks/io-routing-1.1.xsd"
nsPrefix="io">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks IO Routing
Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass" name="IODocumentRoot">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed"
unique="false" upperBound="-1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="router"
upperBound="-2"
+ eType="#//IORouter" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="router"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation"
value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-con...
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="IORouter"
eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			Output stream router
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="router"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="beanId"
lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The beanId
of the bean from the bean context to be written to the
OutputStream.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="beanId"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="encoding" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="UTF-8" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			 The
encoding used when writing characters to the stream. Default is
'UTF-8'
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="encoding"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="executeBefore" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			If the
routing is done before or after the selected element. Default is
'false'.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="executeBefore"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="resourceName" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The
resource name of the AbstractOutputStreamResource the bean should be routed
to.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="resourceName"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="routeOnElement" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The element
to route on.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="routeOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="routeOnElementNS" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The
namespace of the routeOnElement element.
			
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="routeOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/io-routing-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/javabean-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/javabean-1.1.ecore
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/javabean-1.1.ecore 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,390 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
name="javabean"
+
nsURI="http://www.milyn.org/xsd/smooks/javabean-1.1.xsd"
nsPrefix="jb">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks Java Binding
Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass" name="BindingsType"
eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="bindings_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="group"
unique="false" upperBound="-1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="group"/>
+ <details key="name" value="group:2"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="value"
upperBound="-1"
+ eType="#//ValueType" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
	
Basic "value" based binding configuration.
	
<p/>
	 This binding type is used to bind data from
the source message event stream.
	 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="value"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="group" value="#group:2"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="wiring"
upperBound="-1"
+ eType="#//WiringType" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			Wiring based binding configuration.

			<p/>
 			This
binding type is used to "wire" beans together.

		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="wiring"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="group" value="#group:2"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="expression" upperBound="-1"
+ eType="#//ExpressionType" volatile="true"
transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Expression based
Configuration"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="expression"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="group" value="#group:2"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="beanId"
lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

The ID under which the created bean is

to be bound in the bean context.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="beanId"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="class"
lowerBound="1" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

						The fully qualified bean Class
name.
 					"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="class"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="createOnElement" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

						The Source data event stream
element
 						event to use
to control the timing of

						the creating.

						<p/>

						Think of this as the element path
(in
 						the Source data)
used to control

						creation of the bean
instance(s).

						<h3>Example</h3>

						If this attribute value is
set to

						"order/orderItem",
an instance of the

						class (specified in the
"class"

						attribute) will be created when
an
 						element event!
for the element

						"orderItem" (with
a parent element of

						"order") is
encountered in the Source

						data event stream. The created
bean
 						instance will
then be bound into the

						bean context under the
specified

						"beanId".

						<p/>

						If the createOnElement is not set
then
 						no bean will be
created. The existing

						bean in the bean context will be
used to
 						do the value
binding, expression binding

						and the object wiring on.

					"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="createOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="createOnElementNS" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

						Namespace control for the

						"createOnElement"
attribute.
 					"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="createOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="extendLifecycle" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

						Defines if this bindings bean wiring
may still wire
 						beans
after the element is processed. This enables

						flat XML support.

						The default value can be set with
the global-parameter 'bean-population.default.extend.lifecycle'.

						Default the value is
'false'.
 					"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="extendLifecycle"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DecodeParamType"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="decodeParam_._type"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=":0"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
lowerBound="1" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The name of the
parameter."/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass"
name="JavabeanDocumentRoot">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed"
unique="false" upperBound="-1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="bindings" upperBound="-2"
+ eType="#//BindingsType" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				Javabean Bindings
Configuration.
				<h3>Bean Instance
Creation</h3>
				Instances of the class
specified in the
				"class"
attribute are created and bound into
				the bean
context under the ID specified by
				the
"beanId" attribute. The bean instance
is
				created (and bound) when the element
event
				specified in the
"createOnElement"
attribute
				is encountered in the Source data
event
				stream (see also
"createOnElementNS").
				<h3>Bean
Property/Member Population</h3>
				Bean
property/member population is
				controlled by
the binding sub-elements
				nested inside this
element. Use you!
r IDE to
				discover these
elements.
			"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="bindings"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation"
value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-con...
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="decodeParam" upperBound="-2"
+ eType="#//DecodeParamType" volatile="true"
transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

Data Decode Parameter.
 <p/>

Some decoders may require parameters in order to complete the decoding process e.g.
the
 <a
href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabea...;
These parameters can be specified by adding
&lt;decodeParam&gt; sub-elements to the
&lt;value&gt;
 binding element. Review the
Decoder's Javadoc for details of the custom parameters.

<p/>

<u>Example:</u>
<pre>
&lt;jb:value
property="date" data="header/date"
decoder="<a
href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabea...;
&lt;jb:decodeParam name="format"&gt!
;EEE MMM dd HH:mm:ss z yyyy&lt;/jb:decodeParam&gt;

&lt;jb:decodeParam
name="locale-language"&gt;en&lt;/jb:decodeParam&gt;

&lt;jb:decodeParam
name="locale-country"&gt;IE&lt;/jb:decodeParam&gt;
&lt;/jb:value&gt;
</pre>

"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="decodeParam"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="expression" upperBound="-2"
+ eType="#//ExpressionType" volatile="true"
transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Expression based
Configuration"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="expression"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="value"
upperBound="-2"
+ eType="#//ValueType" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
	
Basic "value" based binding configuration.
	
<p/>
	 This binding type is used to bind data from
the source message event stream.
	 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="value"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="wiring"
upperBound="-2"
+ eType="#//WiringType" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			Wiring based binding configuration.

			<p/>
 			This
binding type is used to "wire" beans together.

		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="wiring"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ExpressionType"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="expression_._type"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=":0"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="execOnElement" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

The Source data event stream element event to use to control the execution of
the expression
 and binding of the result.

<p/>

Think of this as the element path (in the Source data) used to control execution of
the
 expression.

<h3>Example</h3>
 If this
attribute value is set to "order/orderItem", the expression will be
executed (and
 the result bound to the target
property) when an "end" element event
("visitAfter")
 for the element
"orderItem" (with a parent element of "order") is
encountered in the
 Source data event strea!
m.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="execOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="execOnElementNS" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Namespace control for the
"execOnElement" attribute.

"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="execOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="property" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The class property to which
the expression evaluation result
 is to be bound.
Not needed when binding to a Collection.

<p/>
 The property attribute does not
need to be specified when the "class" type on the parent
"bindings" element
 is a
List/Array or Map. In the case of a List/Array, the bean is simply added. In the case of
Map, the
 element name (from the element specified
in the "data" attribute) is used.

"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="property"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="setterMethod" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
		
				The class method which is called to bind the
data
		 				to the object.
Not needed when binding to a Collection.
		
				<p/>

The setterMethod attribute does not need to be specified when the
"class" type on the parent "bindings" element

is a List/Array or Map. In the case of a List/Array, the
bean is simply added. In the case of Map, the

element name (from the element specified in the "data" attribute) is
used.
		 			"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="setterMethod"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ValueType"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="value_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="decodeParam" upperBound="-1"
+ eType="#//DecodeParamType" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

Data Decode Parameter.
 <p/>

Some decoders may require parameters in order to complete the decoding process e.g.
the
 <a
href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabea...;
These parameters can be specified by adding
&lt;decodeParam&gt; sub-elements to the
&lt;value&gt;
 binding element. Review the
Decoder's Javadoc for details of the custom parameters.

<p/>

<u>Example:</u>
<pre>
&lt;jb:value
property="date" data="header/date"
decoder="<a
href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabea...;
&lt;jb:decodeParam name="format"&gt!
;EEE MMM dd HH:mm:ss z yyyy&lt;/jb:decodeParam&gt;

&lt;jb:decodeParam
name="locale-language"&gt;en&lt;/jb:decodeParam&gt;

&lt;jb:decodeParam
name="locale-country"&gt;IE&lt;/jb:decodeParam&gt;
&lt;/jb:value&gt;
</pre>

"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="decodeParam"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="data"
lowerBound="1" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

The Source data event stream element event defining the data to be bound.

<p/>
 Think of this as the
element path (in the Source data) to the data.

<h3>Examples</h3>

<ul>
 <li>

<b>Element Text Data:</b>

"order/orderid"

</li>
 <li>

<b>Element Attribute Data:</b>

"order/header/@date"

</li>
 </ul>

"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="data"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="dataNS"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The namespace for the
"data" selector (see "data" attribute).

"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="dataNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="decoder" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

Data Decoder.
 <p/>

This attribute specifies the
 <a
href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabea...;
to be used to decode the data (see "data"
attribute) before setting it on the target bean

property(see "property" attribute).

<p/>
 Smooks contains decoders for all of the
main data types (Long, Integer etc). In these cases,
 just
specify the decoder as being "Long", "Integer",
"Date" etc i.e. no need to specify the fully qualified

<a
href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabea...!
der</a>
 class name. The fully qualified class
name is only required for custom
 <a
href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabea...;
implementations.


<h3>Primitive Types</h3>
 Smooks does
not define special decoders for any of the primitive types. To decode a

primitive property type, just specify the Object equivalent decoder e.g.
specify "Integer" for "int",

"Double" for "double" etc etc.


<h3>Decode Parameters</h3>

Some decoders may require parameters in order to complete the decoding process
e.g. the
 <a
href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/jav!
abean/decoders/DateDecoder.html">DateDecoder</a>.

These parameters can be specified by adding
&lt;decodeParam&gt; sub-elements to the
&lt;value&gt;
 binding element. Review the
Decoder's Javadoc for details of the custom parameters.

<p/>

<u>Example:</u>
<pre>

&lt;jb:value property="date"
data="header/date" decoder="<a
href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabea...;
&lt;jb:decodeParam name="format"&gt;EEE MMM dd
HH:mm:ss z yyyy&lt;/jb:decodeParam&gt;

&lt;jb:decodeParam
name="locale-language"&gt;en&lt;/jb:decodeParam&gt;

&lt;jb:decodeParam
name="locale-country"&gt;IE&lt;/jb:decodeParam&gt;

&lt;/jb:value&gt;
</pre>


!
<h3>Custom Data Decoding</h3>
 For
custom data decoding, implement the
 <a
href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabea...;
DataDecoder

</a>
 interface and specify the decoder using the
fully qualified class name of the new

implementation.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="decoder"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="default" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The default data value,
where a null/empty data String is returned
 for the data
element.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="default"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="property" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The class property to which
the decoded data is to be bound.
 <p/>

The property attribute does not need to be specified when the
"class" type on the parent "bindings" element

is a List/Array or Map. In the case of a List/Array, the bean is
simply added. In the case of Map, the
 element name (from
the element specified in the "data" attribute) is used.

"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="property"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="setterMethod" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

				The class method which is called to bind the
data
 				to the object. Not needed when
binding to a Collection.

				<p/>
 The
setterMethod attribute does not need to be specified when the "class"
type on the parent "bindings" element
 is
a List/Array or Map. In the case of a List/Array, the bean is simply added. In the case
of Map, the
 element name (from the element specified in
the "data" attribute) is used.

			"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="setterMethod"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="WiringType"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="wiring_._type"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="beanIdRef" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

				The beanId of the bean to be wired into the

				specified bean "property" (or
List).
 			"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="beanIdRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="property" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

				The class property to which the bean
(specified
 				by
"beanIdRef") is to be bound.

				<p/>

				The property attribute does not need to be

				specified when the "class" type
on the parent

				"bindings" element is a List/Array
or Map. In
 				the case of a List/Array,
the bean is simply
 				added. In the case
of Map, the element name
 				(from the
element specified in the "data"

				attribute) is used.

			"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="property"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="setterMethod" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

				The class method which is called to bind the
data
 				to the object. Not needed when
binding to a Collection.

				<p/>
 The
setterMethod attribute does not need to be specified when the "class"
type on the parent "bindings" element
 is
a List/Array or Map. In the case of a List/Array, the bean is simply added. In the case
of Map, the
 element name (from the element specified in
the "data" attribute) is used.

			"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="setterMethod"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="wireOnElement" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

				The Source data event stream element event to

				use to control when the bean needs to be
wired
 				or when the cartridge needs to
register a
 				listener for the bean to be
wired.
 			"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="wireOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="wireOnElementNS" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

				Namespace control for the
"wireOnElement"

				attribute.

			"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="wireOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/javabean-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/jms-routing-1.1.ecore
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/jms-routing-1.1.ecore
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/jms-routing-1.1.ecore 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,449 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
name="jmsrouting"
+
nsURI="http://www.milyn.org/xsd/smooks/jms-routing-1.1.xsd"
nsPrefix="jms">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks JMS Routing
Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EEnum" name="AcknowledgeMode">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				The possible JMS acknowledge
modes
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="acknowledgeMode"/>
+ </eAnnotations>
+ <eLiterals name="AUTOACKNOWLEDGE"
literal="AUTO_ACKNOWLEDGE">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
						With this
acknowledgement mode, the session automatically acknowledges a client's receipt of
a
						message when it has either
successfully returned from a call to receive or the message
listener
						it has called to
process the message successfully returns.

				"/>
+ </eAnnotations>
+ </eLiterals>
+ <eLiterals name="CLIENTACKNOWLEDGE" value="1"
literal="CLIENT_ACKNOWLEDGE">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
						With this
acknowledgement mode, the client acknowledges a message by calling a message's
acknowledge method.
 				"/>
+ </eAnnotations>
+ </eLiterals>
+ <eLiterals name="DUPSOKACKNOWLEDGE" value="2"
literal="DUPS_OK_ACKNOWLEDGE">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
						This
acknowledgement mode instructs the session to lazily acknowledge the delivery of
messages.
 				"/>
+ </eAnnotations>
+ </eLiterals>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType"
name="AcknowledgeModeObject"
instanceClassName="org.eclipse.emf.common.util.Enumerator">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="acknowledgeMode:Object"/>
+ <details key="baseType" value="acknowledgeMode"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Connection">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				The JMS connection
configuration.
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="connection"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="factory" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="ConnectionFactory"
unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
					The ConnectionFactory to
look up
		 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="factory"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="securityCredential" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
					The security credentials
to use when creating the JMS connection.
		
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="securityCredential"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="securityPrincipal" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
					The security principal
use when creating the JMS connection.
		
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="securityPrincipal"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="DeliveryMode">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				The possible JMS delivery
modes.
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="deliveryMode"/>
+ </eAnnotations>
+ <eLiterals name="persistent">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
						This mode
instructs the JMS provider to log the message to stable storage as part of the
client's send operation.
 				"/>
+ </eAnnotations>
+ </eLiterals>
+ <eLiterals name="nonPersistent" value="1"
literal="non-persistent">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
						This is the
lowest overhead delivery mode because it does not require that the message be logged to
stable storage.
 				"/>
+ </eAnnotations>
+ </eLiterals>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType"
name="DeliveryModeObject"
instanceClassName="org.eclipse.emf.common.util.Enumerator">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="deliveryMode:Object"/>
+ <details key="baseType" value="deliveryMode"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass"
name="JmsDocumentRoot">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed"
unique="false" upperBound="-1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="router"
upperBound="-2"
+ eType="#//JmsRouter" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
	
			JMS router configuration

			The JMS router routes messages to a JMS destination (Queue or
Topic).
 			The message payload is created from a bean
out of the bean context. It is possible
 			to send
Text or Object messages. The correlation id can be generated out of a FreeMarker

			template.
	 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="router"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation"
value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-con...
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass"
name="JmsHighWaterMark">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				The configuration for the max
number of messages that can be sitting in
the
				JMS Destination at any any time.

		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="highWaterMark"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mark"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Int"
+ defaultValueLiteral="200" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
					The max number of
messages that can be sitting in the JMS Destination at any any time. Default is
200.
		 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="mark"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="pollFrequency" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Int"
+ defaultValueLiteral="1000" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
					The number of
milliseconds to wait between checks on the High Water Mark, while waiting for it to
drop.
					Default is 1000
ms.
		 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="pollFrequency"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="timeout" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Int"
+ defaultValueLiteral="60000" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
					The number of
milliseconds to wait for the system to process JMS Messages from the JMS destination so
that the
					number of JMS Messages drops
below the highWaterMark. Default is 60000 ms.
		
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="timeout"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="JmsJndi">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				The JNDI configuration.

		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="jndi"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="contextFactory" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="org.jnp.interfaces.NamingContextFactory"
unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
					The JNDI ContextFactory
to use
		 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="contextFactory"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="namingFactory" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="org.jboss.naming:java.naming.factory.url.pkgs"
unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
					The JNDI NamingFactory
to use
		 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="namingFactory"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="providerUrl" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="jnp://localhost:1099"
unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
					The JNDI Provider URL to
use.
		 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="providerUrl"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Message">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				The message
configuration.
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="message"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="correlationIdPattern" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
						JMS Correlation
pattern that will be used for the outgoing
message.
						Templating support
is available via the FreeMarker template engine.
			
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="correlationIdPattern"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="deliveryMode" eType="#//DeliveryMode"
+ defaultValueLiteral="persistent" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
					The JMS DeliveryMode.
'persistent'(default) or 'non-persistent'.
		
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="deliveryMode"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="priority" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Int"
+ defaultValueLiteral="4" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
					The JMS Priority to be
used
		 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="priority"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="timeToLive" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Long"
+ defaultValueLiteral="0" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
					The JMS Time-To-Live to
be used.
		 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="timeToLive"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="type"
eType="#//MessageType"
+ defaultValueLiteral="TextMessage" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
					The type of JMS Message
that should be sent. 'TextMessage'(default) or
'ObjectMessage'.
		 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="type"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="MessageType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				The possible JMS message
types.
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="messageType"/>
+ </eAnnotations>
+ <eLiterals name="TextMessage">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
						A TextMessage
is used to send a message containing a
java.lang.String.
						To
retrieve the string the cartridge calls the 'toString()' method of the target
bean.
 				"/>
+ </eAnnotations>
+ </eLiterals>
+ <eLiterals name="ObjectMessage" value="1">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
						An
ObjectMessage is used to send a message that contains a serializable Java
object.
						Only Serializable
Java objects can be used.
 				"/>
+ </eAnnotations>
+ </eLiterals>
+ <eLiterals name="MapMessage" value="2">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
						A MapMessage is
used to send a set of name-value pairs where names are Strings and values are Java
primitive types or
Strings.
						Only Map Java
objects can be used.
						For the
keys of the map the 'toString()' method is called to retrieve the String
representation.
						Objects that
aren't primitive types or Strings get the toString() method called to return the
String representation.
 				"/>
+ </eAnnotations>
+ </eLiterals>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType"
name="MessageTypeObject"
instanceClassName="org.eclipse.emf.common.util.Enumerator">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="messageType:Object"/>
+ <details key="baseType" value="messageType"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="JmsRouter"
eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			JMS Router
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="router"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="message" eType="#//Message"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
								The
message configuration.
				
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="message"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="connection" eType="#//Connection"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
								The
JMS connection configuration.
				
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="connection"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="session" eType="#//Session"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
								The
JMS session configuration.
				
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="session"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="jndi"
eType="#//JmsJndi"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
								The
JNDI configuration.
				
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="jndi"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="highWaterMark" eType="#//JmsHighWaterMark"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
								The
configuration for the max number of messages that can be sitting in
the
								JMS
Destination at any any time.
				
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="highWaterMark"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="beanId"
lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
							The
beanId of the bean from the bean context to be used as message
payload.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="beanId"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="destination" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
							The
JMS destination string
			
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="destination"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="executeBefore" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
							If the
routing is done before or after the selected element. Default is
'false'.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="executeBefore"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="routeOnElement" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
							The
element to route on.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="routeOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="routeOnElementNS" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The
namespace of the routeOnElement element.
			
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="routeOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Session">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				The JMS session
configuration.
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="session"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="acknowledgeMode" eType="#//AcknowledgeMode"
+ defaultValueLiteral="AUTO_ACKNOWLEDGE" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
					The acknowledge mode to
use. One of 'AUTO_ACKNOWLEDGE'(default), 'CLIENT_ACKNOWLEDGE',
'DUPS_OK_ACKNOWLEDGE'.
		 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="acknowledgeMode"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="transacted" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
					Determines if the
session should be transacted. Defaults to 'false'.
		
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="transacted"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/jms-routing-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/json-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/json-1.1.ecore
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/json-1.1.ecore 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,186 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="json"
+
nsURI="http://www.milyn.org/xsd/smooks/json-1.1.xsd"
nsPrefix="json">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks JSON Reader
Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass"
name="JsonDocumentRoot">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed"
unique="false" upperBound="-1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="reader"
upperBound="-2"
+ eType="#//JsonReader" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			JSON Reader Configuration
 		
	The JSON reader reads a JSON stream and converts it to SAX events that
Smooks
 		 	can process.

		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="reader"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation"
value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-reader"...
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Key">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="key"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=":0"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="from"
lowerBound="1" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 		 	The name
of the key that will be replaced.
			
		 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="from"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="to"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 		 	The name
the "from" key name is changed into.
			
		 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="to"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="KeyMap">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="keyMap"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="key"
lowerBound="1" upperBound="-1"
+ eType="#//Key" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 		 	Defines a
JSON element name mapping
			 		
	The "from" key will be replaced with the "to"
key or the contents of this element.
		 		
	"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="key"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="JsonReader"
eSuperTypes="smooks-1.1.ecore#//AbstractReader">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="JSON Reader"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="reader"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="keyMap"
eType="#//KeyMap"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				 		
	Defines a JSON element name mapping
				
		 	The "from" key will be replaced with the
"to" key or the contents of the
element.
				 		 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="keyMap"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="arrayElementName" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="element" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 		 	The
element name of a array element. Default of
'element'.
			 		 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="arrayElementName"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="encoding" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="UTF-8" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 		 	The
encoding of the input stream. Default of
'UTF-8'
			 		 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="encoding"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="illegalElementNameCharReplacement"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 		 	If illegal
characters are encountered in a JSON element name then they are replaced with this
value.
			 		 	By default this
is not defined, so that the reader doesn't doesn't search for illegal
characters.
			 		 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name"
value="illegalElementNameCharReplacement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="keyPrefixOnNumeric" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 		 	The prefix
character to add if the JSON node name starts with a
number.
			 		 	By default this
is not defined, so that the reader doesn't search for element names that start with a
number.
			 		 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="keyPrefixOnNumeric"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="keyWhitspaceReplacement"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 		 	The
replacement character for whitespaces in a JSON map
key.
			 		 	By default this
not defined, so that the reader doesn't search for
whitespaces.
			 		 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="keyWhitspaceReplacement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="nullValueReplacement" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 		 	The
replacement string for JSON NULL values. Default is an empty
string.
			 		 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="nullValueReplacement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="rootName" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="json" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 		 	The
element name of the document root. Default of
'json'.
			 		 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="rootName"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/json-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/smooks-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/smooks-1.1.ecore
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/smooks-1.1.ecore 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,707 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
name="smooks"
+
nsURI="http://www.milyn.org/xsd/smooks-1.1.xsd"
nsPrefix="smooks">
+ <eClassifiers xsi:type="ecore:EClass" name="AbstractReader"
abstract="true" eSuperTypes="#//AbstractResourceConfig">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="abstract-reader"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="targetProfile" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="targetProfile"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass"
name="AbstractResourceConfig" abstract="true"
+ eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="abstract-resource-config"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ConditionsType"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Conditions List."/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="conditions_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="condition" lowerBound="1"
+ upperBound="-1" eType="#//ConditionType"
containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="condition"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ConditionType"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Resource Targetting
Condition"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="condition_._type"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=":0"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="evaluator" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String"
+
defaultValueLiteral="org.milyn.javabean.expression.BeanMapExpressionEvaluator"
+ unsettable="true">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="evaluator"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="id"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="id"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="idRef"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="idRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass"
name="Smooks11DocumentRoot">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed"
unique="false" upperBound="-1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="abstractReader" upperBound="-2"
+ eType="#//AbstractReader" changeable="false"
volatile="true" transient="true"
+ derived="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="abstract-reader"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="abstractResourceConfig"
+ upperBound="-2" eType="#//AbstractResourceConfig"
changeable="false" volatile="true"
+ transient="true" derived="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="abstract-resource-config"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="condition" upperBound="-2"
+ eType="#//ConditionType" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="condition"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="conditions" upperBound="-2"
+ eType="#//ConditionsType" volatile="true"
transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="conditions"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="elementVisitor" upperBound="-2"
+ eType="#//ElementVisitor" changeable="false"
volatile="true" transient="true"
+ derived="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="element-visitor"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation"
value="abstract-resource-config"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="features" upperBound="-2"
+ eType="#//FeaturesType" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="features"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="handler" upperBound="-2"
+ eType="#//HandlerType" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="handler"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="handlers" upperBound="-2"
+ eType="#//HandlersType" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="handlers"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="import"
upperBound="-2"
+ eType="#//ImportType" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="import"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation"
value="abstract-resource-config"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="param"
upperBound="-2"
+ eType="#//ParamType" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="param"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="params"
upperBound="-2"
+ eType="#//ParamsType" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="params"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="profile" upperBound="-2"
+ eType="#//ProfileType" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="profile"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="profiles" upperBound="-2"
+ eType="#//ProfilesType" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="profiles"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="reader"
upperBound="-2"
+ eType="#//ReaderType" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="reader"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="abstract-reader"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="resource" upperBound="-2"
+ eType="#//ResourceType" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resource"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="resourceConfig" upperBound="-2"
+ eType="#//ResourceConfigType" volatile="true"
transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resource-config"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation"
value="abstract-resource-config"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="setOff"
upperBound="-2"
+ eType="#//SetOffType" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="setOff"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="setOn"
upperBound="-2"
+ eType="#//SetOnType" volatile="true"
transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="setOn"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="smooksResourceList" upperBound="-2"
+ eType="#//SmooksResourceListType" volatile="true"
transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="smooks-resource-list"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ElementVisitor"
abstract="true" eSuperTypes="#//AbstractResourceConfig">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Element Visitor Resource
Type"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="element-visitor"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="condition" eType="#//ConditionType"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="condition"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="targetProfile" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

						Defines the target profile

					"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="targetProfile"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="FeaturesType"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Reader Features
List"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="features_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="setOn"
upperBound="-1"
+ eType="#//SetOnType" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="setOn"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="setOff"
upperBound="-1"
+ eType="#//SetOffType" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="setOff"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="HandlersType"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

Reader Handler Classes.
 <p/>

Set a handler on the reader instance e.g. an EntityResolver, ErrorHandler
etc.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="handlers_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="handler" lowerBound="1"
+ upperBound="-1" eType="#//HandlerType"
containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="handler"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="HandlerType"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

Handler class name.
 <p/>

This is the Handler class name e.g. an EntityResolver, ErrorHandler implementation
etc.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="handler_._type"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="class"
lowerBound="1" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="class"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ImportType"
eSuperTypes="#//AbstractResourceConfig">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks Resource Configuration
Import"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="import_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="param"
upperBound="-1"
+ eType="#//ParamType" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="param"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="file"
lowerBound="1" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="file"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ParamsType"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Resource
Parameters"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="params_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="param"
lowerBound="1" upperBound="-1"
+ eType="#//ParamType" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="param"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ParamType"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Resource
Parameter"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="param_._type"/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
lowerBound="1" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="type"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="type"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ProfilesType"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="List of Profiles"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="profiles_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="profile" lowerBound="1"
+ upperBound="-1" eType="#//ProfileType"
containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="profile"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ProfileType"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Profile Configuration.
Basically allows you to specify the name of a
 base profile
along with a list of its sub-profiles.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="profile_._type"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=":0"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="baseProfile" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="base-profile"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="subProfiles" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="sub-profiles"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ReaderType"
eSuperTypes="#//AbstractReader">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Stream Reader"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="reader_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="handlers" eType="#//HandlersType"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="handlers"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="features" eType="#//FeaturesType"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="features"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="params"
eType="#//ParamsType"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="params"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="class"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="class"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ResourceConfigType"
eSuperTypes="#//AbstractResourceConfig">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks Resource
Configuration"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="resource-config_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="resource" eType="#//ResourceType"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resource"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="condition" eType="#//ConditionType"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="condition"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="param"
upperBound="-1"
+ eType="#//ParamType" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="param"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="selector" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="selector"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="selectorNamespace" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="selector-namespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="targetProfile" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="target-profile"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ResourceType"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Resource Configuration
Resource Type (xsl, class etc)"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="resource_._type"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=":0"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="type"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="type"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="SetOffType"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Set Reader Feature
'Off'"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="setOff_._type"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="feature" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="feature"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="SetOnType"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Set Reader Feature
'On'"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="setOn_._type"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="feature" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="feature"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass"
name="SmooksResourceListType"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="List of Smooks Resource
Configuration."/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name"
value="smooks-resource-list_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="params"
eType="#//ParamsType"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="params"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="conditions" eType="#//ConditionsType"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="conditions"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="profiles" eType="#//ProfilesType"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="profiles"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="abstractReaderGroup" unique="false"
+ upperBound="-1" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="group"/>
+ <details key="name" value="abstract-reader:group"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="abstractReader" upperBound="-1"
+ eType="#//AbstractReader" changeable="false"
volatile="true" transient="true"
+ derived="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="abstract-reader"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="group" value="abstract-reader:group"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="abstractResourceConfigGroup"
+ unique="false" upperBound="-1" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="group"/>
+ <details key="name"
value="abstract-resource-config:group"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="abstractResourceConfig"
+ upperBound="-1" eType="#//AbstractResourceConfig"
changeable="false" volatile="true"
+ transient="true" derived="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="abstract-resource-config"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="group"
value="abstract-resource-config:group"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="defaultConditionRef" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="default-condition-ref"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="defaultSelector" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="default-selector"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="defaultSelectorNamespace"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name"
value="default-selector-namespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="defaultTargetProfile" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="default-target-profile"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/smooks-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/smooks-1.1.genmodel
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/smooks-1.1.genmodel
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/smooks-1.1.genmodel 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,628 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<genmodel:GenModel xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel"
modelDirectory="/org.jboss.tools.smooks.core/src"
+ editDirectory="/org.jboss.tools.smooks.core/src"
modelPluginID="org.jboss.tools.smooks.core"
+ modelName="Smooks-1-1"
testsDirectory="/org.jboss.tools.smooks.core/test_src"
+ importerID="org.eclipse.emf.importer.ecore" complianceLevel="6.0"
copyrightFields="false">
+ <foreignModel>smooks-1.1.ecore</foreignModel>
+ <foreignModel>calc-1.1.ecore</foreignModel>
+ <foreignModel>common.ecore</foreignModel>
+ <foreignModel>csv-1.1.ecore</foreignModel>
+ <foreignModel>datasource-1.1.ecore</foreignModel>
+ <foreignModel>db-routing-1.1.ecore</foreignModel>
+ <foreignModel>edi-1.1.ecore</foreignModel>
+ <foreignModel>edi-message-mapping-1.0.ecore</foreignModel>
+ <foreignModel>ext.ecore</foreignModel>
+ <foreignModel>file-routing-1.1.ecore</foreignModel>
+ <foreignModel>freemarker-1.1.ecore</foreignModel>
+ <foreignModel>groovy-1.1.ecore</foreignModel>
+ <foreignModel>io-routing-1.1.ecore</foreignModel>
+ <foreignModel>javabean-1.1.ecore</foreignModel>
+ <foreignModel>jms-routing-1.1.ecore</foreignModel>
+ <foreignModel>json-1.1.ecore</foreignModel>
+ <foreignModel>xsl-1.1.ecore</foreignModel>
+ <genPackages prefix="Smooks"
basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="smooks-1.1.ecore#/">
+ <genClasses image="false"
ecoreClass="smooks-1.1.ecore#//AbstractReader">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//AbstractReader/targetProfile"/>
+ </genClasses>
+ <genClasses image="false"
ecoreClass="smooks-1.1.ecore#//AbstractResourceConfig"/>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ConditionsType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ConditionsType/condition"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ConditionType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ConditionType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ConditionType/evaluator"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ConditionType/id"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ConditionType/idRef"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//Smooks11DocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//Smooks11DocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/abstractReader"/>
+ <genFeatures property="None" children="true"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/abstractResourceConfig"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/condition"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/conditions"/>
+ <genFeatures property="None" children="true"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/elementVisitor"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/features"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/handler"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/handlers"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/import"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/param"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/params"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/profile"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/profiles"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/reader"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/resource"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/resourceConfig"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/setOff"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/setOn"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/smooksResourceList"/>
+ </genClasses>
+ <genClasses image="false"
ecoreClass="smooks-1.1.ecore#//ElementVisitor">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ElementVisitor/condition"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ElementVisitor/targetProfile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//FeaturesType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//FeaturesType/setOn"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//FeaturesType/setOff"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//HandlersType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//HandlersType/handler"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//HandlerType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//HandlerType/class"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ImportType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ImportType/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ImportType/file"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ParamsType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ParamsType/param"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ParamType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ParamType/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ParamType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ProfilesType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ProfilesType/profile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ProfileType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ProfileType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ProfileType/baseProfile"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ProfileType/subProfiles"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ReaderType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ReaderType/handlers"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ReaderType/features"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ReaderType/params"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ReaderType/class"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ResourceConfigType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ResourceConfigType/resource"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ResourceConfigType/condition"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ResourceConfigType/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ResourceConfigType/selector"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ResourceConfigType/selectorNamespace"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ResourceConfigType/targetProfile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ResourceType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ResourceType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ResourceType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SetOffType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SetOffType/feature"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SetOnType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SetOnType/feature"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SmooksResourceListType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//SmooksResourceListType/params"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//SmooksResourceListType/conditions"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//SmooksResourceListType/profiles"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/abstractReaderGroup"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//SmooksResourceListType/abstractReader"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/abstractResourceConfigGroup"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//SmooksResourceListType/abstractResourceConfig"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/defaultConditionRef"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/defaultSelector"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/defaultSelectorNamespace"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/defaultTargetProfile"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Calc"
basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="calc-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false"
ecoreEnum="calc-1.1.ecore#//CountDirection">
+ <genEnumLiterals
ecoreEnumLiteral="calc-1.1.ecore#//CountDirection/INCREMENT"/>
+ <genEnumLiterals
ecoreEnumLiteral="calc-1.1.ecore#//CountDirection/DECREMENT"/>
+ </genEnums>
+ <genDataTypes
ecoreDataType="calc-1.1.ecore#//CountDirectionObject"/>
+ <genClasses ecoreClass="calc-1.1.ecore#//Counter">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/startExpression"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/amountExpression"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/resetCondition"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/amount"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/beanId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/countOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/countOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/direction"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/executeAfter"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/start"/>
+ </genClasses>
+ <genClasses ecoreClass="calc-1.1.ecore#//CalcDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//CalcDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
calc-1.1.ecore#//CalcDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
calc-1.1.ecore#//CalcDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
calc-1.1.ecore#//CalcDocumentRoot/counter"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Common"
basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="common.ecore#/">
+ <genClasses image="false"
ecoreClass="common.ecore#//AbstractAnyType">
+ <genOperations
ecoreOperation="common.ecore#//AbstractAnyType/getCDATA"/>
+ <genOperations
ecoreOperation="common.ecore#//AbstractAnyType/setCDATA">
+ <genParameters
ecoreParameter="common.ecore#//AbstractAnyType/setCDATA/cdata"/>
+ </genOperations>
+ <genOperations
ecoreOperation="common.ecore#//AbstractAnyType/getStringValue"/>
+ <genOperations
ecoreOperation="common.ecore#//AbstractAnyType/setStringValue">
+ <genParameters
ecoreParameter="common.ecore#//AbstractAnyType/setStringValue/stringValue"/>
+ </genOperations>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Csv"
basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="csv-1.1.ecore#/">
+ <genDataTypes ecoreDataType="csv-1.1.ecore#//Char"/>
+ <genClasses ecoreClass="csv-1.1.ecore#//CsvDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
csv-1.1.ecore#//CsvDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
csv-1.1.ecore#//CsvDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
csv-1.1.ecore#//CsvDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
csv-1.1.ecore#//CsvDocumentRoot/reader"/>
+ </genClasses>
+ <genClasses ecoreClass="csv-1.1.ecore#//CsvReader">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
csv-1.1.ecore#//CsvReader/encoding"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
csv-1.1.ecore#//CsvReader/fields"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
csv-1.1.ecore#//CsvReader/quote"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
csv-1.1.ecore#//CsvReader/separator"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
csv-1.1.ecore#//CsvReader/skipLines"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Datasource"
basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="datasource-1.1.ecore#/">
+ <genClasses ecoreClass="datasource-1.1.ecore#//Direct">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/autoCommit"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/bindOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/bindOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/datasource"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/driver"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/password"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/url"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/username"/>
+ </genClasses>
+ <genClasses
ecoreClass="datasource-1.1.ecore#//DataSourceDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//DataSourceDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
datasource-1.1.ecore#//DataSourceDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
datasource-1.1.ecore#//DataSourceDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
datasource-1.1.ecore#//DataSourceDocumentRoot/direct"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
datasource-1.1.ecore#//DataSourceDocumentRoot/jNDI"/>
+ </genClasses>
+ <genClasses ecoreClass="datasource-1.1.ecore#//DataSourceJndi">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//DataSourceJndi/autoCommit"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//DataSourceJndi/bindOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//DataSourceJndi/datasource"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Dbrouting"
basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="db-routing-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false"
ecoreEnum="db-routing-1.1.ecore#//ResultSetScopeType">
+ <genEnumLiterals
ecoreEnumLiteral="db-routing-1.1.ecore#//ResultSetScopeType/EXECUTION"/>
+ <genEnumLiterals
ecoreEnumLiteral="db-routing-1.1.ecore#//ResultSetScopeType/APPLICATION"/>
+ </genEnums>
+ <genDataTypes
ecoreDataType="db-routing-1.1.ecore#//ResultSetScopeTypeObject"/>
+ <genClasses
ecoreClass="db-routing-1.1.ecore#//DBRoutingDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//DBRoutingDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
db-routing-1.1.ecore#//DBRoutingDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
db-routing-1.1.ecore#//DBRoutingDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
db-routing-1.1.ecore#//DBRoutingDocumentRoot/executor"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
db-routing-1.1.ecore#//DBRoutingDocumentRoot/resultSetRowSelector"/>
+ </genClasses>
+ <genClasses ecoreClass="db-routing-1.1.ecore#//Executor">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//Executor/statement"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
db-routing-1.1.ecore#//Executor/resultSet"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//Executor/datasource"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//Executor/executeBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//Executor/executeOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//Executor/executeOnElementNS"/>
+ </genClasses>
+ <genClasses ecoreClass="db-routing-1.1.ecore#//ResultSet">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//ResultSet/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//ResultSet/scope"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//ResultSet/timeToLive"/>
+ </genClasses>
+ <genClasses
ecoreClass="db-routing-1.1.ecore#//ResultSetRowSelector">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//ResultSetRowSelector/where"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//ResultSetRowSelector/failedSelectError"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//ResultSetRowSelector/beanId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//ResultSetRowSelector/executeBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//ResultSetRowSelector/resultSetName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//ResultSetRowSelector/selectRowOnElement"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Edi"
basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="edi-1.1.ecore#/">
+ <genClasses ecoreClass="edi-1.1.ecore#//EDIDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
edi-1.1.ecore#//EDIDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
edi-1.1.ecore#//EDIDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
edi-1.1.ecore#//EDIDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
edi-1.1.ecore#//EDIDocumentRoot/reader"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-1.1.ecore#//EDIReader">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-1.1.ecore#//EDIReader/encoding"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-1.1.ecore#//EDIReader/mappingModel"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Medi"
basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="edi-message-mapping-1.0.ecore#/">
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//Component">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
edi-message-mapping-1.0.ecore#//Component/subComponent"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Component/required"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Component/truncatable"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//Delimiters">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Delimiters/component"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Delimiters/field"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Delimiters/segment"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Delimiters/subComponent"/>
+ </genClasses>
+ <genClasses
ecoreClass="edi-message-mapping-1.0.ecore#//Description">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Description/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Description/version"/>
+ </genClasses>
+ <genClasses
ecoreClass="edi-message-mapping-1.0.ecore#//MediDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//MediDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
edi-message-mapping-1.0.ecore#//MediDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
edi-message-mapping-1.0.ecore#//MediDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
edi-message-mapping-1.0.ecore#//MediDocumentRoot/edimap"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//EdiMap">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
edi-message-mapping-1.0.ecore#//EdiMap/description"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
edi-message-mapping-1.0.ecore#//EdiMap/delimiters"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
edi-message-mapping-1.0.ecore#//EdiMap/segments"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//Field">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
edi-message-mapping-1.0.ecore#//Field/component"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Field/required"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Field/truncatable"/>
+ </genClasses>
+ <genClasses
ecoreClass="edi-message-mapping-1.0.ecore#//MappingNode">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//MappingNode/xmltag"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//Segment">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
edi-message-mapping-1.0.ecore#//Segment/field"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
edi-message-mapping-1.0.ecore#//Segment/segment"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Segment/maxOccurs"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Segment/minOccurs"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Segment/segcode"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Segment/truncatable"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//Segments">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
edi-message-mapping-1.0.ecore#//Segments/segment"/>
+ </genClasses>
+ <genClasses
ecoreClass="edi-message-mapping-1.0.ecore#//SubComponent">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//SubComponent/required"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Ext"
basePackage="org.jboss.tools.smooks.model.graphics" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="ext.ecore#/">
+ <genClasses ecoreClass="ext.ecore#//SmooksGraphicalExtDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
ext.ecore#//SmooksGraphicalExtDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
ext.ecore#//SmooksGraphicalExtDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
ext.ecore#//SmooksGraphicalExtDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
ext.ecore#//SmooksGraphicalExtDocumentRoot/input"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
ext.ecore#//SmooksGraphicalExtDocumentRoot/param"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
ext.ecore#//SmooksGraphicalExtDocumentRoot/smooksGraphicsExt"/>
+ </genClasses>
+ <genClasses ecoreClass="ext.ecore#//InputType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
ext.ecore#//InputType/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
ext.ecore#//InputType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="ext.ecore#//ParamType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
ext.ecore#//ParamType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
ext.ecore#//ParamType/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
ext.ecore#//ParamType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="ext.ecore#//SmooksGraphicsExtType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
ext.ecore#//SmooksGraphicsExtType/input"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
ext.ecore#//SmooksGraphicsExtType/inputType"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
ext.ecore#//SmooksGraphicsExtType/outputType"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="FileRouting"
basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="file-routing-1.1.ecore#/">
+ <genClasses
ecoreClass="file-routing-1.1.ecore#//FileRoutingDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//FileRoutingDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
file-routing-1.1.ecore#//FileRoutingDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
file-routing-1.1.ecore#//FileRoutingDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
file-routing-1.1.ecore#//FileRoutingDocumentRoot/outputStream"/>
+ </genClasses>
+ <genClasses
ecoreClass="file-routing-1.1.ecore#//FileRoutingHighWaterMark">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//FileRoutingHighWaterMark/mark"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//FileRoutingHighWaterMark/pollFrequency"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//FileRoutingHighWaterMark/timeout"/>
+ </genClasses>
+ <genClasses ecoreClass="file-routing-1.1.ecore#//OutputStream">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//OutputStream/fileNamePattern"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//OutputStream/destinationDirectoryPattern"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//OutputStream/listFileNamePattern"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
file-routing-1.1.ecore#//OutputStream/highWaterMark"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//OutputStream/closeOnCondition"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//OutputStream/encoding"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//OutputStream/openOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//OutputStream/openOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//OutputStream/resourceName"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Freemarker"
basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="freemarker-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false"
ecoreEnum="freemarker-1.1.ecore#//FreemarkerInlineDirective">
+ <genEnumLiterals
ecoreEnumLiteral="freemarker-1.1.ecore#//FreemarkerInlineDirective/addto"/>
+ <genEnumLiterals
ecoreEnumLiteral="freemarker-1.1.ecore#//FreemarkerInlineDirective/replace"/>
+ <genEnumLiterals
ecoreEnumLiteral="freemarker-1.1.ecore#//FreemarkerInlineDirective/insertbefore"/>
+ <genEnumLiterals
ecoreEnumLiteral="freemarker-1.1.ecore#//FreemarkerInlineDirective/insertafter"/>
+ </genEnums>
+ <genDataTypes
ecoreDataType="freemarker-1.1.ecore#//FreemarkerInlineDirectiveObject"/>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//FreemarkerBindTo">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
freemarker-1.1.ecore#//FreemarkerBindTo/id"/>
+ </genClasses>
+ <genClasses
ecoreClass="freemarker-1.1.ecore#//FreemarkerDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
freemarker-1.1.ecore#//FreemarkerDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
freemarker-1.1.ecore#//FreemarkerDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
freemarker-1.1.ecore#//FreemarkerDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
freemarker-1.1.ecore#//FreemarkerDocumentRoot/freemarker"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//Freemarker">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
freemarker-1.1.ecore#//Freemarker/template"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
freemarker-1.1.ecore#//Freemarker/use"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
freemarker-1.1.ecore#//Freemarker/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
freemarker-1.1.ecore#//Freemarker/applyBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
freemarker-1.1.ecore#//Freemarker/applyOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
freemarker-1.1.ecore#//Freemarker/applyOnElementNS"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//FreemarkerInline">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
freemarker-1.1.ecore#//FreemarkerInline/directive"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//FreemarkerOutputTo">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
freemarker-1.1.ecore#//FreemarkerOutputTo/outputStreamResource"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//FreemarkerTemplate">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
freemarker-1.1.ecore#//FreemarkerTemplate/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
freemarker-1.1.ecore#//FreemarkerTemplate/encoding"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//FreemarkerUse">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
freemarker-1.1.ecore#//FreemarkerUse/inline"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
freemarker-1.1.ecore#//FreemarkerUse/bindTo"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
freemarker-1.1.ecore#//FreemarkerUse/outputTo"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Groovy"
basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="groovy-1.1.ecore#/">
+ <genClasses ecoreClass="groovy-1.1.ecore#//GroovyDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
groovy-1.1.ecore#//GroovyDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
groovy-1.1.ecore#//GroovyDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
groovy-1.1.ecore#//GroovyDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
groovy-1.1.ecore#//GroovyDocumentRoot/groovy"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
groovy-1.1.ecore#//GroovyDocumentRoot/script"/>
+ </genClasses>
+ <genClasses ecoreClass="groovy-1.1.ecore#//Groovy">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
groovy-1.1.ecore#//Groovy/imports"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
groovy-1.1.ecore#//Groovy/param"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
groovy-1.1.ecore#//Groovy/script"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
groovy-1.1.ecore#//Groovy/executeBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
groovy-1.1.ecore#//Groovy/executeOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
groovy-1.1.ecore#//Groovy/executeOnElementNS"/>
+ </genClasses>
+ <genClasses ecoreClass="groovy-1.1.ecore#//ScriptType"/>
+ </genPackages>
+ <genPackages prefix="Iorouting"
basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="io-routing-1.1.ecore#/">
+ <genClasses ecoreClass="io-routing-1.1.ecore#//IODocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
io-routing-1.1.ecore#//IODocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
io-routing-1.1.ecore#//IODocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
io-routing-1.1.ecore#//IODocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
io-routing-1.1.ecore#//IODocumentRoot/router"/>
+ </genClasses>
+ <genClasses ecoreClass="io-routing-1.1.ecore#//IORouter">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
io-routing-1.1.ecore#//IORouter/beanId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
io-routing-1.1.ecore#//IORouter/encoding"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
io-routing-1.1.ecore#//IORouter/executeBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
io-routing-1.1.ecore#//IORouter/resourceName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
io-routing-1.1.ecore#//IORouter/routeOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
io-routing-1.1.ecore#//IORouter/routeOnElementNS"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Javabean"
basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="javabean-1.1.ecore#/">
+ <genClasses ecoreClass="javabean-1.1.ecore#//BindingsType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//BindingsType/group"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
javabean-1.1.ecore#//BindingsType/value"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
javabean-1.1.ecore#//BindingsType/wiring"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
javabean-1.1.ecore#//BindingsType/expression"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//BindingsType/beanId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//BindingsType/class"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//BindingsType/createOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//BindingsType/createOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//BindingsType/extendLifecycle"/>
+ </genClasses>
+ <genClasses ecoreClass="javabean-1.1.ecore#//DecodeParamType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//DecodeParamType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//DecodeParamType/name"/>
+ </genClasses>
+ <genClasses ecoreClass="javabean-1.1.ecore#//JavabeanDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//JavabeanDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
javabean-1.1.ecore#//JavabeanDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
javabean-1.1.ecore#//JavabeanDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
javabean-1.1.ecore#//JavabeanDocumentRoot/bindings"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
javabean-1.1.ecore#//JavabeanDocumentRoot/decodeParam"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
javabean-1.1.ecore#//JavabeanDocumentRoot/expression"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
javabean-1.1.ecore#//JavabeanDocumentRoot/value"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
javabean-1.1.ecore#//JavabeanDocumentRoot/wiring"/>
+ </genClasses>
+ <genClasses ecoreClass="javabean-1.1.ecore#//ExpressionType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//ExpressionType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//ExpressionType/execOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//ExpressionType/execOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//ExpressionType/property"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//ExpressionType/setterMethod"/>
+ </genClasses>
+ <genClasses ecoreClass="javabean-1.1.ecore#//ValueType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
javabean-1.1.ecore#//ValueType/decodeParam"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//ValueType/data"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//ValueType/dataNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//ValueType/decoder"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//ValueType/default"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//ValueType/property"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//ValueType/setterMethod"/>
+ </genClasses>
+ <genClasses ecoreClass="javabean-1.1.ecore#//WiringType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//WiringType/beanIdRef"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//WiringType/property"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//WiringType/setterMethod"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//WiringType/wireOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//WiringType/wireOnElementNS"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Jmsrouting"
basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="jms-routing-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false"
ecoreEnum="jms-routing-1.1.ecore#//AcknowledgeMode">
+ <genEnumLiterals
ecoreEnumLiteral="jms-routing-1.1.ecore#//AcknowledgeMode/AUTOACKNOWLEDGE"/>
+ <genEnumLiterals
ecoreEnumLiteral="jms-routing-1.1.ecore#//AcknowledgeMode/CLIENTACKNOWLEDGE"/>
+ <genEnumLiterals
ecoreEnumLiteral="jms-routing-1.1.ecore#//AcknowledgeMode/DUPSOKACKNOWLEDGE"/>
+ </genEnums>
+ <genEnums typeSafeEnumCompatible="false"
ecoreEnum="jms-routing-1.1.ecore#//DeliveryMode">
+ <genEnumLiterals
ecoreEnumLiteral="jms-routing-1.1.ecore#//DeliveryMode/persistent"/>
+ <genEnumLiterals
ecoreEnumLiteral="jms-routing-1.1.ecore#//DeliveryMode/nonPersistent"/>
+ </genEnums>
+ <genEnums typeSafeEnumCompatible="false"
ecoreEnum="jms-routing-1.1.ecore#//MessageType">
+ <genEnumLiterals
ecoreEnumLiteral="jms-routing-1.1.ecore#//MessageType/TextMessage"/>
+ <genEnumLiterals
ecoreEnumLiteral="jms-routing-1.1.ecore#//MessageType/ObjectMessage"/>
+ <genEnumLiterals
ecoreEnumLiteral="jms-routing-1.1.ecore#//MessageType/MapMessage"/>
+ </genEnums>
+ <genDataTypes
ecoreDataType="jms-routing-1.1.ecore#//AcknowledgeModeObject"/>
+ <genDataTypes
ecoreDataType="jms-routing-1.1.ecore#//DeliveryModeObject"/>
+ <genDataTypes
ecoreDataType="jms-routing-1.1.ecore#//MessageTypeObject"/>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//Connection">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//Connection/factory"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//Connection/securityCredential"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//Connection/securityPrincipal"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//JmsDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
jms-routing-1.1.ecore#//JmsDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
jms-routing-1.1.ecore#//JmsDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
jms-routing-1.1.ecore#//JmsDocumentRoot/router"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//JmsHighWaterMark">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsHighWaterMark/mark"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsHighWaterMark/pollFrequency"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsHighWaterMark/timeout"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//JmsJndi">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsJndi/contextFactory"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsJndi/namingFactory"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsJndi/providerUrl"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//Message">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//Message/correlationIdPattern"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//Message/deliveryMode"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//Message/priority"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//Message/timeToLive"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//Message/type"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//JmsRouter">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
jms-routing-1.1.ecore#//JmsRouter/message"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
jms-routing-1.1.ecore#//JmsRouter/connection"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
jms-routing-1.1.ecore#//JmsRouter/session"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
jms-routing-1.1.ecore#//JmsRouter/jndi"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
jms-routing-1.1.ecore#//JmsRouter/highWaterMark"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsRouter/beanId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsRouter/destination"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsRouter/executeBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsRouter/routeOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsRouter/routeOnElementNS"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//Session">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//Session/acknowledgeMode"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//Session/transacted"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Json"
basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="json-1.1.ecore#/">
+ <genClasses ecoreClass="json-1.1.ecore#//JsonDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
json-1.1.ecore#//JsonDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
json-1.1.ecore#//JsonDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
json-1.1.ecore#//JsonDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
json-1.1.ecore#//JsonDocumentRoot/reader"/>
+ </genClasses>
+ <genClasses ecoreClass="json-1.1.ecore#//Key">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
json-1.1.ecore#//Key/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
json-1.1.ecore#//Key/from"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
json-1.1.ecore#//Key/to"/>
+ </genClasses>
+ <genClasses ecoreClass="json-1.1.ecore#//KeyMap">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
json-1.1.ecore#//KeyMap/key"/>
+ </genClasses>
+ <genClasses ecoreClass="json-1.1.ecore#//JsonReader">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
json-1.1.ecore#//JsonReader/keyMap"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
json-1.1.ecore#//JsonReader/arrayElementName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
json-1.1.ecore#//JsonReader/encoding"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
json-1.1.ecore#//JsonReader/illegalElementNameCharReplacement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
json-1.1.ecore#//JsonReader/keyPrefixOnNumeric"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
json-1.1.ecore#//JsonReader/keyWhitspaceReplacement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
json-1.1.ecore#//JsonReader/nullValueReplacement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
json-1.1.ecore#//JsonReader/rootName"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Xsl"
basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="xsl-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false"
ecoreEnum="xsl-1.1.ecore#//XslInlineDirective">
+ <genEnumLiterals
ecoreEnumLiteral="xsl-1.1.ecore#//XslInlineDirective/addto"/>
+ <genEnumLiterals
ecoreEnumLiteral="xsl-1.1.ecore#//XslInlineDirective/replace"/>
+ <genEnumLiterals
ecoreEnumLiteral="xsl-1.1.ecore#//XslInlineDirective/insertbefore"/>
+ <genEnumLiterals
ecoreEnumLiteral="xsl-1.1.ecore#//XslInlineDirective/insertafter"/>
+ </genEnums>
+ <genDataTypes
ecoreDataType="xsl-1.1.ecore#//XslInlineDirectiveObject"/>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslBindTo">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
xsl-1.1.ecore#//XslBindTo/id"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
xsl-1.1.ecore#//XslDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
xsl-1.1.ecore#//XslDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
xsl-1.1.ecore#//XslDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
xsl-1.1.ecore#//XslDocumentRoot/xsl"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslInline">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
xsl-1.1.ecore#//XslInline/directive"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslOutputTo">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
xsl-1.1.ecore#//XslOutputTo/outputStreamResource"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslTemplate">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
xsl-1.1.ecore#//XslTemplate/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
xsl-1.1.ecore#//XslTemplate/encoding"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslUse">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
xsl-1.1.ecore#//XslUse/inline"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
xsl-1.1.ecore#//XslUse/bindTo"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
xsl-1.1.ecore#//XslUse/outputTo"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//Xsl">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
xsl-1.1.ecore#//Xsl/template"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
xsl-1.1.ecore#//Xsl/use"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
xsl-1.1.ecore#//Xsl/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
xsl-1.1.ecore#//Xsl/applyBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
xsl-1.1.ecore#//Xsl/applyOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
xsl-1.1.ecore#//Xsl/applyOnElementNS"/>
+ </genClasses>
+ </genPackages>
+</genmodel:GenModel>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/smooks-1.1.genmodel
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/xsl-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/xsl-1.1.ecore
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/xsl-1.1.ecore 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,241 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="xsl"
+
nsURI="http://www.milyn.org/xsd/smooks/xsl-1.1.xsd"
nsPrefix="xsl">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="XSL Templating
Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass" name="XslBindTo"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 Bind
the templating result into the bean context under the specified "id".
This makes the
 templating result available for routing or other
operations.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="bindTo"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="id"
lowerBound="1" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

The bean context ID under which the templating result is to be bound if the
"bindTo" action is chosen.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="id"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass"
name="XslDocumentRoot">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed"
unique="false" upperBound="-1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xsl"
upperBound="-2" eType="#//Xsl"
+ volatile="true" transient="true" derived="true"
containment="true" resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

XSL Templating Configuration.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="xsl"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation"
value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-con...
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XslInline"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

Inline the templating result into the <b>Smooks.filter</b> Result
message.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="inline"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="directive" lowerBound="1"
+ eType="#//XslInlineDirective" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

How the templating result is to be used (relative to the element on which it

is applied).
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="directive"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum"
name="XslInlineDirective">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="inlineDirective"/>
+ </eAnnotations>
+ <eLiterals name="addto"/>
+ <eLiterals name="replace" value="1"/>
+ <eLiterals name="insertbefore" value="2"/>
+ <eLiterals name="insertafter" value="3"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType"
name="XslInlineDirectiveObject"
instanceClassName="org.eclipse.emf.common.util.Enumerator">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="inlineDirective:Object"/>
+ <details key="baseType" value="inlineDirective"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XslOutputTo"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

Output the templating result to a named OutputStreamResource.

"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="outputTo"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="outputStreamResource" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

The name of the "outputStreamResource" to which the templating result
is to be written. By default,
 the templating result is
written to the Smooks.filter result if (if a StreamResult is provided).

"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="outputStreamResource"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XslTemplate"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 The
XSL Template.
 <p/>
 This can be
an inline template, or a reference (URI) to an externally defined template (filesystem,
classpath, www).
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="template"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=":0"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="encoding" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="UTF-8" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

Template character encodng.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="encoding"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XslUse"
eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 The
&lt;use&gt; element allows you to define how the templating result is to
be used.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="use"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="inline"
eType="#//XslInline"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="inline"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="bindTo"
eType="#//XslBindTo"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="bindTo"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="outputTo" eType="#//XslOutputTo"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="outputTo"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Xsl"
eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 XSL
Templating Configuration Type.
 "/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="xsl"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="template" lowerBound="1"
+ eType="#//XslTemplate" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="template"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="use"
eType="#//XslUse"
+ containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="use"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="param"
upperBound="-1"
+ eType="ecore:EClass smooks-1.1.ecore#//ParamType"
containment="true" resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="param"/>
+ <details key="namespace"
value="http://www.milyn.org/xsd/smooks-1.1.xsd"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="applyBefore" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

Apply the template before visiting the elements child
content.<p/>Default is 'false'.

"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="applyBefore"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="applyOnElement" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

The name of the element on which the template is to be applied.

"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="applyOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="applyOnElementNS" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

The namespace of the element on which the template is to be applied.

"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="applyOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/xsl-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/calc-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/calc-1.1.ecore
(rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/calc-1.1.ecore 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,183 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="calc"
+
nsURI="http://www.milyn.org/xsd/smooks/calc-1.1.xsd"
nsPrefix="calc">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks Calculation
Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EEnum" name="CountDirection">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			If the counter is executed after the element else it will
execute before the element.
 			Default is
'false'.
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="CountDirection"/>
+ </eAnnotations>
+ <eLiterals name="INCREMENT">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
		
			Count up.
		
		"/>
+ </eAnnotations>
+ </eLiterals>
+ <eLiterals name="DECREMENT" value="1">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
		
			Count down.
		
		"/>
+ </eAnnotations>
+ </eLiterals>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType"
name="CountDirectionObject"
instanceClassName="org.eclipse.emf.common.util.Enumerator">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="CountDirection:Object"/>
+ <details key="baseType" value="CountDirection"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Counter"
eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			Counter
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="counter"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="startExpression" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
								The
result of this expression is the counter start
value.
								This
expression is executed at the first count and every time the
counter
								is
reset. The expression must result in an integer or a
long.
								If
the startIndex attribute of the counter is set then this expression never
gets
								executed.
				
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="startExpression"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="amountExpression" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				
			The result of this expression is the amount the counter
increments or
decrements.
								This
expression is executed every time the counter
counts.
								The
expression must result in an
integer.
								If
the amount attribute of the counter is set then this expression never
gets
								executed.
				
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="amountExpression"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="resetCondition" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
								When
the expression is set and results in a true value then the counter is reset
to
								the
start index. The expression must result in a
boolean.
				 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resetCondition"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="amount"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Int"
+ unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
							The
amount that the counter increments or decrements the counter
value.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="amount"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="beanId"
lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
							The
beanId in which the counter value is stored. The value is always
stored
							as a Long
type.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="beanId"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="countOnElement" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The element
on which the counter counts.
			
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="countOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="countOnElementNS" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The
namespace of the countOnElement element.
			
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="countOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="direction" eType="#//CountDirection"
+ defaultValueLiteral="INCREMENT" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
							The
direction that the counter counts. Can be INCREMENT (default) or
DECREMENT.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="direction"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="executeAfter" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			If the
counter is executed after the element else it will execute before the
element.
			 			Default is
'false'.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="executeAfter"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="start"
eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Long"
+ unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
							The
counter start value.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="start"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass"
name="CalcDocumentRoot">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed"
unique="false" upperBound="-1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="counter" upperBound="-2"
+ eType="#//Counter" volatile="true" transient="true"
derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
				Counter
configuration
				The counter can increment or
decrement a value.
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="counter"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation"
value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-con...
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/calc-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/calc-1.1.genmodel
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/calc-1.1.genmodel
(rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/calc-1.1.genmodel 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<genmodel:GenModel xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel"
modelDirectory="/calc-1.1-model/src"
+ modelPluginID="calc_1.1_model" modelName="Calc-1"
importerID="org.eclipse.emf.importer.ecore"
+ complianceLevel="6.0" copyrightFields="false">
+ <foreignModel>calc-1.1.ecore</foreignModel>
+ <genPackages prefix="Calc"
basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="calc-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false"
ecoreEnum="calc-1.1.ecore#//CountDirection">
+ <genEnumLiterals
ecoreEnumLiteral="calc-1.1.ecore#//CountDirection/INCREMENT"/>
+ <genEnumLiterals
ecoreEnumLiteral="calc-1.1.ecore#//CountDirection/DECREMENT"/>
+ </genEnums>
+ <genDataTypes
ecoreDataType="calc-1.1.ecore#//CountDirectionObject"/>
+ <genClasses ecoreClass="calc-1.1.ecore#//Counter">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/startExpression"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/amountExpression"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/resetCondition"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/amount"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/beanId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/countOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/countOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/direction"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/executeAfter"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/start"/>
+ </genClasses>
+ <genClasses ecoreClass="calc-1.1.ecore#//CalcDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//CalcDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
calc-1.1.ecore#//CalcDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
calc-1.1.ecore#//CalcDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
calc-1.1.ecore#//CalcDocumentRoot/counter"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Smooks"
basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="smooks-1.1.ecore#/">
+ <genClasses image="false"
ecoreClass="smooks-1.1.ecore#//AbstractReader">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//AbstractReader/targetProfile"/>
+ </genClasses>
+ <genClasses image="false"
ecoreClass="smooks-1.1.ecore#//AbstractResourceConfig"/>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ConditionsType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ConditionsType/condition"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ConditionType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ConditionType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ConditionType/evaluator"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ConditionType/id"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ConditionType/idRef"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//DocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//DocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/abstractReader"/>
+ <genFeatures property="None" children="true"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/abstractResourceConfig"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/condition"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/conditions"/>
+ <genFeatures property="None" children="true"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/elementVisitor"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/features"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/handler"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/handlers"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/import"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/param"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/params"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/profile"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/profiles"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/reader"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/resource"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/resourceConfig"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/setOff"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/setOn"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/smooksResourceList"/>
+ </genClasses>
+ <genClasses image="false"
ecoreClass="smooks-1.1.ecore#//ElementVisitor">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ElementVisitor/condition"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ElementVisitor/targetProfile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//FeaturesType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//FeaturesType/setOn"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//FeaturesType/setOff"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//HandlersType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//HandlersType/handler"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//HandlerType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//HandlerType/class"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ImportType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ImportType/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ImportType/file"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ParamsType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ParamsType/param"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ParamType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ParamType/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ParamType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ProfilesType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ProfilesType/profile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ProfileType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ProfileType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ProfileType/baseProfile"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ProfileType/subProfiles"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ReaderType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ReaderType/handlers"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ReaderType/features"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ReaderType/params"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ReaderType/class"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ResourceConfigType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ResourceConfigType/resource"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ResourceConfigType/condition"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ResourceConfigType/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ResourceConfigType/selector"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ResourceConfigType/selectorNamespace"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ResourceConfigType/targetProfile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ResourceType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ResourceType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ResourceType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SetOffType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SetOffType/feature"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SetOnType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SetOnType/feature"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SmooksResourceListType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//SmooksResourceListType/params"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//SmooksResourceListType/conditions"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//SmooksResourceListType/profiles"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/abstractReaderGroup"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//SmooksResourceListType/abstractReader"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/abstractResourceConfigGroup"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//SmooksResourceListType/abstractResourceConfig"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/defaultConditionRef"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/defaultSelector"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/defaultSelectorNamespace"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/defaultTargetProfile"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Common"
basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="common.ecore#/">
+ <genClasses image="false"
ecoreClass="common.ecore#//AbstractAnyType">
+ <genOperations
ecoreOperation="common.ecore#//AbstractAnyType/getCDATA"/>
+ <genOperations
ecoreOperation="common.ecore#//AbstractAnyType/setCDATA">
+ <genParameters
ecoreParameter="common.ecore#//AbstractAnyType/setCDATA/cdata"/>
+ </genOperations>
+ <genOperations
ecoreOperation="common.ecore#//AbstractAnyType/getStringValue"/>
+ <genOperations
ecoreOperation="common.ecore#//AbstractAnyType/setStringValue">
+ <genParameters
ecoreParameter="common.ecore#//AbstractAnyType/setStringValue/stringValue"/>
+ </genOperations>
+ </genClasses>
+ </genPackages>
+</genmodel:GenModel>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/calc-1.1.genmodel
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/datasource-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/datasource-1.1.ecore
(rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/datasource-1.1.ecore 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,191 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
name="datasource"
+
nsURI="http://www.milyn.org/xsd/smooks/datasource-1.1.xsd"
nsPrefix="ds">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks Datasource
Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass" name="Direct"
eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			Direct Datasource
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="direct"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="autoCommit" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
							If the
datasource should automaticly commit.
			
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="autoCommit"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="bindOnElement" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The element
on which the datasource is bound. On the visitAfter
			
			of the element the connection does a Commit or Rollback
depending
			 			if a exception
got thrown.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="bindOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="bindOnElementNS" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The
namespace of the bindOnElement element
			
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="bindOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="datasource" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The
reference name of the datasource. This name must be
used
			 			to retrieve the
datasource from the ExecutionContext.
			
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="datasource"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="driver"
lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

						The JDBC driver name

					"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="driver"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="password" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

						The password

					"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="password"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="url"
lowerBound="1" eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

						The JDBC URL

					"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="url"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="username" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

						The username

					"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="username"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass"
name="DataSourceDocumentRoot">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed"
unique="false" upperBound="-1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference"
name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true"
resolveProxies="false">
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="direct"
upperBound="-2"
+ eType="#//Direct" volatile="true" transient="true"
derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			Direct datasource configuration

			The direct datasource resource creates a connection to a
datasource and
 			makes it available in the
ExecutionContext. The datasource can then be used

			by other cartridges to access the datasource.

		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="direct"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation"
value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-con...
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="jNDI"
upperBound="-2" eType="#//DataSourceJndi"
+ volatile="true" transient="true" derived="true"
containment="true" resolveProxies="false">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			JNDI datasource configuration

			The JNDI datasource resource retrieves a datasource from the
JNDI and
 			makes it available in the
ExecutionContext. The datasource can then be used

			by other cartridges to access the datasource.

		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="JNDI"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation"
value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-con...
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DataSourceJndi"
eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="

			JNDI Datasource
 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="Jndi"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="autoCommit" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ unsettable="true">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
							If the
datasource should automaticly commit.
			
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="autoCommit"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="bindOnElement" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The element
on which the datasource is bound. On the visitAfter
			
			of the element the connection does a Commit or Rollback
depending
			 			if a exception
got thrown.
			 		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="bindOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute"
name="datasource" lowerBound="1"
+ eType="ecore:EDataType
http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations
source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation"
value="
			 			The
reference name of the datasource. This name must be
used
			 			to retrieve the
datasource from the ExecutionContext.
			
		"/>
+ </eAnnotations>
+ <eAnnotations
source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="datasource"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/datasource-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/datasource-1.1.genmodel
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/datasource-1.1.genmodel
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/datasource-1.1.genmodel 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<genmodel:GenModel xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel"
modelDirectory="/datasource-1.1-model/src"
+ modelPluginID="datasource_1.1_model" modelName="Datasource-1"
importerID="org.eclipse.emf.importer.ecore"
+ complianceLevel="6.0" copyrightFields="false">
+ <foreignModel>datasource-1.1.ecore</foreignModel>
+ <genPackages prefix="Datasource" resource="XML"
disposableProviderFactory="true"
+ ecorePackage="datasource-1.1.ecore#/">
+ <genClasses ecoreClass="datasource-1.1.ecore#//Direct">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/autoCommit"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/bindOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/bindOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/datasource"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/driver"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/password"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/url"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/username"/>
+ </genClasses>
+ <genClasses
ecoreClass="datasource-1.1.ecore#//DataSourceDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//DataSourceDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
datasource-1.1.ecore#//DataSourceDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
datasource-1.1.ecore#//DataSourceDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
datasource-1.1.ecore#//DataSourceDocumentRoot/direct"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
datasource-1.1.ecore#//DataSourceDocumentRoot/jNDI"/>
+ </genClasses>
+ <genClasses ecoreClass="datasource-1.1.ecore#//DataSourceJndi">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//DataSourceJndi/autoCommit"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//DataSourceJndi/bindOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//DataSourceJndi/datasource"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Smooks" resource="XML"
disposableProviderFactory="true"
ecorePackage="smooks-1.1.ecore#/">
+ <genClasses image="false"
ecoreClass="smooks-1.1.ecore#//AbstractReader">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//AbstractReader/targetProfile"/>
+ </genClasses>
+ <genClasses image="false"
ecoreClass="smooks-1.1.ecore#//AbstractResourceConfig"/>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ConditionsType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ConditionsType/condition"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ConditionType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ConditionType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ConditionType/evaluator"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ConditionType/id"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ConditionType/idRef"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//DocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//DocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/abstractReader"/>
+ <genFeatures property="None" children="true"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/abstractResourceConfig"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/condition"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/conditions"/>
+ <genFeatures property="None" children="true"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/elementVisitor"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/features"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/handler"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/handlers"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/import"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/param"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/params"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/profile"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/profiles"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/reader"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/resource"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/resourceConfig"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/setOff"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/setOn"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//DocumentRoot/smooksResourceList"/>
+ </genClasses>
+ <genClasses image="false"
ecoreClass="smooks-1.1.ecore#//ElementVisitor">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ElementVisitor/condition"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ElementVisitor/targetProfile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//FeaturesType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//FeaturesType/setOn"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//FeaturesType/setOff"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//HandlersType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//HandlersType/handler"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//HandlerType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//HandlerType/class"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ImportType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ImportType/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ImportType/file"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ParamsType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ParamsType/param"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ParamType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ParamType/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ParamType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ProfilesType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ProfilesType/profile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ProfileType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ProfileType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ProfileType/baseProfile"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ProfileType/subProfiles"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ReaderType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ReaderType/handlers"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ReaderType/features"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ReaderType/params"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ReaderType/class"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ResourceConfigType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ResourceConfigType/resource"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ResourceConfigType/condition"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ResourceConfigType/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ResourceConfigType/selector"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ResourceConfigType/selectorNamespace"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ResourceConfigType/targetProfile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ResourceType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ResourceType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ResourceType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SetOffType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SetOffType/feature"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SetOnType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SetOnType/feature"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SmooksResourceListType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//SmooksResourceListType/params"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//SmooksResourceListType/conditions"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//SmooksResourceListType/profiles"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/abstractReaderGroup"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//SmooksResourceListType/abstractReader"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/abstractResourceConfigGroup"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//SmooksResourceListType/abstractResourceConfig"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/defaultConditionRef"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/defaultSelector"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/defaultSelectorNamespace"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/defaultTargetProfile"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Common" resource="XML"
disposableProviderFactory="true" ecorePackage="common.ecore#/">
+ <genClasses image="false"
ecoreClass="common.ecore#//AbstractAnyType">
+ <genOperations
ecoreOperation="common.ecore#//AbstractAnyType/getCDATA"/>
+ <genOperations
ecoreOperation="common.ecore#//AbstractAnyType/setCDATA">
+ <genParameters
ecoreParameter="common.ecore#//AbstractAnyType/setCDATA/cdata"/>
+ </genOperations>
+ <genOperations
ecoreOperation="common.ecore#//AbstractAnyType/getStringValue"/>
+ <genOperations
ecoreOperation="common.ecore#//AbstractAnyType/setStringValue">
+ <genParameters
ecoreParameter="common.ecore#//AbstractAnyType/setStringValue/stringValue"/>
+ </genOperations>
+ </genClasses>
+ </genPackages>
+</genmodel:GenModel>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/datasource-1.1.genmodel
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/smooks-1.1.genmodel
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/smooks-1.1.genmodel
(rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/smooks-1.1.genmodel 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,627 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<genmodel:GenModel xmi:version="2.0"
+
xmlns:xmi="http://www.omg.org/XMI"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel"
modelDirectory="/calc-1.1-model/src"
+ modelPluginID="calc_1.1_model" modelName="Smooks-1"
importerID="org.eclipse.emf.importer.ecore"
+ complianceLevel="6.0" copyrightFields="false">
+ <foreignModel>smooks-1.1.ecore</foreignModel>
+ <foreignModel>calc-1.1.ecore</foreignModel>
+ <foreignModel>common.ecore</foreignModel>
+ <foreignModel>csv-1.1.ecore</foreignModel>
+ <foreignModel>datasource-1.1.ecore</foreignModel>
+ <foreignModel>db-routing-1.1.ecore</foreignModel>
+ <foreignModel>edi-1.1.ecore</foreignModel>
+ <foreignModel>edi-message-mapping-1.0.ecore</foreignModel>
+ <foreignModel>ext.ecore</foreignModel>
+ <foreignModel>file-routing-1.1.ecore</foreignModel>
+ <foreignModel>freemarker-1.1.ecore</foreignModel>
+ <foreignModel>groovy-1.1.ecore</foreignModel>
+ <foreignModel>io-routing-1.1.ecore</foreignModel>
+ <foreignModel>javabean-1.1.ecore</foreignModel>
+ <foreignModel>jms-routing-1.1.ecore</foreignModel>
+ <foreignModel>json-1.1.ecore</foreignModel>
+ <foreignModel>xsl-1.1.ecore</foreignModel>
+ <genPackages prefix="Smooks"
basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="smooks-1.1.ecore#/">
+ <genClasses image="false"
ecoreClass="smooks-1.1.ecore#//AbstractReader">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//AbstractReader/targetProfile"/>
+ </genClasses>
+ <genClasses image="false"
ecoreClass="smooks-1.1.ecore#//AbstractResourceConfig"/>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ConditionsType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ConditionsType/condition"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ConditionType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ConditionType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ConditionType/evaluator"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ConditionType/id"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ConditionType/idRef"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//Smooks11DocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//Smooks11DocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/abstractReader"/>
+ <genFeatures property="None" children="true"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/abstractResourceConfig"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/condition"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/conditions"/>
+ <genFeatures property="None" children="true"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/elementVisitor"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/features"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/handler"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/handlers"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/import"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/param"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/params"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/profile"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/profiles"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/reader"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/resource"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/resourceConfig"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/setOff"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/setOn"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//Smooks11DocumentRoot/smooksResourceList"/>
+ </genClasses>
+ <genClasses image="false"
ecoreClass="smooks-1.1.ecore#//ElementVisitor">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ElementVisitor/condition"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ElementVisitor/targetProfile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//FeaturesType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//FeaturesType/setOn"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//FeaturesType/setOff"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//HandlersType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//HandlersType/handler"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//HandlerType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//HandlerType/class"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ImportType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ImportType/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ImportType/file"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ParamsType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ParamsType/param"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ParamType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ParamType/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ParamType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ProfilesType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ProfilesType/profile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ProfileType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ProfileType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ProfileType/baseProfile"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ProfileType/subProfiles"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ReaderType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ReaderType/handlers"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ReaderType/features"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ReaderType/params"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ReaderType/class"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ResourceConfigType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ResourceConfigType/resource"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ResourceConfigType/condition"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//ResourceConfigType/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ResourceConfigType/selector"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ResourceConfigType/selectorNamespace"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ResourceConfigType/targetProfile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ResourceType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ResourceType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//ResourceType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SetOffType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SetOffType/feature"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SetOnType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SetOnType/feature"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SmooksResourceListType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//SmooksResourceListType/params"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//SmooksResourceListType/conditions"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//SmooksResourceListType/profiles"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/abstractReaderGroup"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//SmooksResourceListType/abstractReader"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/abstractResourceConfigGroup"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
smooks-1.1.ecore#//SmooksResourceListType/abstractResourceConfig"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/defaultConditionRef"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/defaultSelector"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/defaultSelectorNamespace"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
smooks-1.1.ecore#//SmooksResourceListType/defaultTargetProfile"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Calc"
basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="calc-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false"
ecoreEnum="calc-1.1.ecore#//CountDirection">
+ <genEnumLiterals
ecoreEnumLiteral="calc-1.1.ecore#//CountDirection/INCREMENT"/>
+ <genEnumLiterals
ecoreEnumLiteral="calc-1.1.ecore#//CountDirection/DECREMENT"/>
+ </genEnums>
+ <genDataTypes
ecoreDataType="calc-1.1.ecore#//CountDirectionObject"/>
+ <genClasses ecoreClass="calc-1.1.ecore#//Counter">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/startExpression"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/amountExpression"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/resetCondition"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/amount"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/beanId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/countOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/countOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/direction"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/executeAfter"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//Counter/start"/>
+ </genClasses>
+ <genClasses ecoreClass="calc-1.1.ecore#//CalcDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
calc-1.1.ecore#//CalcDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
calc-1.1.ecore#//CalcDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
calc-1.1.ecore#//CalcDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
calc-1.1.ecore#//CalcDocumentRoot/counter"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Common"
basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="common.ecore#/">
+ <genClasses image="false"
ecoreClass="common.ecore#//AbstractAnyType">
+ <genOperations
ecoreOperation="common.ecore#//AbstractAnyType/getCDATA"/>
+ <genOperations
ecoreOperation="common.ecore#//AbstractAnyType/setCDATA">
+ <genParameters
ecoreParameter="common.ecore#//AbstractAnyType/setCDATA/cdata"/>
+ </genOperations>
+ <genOperations
ecoreOperation="common.ecore#//AbstractAnyType/getStringValue"/>
+ <genOperations
ecoreOperation="common.ecore#//AbstractAnyType/setStringValue">
+ <genParameters
ecoreParameter="common.ecore#//AbstractAnyType/setStringValue/stringValue"/>
+ </genOperations>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Csv"
basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="csv-1.1.ecore#/">
+ <genDataTypes ecoreDataType="csv-1.1.ecore#//Char"/>
+ <genClasses ecoreClass="csv-1.1.ecore#//CsvDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
csv-1.1.ecore#//CsvDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
csv-1.1.ecore#//CsvDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
csv-1.1.ecore#//CsvDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
csv-1.1.ecore#//CsvDocumentRoot/reader"/>
+ </genClasses>
+ <genClasses ecoreClass="csv-1.1.ecore#//CsvReader">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
csv-1.1.ecore#//CsvReader/encoding"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
csv-1.1.ecore#//CsvReader/fields"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
csv-1.1.ecore#//CsvReader/quote"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
csv-1.1.ecore#//CsvReader/separator"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
csv-1.1.ecore#//CsvReader/skipLines"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Datasource"
basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="datasource-1.1.ecore#/">
+ <genClasses ecoreClass="datasource-1.1.ecore#//Direct">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/autoCommit"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/bindOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/bindOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/datasource"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/driver"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/password"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/url"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//Direct/username"/>
+ </genClasses>
+ <genClasses
ecoreClass="datasource-1.1.ecore#//DataSourceDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//DataSourceDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
datasource-1.1.ecore#//DataSourceDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
datasource-1.1.ecore#//DataSourceDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
datasource-1.1.ecore#//DataSourceDocumentRoot/direct"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
datasource-1.1.ecore#//DataSourceDocumentRoot/jNDI"/>
+ </genClasses>
+ <genClasses ecoreClass="datasource-1.1.ecore#//DataSourceJndi">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//DataSourceJndi/autoCommit"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//DataSourceJndi/bindOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
datasource-1.1.ecore#//DataSourceJndi/datasource"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Dbrouting"
basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="db-routing-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false"
ecoreEnum="db-routing-1.1.ecore#//ResultSetScopeType">
+ <genEnumLiterals
ecoreEnumLiteral="db-routing-1.1.ecore#//ResultSetScopeType/EXECUTION"/>
+ <genEnumLiterals
ecoreEnumLiteral="db-routing-1.1.ecore#//ResultSetScopeType/APPLICATION"/>
+ </genEnums>
+ <genDataTypes
ecoreDataType="db-routing-1.1.ecore#//ResultSetScopeTypeObject"/>
+ <genClasses
ecoreClass="db-routing-1.1.ecore#//DBRoutingDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//DBRoutingDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
db-routing-1.1.ecore#//DBRoutingDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
db-routing-1.1.ecore#//DBRoutingDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
db-routing-1.1.ecore#//DBRoutingDocumentRoot/executor"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
db-routing-1.1.ecore#//DBRoutingDocumentRoot/resultSetRowSelector"/>
+ </genClasses>
+ <genClasses ecoreClass="db-routing-1.1.ecore#//Executor">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//Executor/statement"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
db-routing-1.1.ecore#//Executor/resultSet"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//Executor/datasource"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//Executor/executeBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//Executor/executeOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//Executor/executeOnElementNS"/>
+ </genClasses>
+ <genClasses ecoreClass="db-routing-1.1.ecore#//ResultSet">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//ResultSet/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//ResultSet/scope"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//ResultSet/timeToLive"/>
+ </genClasses>
+ <genClasses
ecoreClass="db-routing-1.1.ecore#//ResultSetRowSelector">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//ResultSetRowSelector/where"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//ResultSetRowSelector/failedSelectError"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//ResultSetRowSelector/beanId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//ResultSetRowSelector/executeBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//ResultSetRowSelector/resultSetName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
db-routing-1.1.ecore#//ResultSetRowSelector/selectRowOnElement"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Edi"
basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="edi-1.1.ecore#/">
+ <genClasses ecoreClass="edi-1.1.ecore#//EDIDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
edi-1.1.ecore#//EDIDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
edi-1.1.ecore#//EDIDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
edi-1.1.ecore#//EDIDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
edi-1.1.ecore#//EDIDocumentRoot/reader"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-1.1.ecore#//EDIReader">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-1.1.ecore#//EDIReader/encoding"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-1.1.ecore#//EDIReader/mappingModel"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Medi"
basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="edi-message-mapping-1.0.ecore#/">
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//Component">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
edi-message-mapping-1.0.ecore#//Component/subComponent"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Component/required"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Component/truncatable"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//Delimiters">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Delimiters/component"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Delimiters/field"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Delimiters/segment"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Delimiters/subComponent"/>
+ </genClasses>
+ <genClasses
ecoreClass="edi-message-mapping-1.0.ecore#//Description">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Description/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Description/version"/>
+ </genClasses>
+ <genClasses
ecoreClass="edi-message-mapping-1.0.ecore#//MediDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//MediDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
edi-message-mapping-1.0.ecore#//MediDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
edi-message-mapping-1.0.ecore#//MediDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
edi-message-mapping-1.0.ecore#//MediDocumentRoot/edimap"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//EdiMap">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
edi-message-mapping-1.0.ecore#//EdiMap/description"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
edi-message-mapping-1.0.ecore#//EdiMap/delimiters"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
edi-message-mapping-1.0.ecore#//EdiMap/segments"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//Field">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
edi-message-mapping-1.0.ecore#//Field/component"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Field/required"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Field/truncatable"/>
+ </genClasses>
+ <genClasses
ecoreClass="edi-message-mapping-1.0.ecore#//MappingNode">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//MappingNode/xmltag"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//Segment">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
edi-message-mapping-1.0.ecore#//Segment/field"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
edi-message-mapping-1.0.ecore#//Segment/segment"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Segment/maxOccurs"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Segment/minOccurs"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Segment/segcode"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//Segment/truncatable"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//Segments">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
edi-message-mapping-1.0.ecore#//Segments/segment"/>
+ </genClasses>
+ <genClasses
ecoreClass="edi-message-mapping-1.0.ecore#//SubComponent">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
edi-message-mapping-1.0.ecore#//SubComponent/required"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Ext"
basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="ext.ecore#/">
+ <genClasses ecoreClass="ext.ecore#//SmooksGraphicalExtDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
ext.ecore#//SmooksGraphicalExtDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
ext.ecore#//SmooksGraphicalExtDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
ext.ecore#//SmooksGraphicalExtDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
ext.ecore#//SmooksGraphicalExtDocumentRoot/input"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
ext.ecore#//SmooksGraphicalExtDocumentRoot/param"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
ext.ecore#//SmooksGraphicalExtDocumentRoot/smooksGraphicsExt"/>
+ </genClasses>
+ <genClasses ecoreClass="ext.ecore#//InputType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
ext.ecore#//InputType/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
ext.ecore#//InputType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="ext.ecore#//ParamType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
ext.ecore#//ParamType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
ext.ecore#//ParamType/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
ext.ecore#//ParamType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="ext.ecore#//SmooksGraphicsExtType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
ext.ecore#//SmooksGraphicsExtType/input"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
ext.ecore#//SmooksGraphicsExtType/inputType"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
ext.ecore#//SmooksGraphicsExtType/outputType"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="FileRouting"
basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="file-routing-1.1.ecore#/">
+ <genClasses
ecoreClass="file-routing-1.1.ecore#//FileRoutingDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//FileRoutingDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
file-routing-1.1.ecore#//FileRoutingDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
file-routing-1.1.ecore#//FileRoutingDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
file-routing-1.1.ecore#//FileRoutingDocumentRoot/outputStream"/>
+ </genClasses>
+ <genClasses
ecoreClass="file-routing-1.1.ecore#//FileRoutingHighWaterMark">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//FileRoutingHighWaterMark/mark"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//FileRoutingHighWaterMark/pollFrequency"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//FileRoutingHighWaterMark/timeout"/>
+ </genClasses>
+ <genClasses ecoreClass="file-routing-1.1.ecore#//OutputStream">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//OutputStream/fileNamePattern"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//OutputStream/destinationDirectoryPattern"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//OutputStream/listFileNamePattern"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
file-routing-1.1.ecore#//OutputStream/highWaterMark"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//OutputStream/closeOnCondition"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//OutputStream/encoding"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//OutputStream/openOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//OutputStream/openOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
file-routing-1.1.ecore#//OutputStream/resourceName"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Freemarker"
basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="freemarker-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false"
ecoreEnum="freemarker-1.1.ecore#//FreemarkerInlineDirective">
+ <genEnumLiterals
ecoreEnumLiteral="freemarker-1.1.ecore#//FreemarkerInlineDirective/addto"/>
+ <genEnumLiterals
ecoreEnumLiteral="freemarker-1.1.ecore#//FreemarkerInlineDirective/replace"/>
+ <genEnumLiterals
ecoreEnumLiteral="freemarker-1.1.ecore#//FreemarkerInlineDirective/insertbefore"/>
+ <genEnumLiterals
ecoreEnumLiteral="freemarker-1.1.ecore#//FreemarkerInlineDirective/insertafter"/>
+ </genEnums>
+ <genDataTypes
ecoreDataType="freemarker-1.1.ecore#//FreemarkerInlineDirectiveObject"/>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//FreemarkerBindTo">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
freemarker-1.1.ecore#//FreemarkerBindTo/id"/>
+ </genClasses>
+ <genClasses
ecoreClass="freemarker-1.1.ecore#//FreemarkerDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
freemarker-1.1.ecore#//FreemarkerDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
freemarker-1.1.ecore#//FreemarkerDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
freemarker-1.1.ecore#//FreemarkerDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
freemarker-1.1.ecore#//FreemarkerDocumentRoot/freemarker"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//Freemarker">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
freemarker-1.1.ecore#//Freemarker/template"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
freemarker-1.1.ecore#//Freemarker/use"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
freemarker-1.1.ecore#//Freemarker/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
freemarker-1.1.ecore#//Freemarker/applyBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
freemarker-1.1.ecore#//Freemarker/applyOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
freemarker-1.1.ecore#//Freemarker/applyOnElementNS"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//FreemarkerInline">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
freemarker-1.1.ecore#//FreemarkerInline/directive"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//FreemarkerOutputTo">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
freemarker-1.1.ecore#//FreemarkerOutputTo/outputStreamResource"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//FreemarkerTemplate">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
freemarker-1.1.ecore#//FreemarkerTemplate/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
freemarker-1.1.ecore#//FreemarkerTemplate/encoding"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//FreemarkerUse">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
freemarker-1.1.ecore#//FreemarkerUse/inline"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
freemarker-1.1.ecore#//FreemarkerUse/bindTo"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
freemarker-1.1.ecore#//FreemarkerUse/outputTo"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Groovy"
basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="groovy-1.1.ecore#/">
+ <genClasses ecoreClass="groovy-1.1.ecore#//GroovyDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
groovy-1.1.ecore#//GroovyDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
groovy-1.1.ecore#//GroovyDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
groovy-1.1.ecore#//GroovyDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
groovy-1.1.ecore#//GroovyDocumentRoot/groovy"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
groovy-1.1.ecore#//GroovyDocumentRoot/script"/>
+ </genClasses>
+ <genClasses ecoreClass="groovy-1.1.ecore#//Groovy">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
groovy-1.1.ecore#//Groovy/imports"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
groovy-1.1.ecore#//Groovy/param"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
groovy-1.1.ecore#//Groovy/script"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
groovy-1.1.ecore#//Groovy/executeBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
groovy-1.1.ecore#//Groovy/executeOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
groovy-1.1.ecore#//Groovy/executeOnElementNS"/>
+ </genClasses>
+ <genClasses ecoreClass="groovy-1.1.ecore#//ScriptType"/>
+ </genPackages>
+ <genPackages prefix="Iorouting"
basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="io-routing-1.1.ecore#/">
+ <genClasses ecoreClass="io-routing-1.1.ecore#//IODocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
io-routing-1.1.ecore#//IODocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
io-routing-1.1.ecore#//IODocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
io-routing-1.1.ecore#//IODocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
io-routing-1.1.ecore#//IODocumentRoot/router"/>
+ </genClasses>
+ <genClasses ecoreClass="io-routing-1.1.ecore#//IORouter">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
io-routing-1.1.ecore#//IORouter/beanId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
io-routing-1.1.ecore#//IORouter/encoding"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
io-routing-1.1.ecore#//IORouter/executeBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
io-routing-1.1.ecore#//IORouter/resourceName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
io-routing-1.1.ecore#//IORouter/routeOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
io-routing-1.1.ecore#//IORouter/routeOnElementNS"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Javabean"
basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="javabean-1.1.ecore#/">
+ <genClasses ecoreClass="javabean-1.1.ecore#//BindingsType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//BindingsType/group"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
javabean-1.1.ecore#//BindingsType/value"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
javabean-1.1.ecore#//BindingsType/wiring"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
javabean-1.1.ecore#//BindingsType/expression"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//BindingsType/beanId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//BindingsType/class"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//BindingsType/createOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//BindingsType/createOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//BindingsType/extendLifecycle"/>
+ </genClasses>
+ <genClasses ecoreClass="javabean-1.1.ecore#//DecodeParamType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//DecodeParamType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//DecodeParamType/name"/>
+ </genClasses>
+ <genClasses ecoreClass="javabean-1.1.ecore#//JavabeanDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//JavabeanDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
javabean-1.1.ecore#//JavabeanDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
javabean-1.1.ecore#//JavabeanDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
javabean-1.1.ecore#//JavabeanDocumentRoot/bindings"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
javabean-1.1.ecore#//JavabeanDocumentRoot/decodeParam"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
javabean-1.1.ecore#//JavabeanDocumentRoot/expression"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
javabean-1.1.ecore#//JavabeanDocumentRoot/value"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
javabean-1.1.ecore#//JavabeanDocumentRoot/wiring"/>
+ </genClasses>
+ <genClasses ecoreClass="javabean-1.1.ecore#//ExpressionType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//ExpressionType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//ExpressionType/execOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//ExpressionType/execOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//ExpressionType/property"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//ExpressionType/setterMethod"/>
+ </genClasses>
+ <genClasses ecoreClass="javabean-1.1.ecore#//ValueType">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
javabean-1.1.ecore#//ValueType/decodeParam"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//ValueType/data"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//ValueType/dataNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//ValueType/decoder"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//ValueType/default"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//ValueType/property"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//ValueType/setterMethod"/>
+ </genClasses>
+ <genClasses ecoreClass="javabean-1.1.ecore#//WiringType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//WiringType/beanIdRef"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//WiringType/property"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//WiringType/setterMethod"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//WiringType/wireOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
javabean-1.1.ecore#//WiringType/wireOnElementNS"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Jmsrouting"
basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="jms-routing-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false"
ecoreEnum="jms-routing-1.1.ecore#//AcknowledgeMode">
+ <genEnumLiterals
ecoreEnumLiteral="jms-routing-1.1.ecore#//AcknowledgeMode/AUTOACKNOWLEDGE"/>
+ <genEnumLiterals
ecoreEnumLiteral="jms-routing-1.1.ecore#//AcknowledgeMode/CLIENTACKNOWLEDGE"/>
+ <genEnumLiterals
ecoreEnumLiteral="jms-routing-1.1.ecore#//AcknowledgeMode/DUPSOKACKNOWLEDGE"/>
+ </genEnums>
+ <genEnums typeSafeEnumCompatible="false"
ecoreEnum="jms-routing-1.1.ecore#//DeliveryMode">
+ <genEnumLiterals
ecoreEnumLiteral="jms-routing-1.1.ecore#//DeliveryMode/persistent"/>
+ <genEnumLiterals
ecoreEnumLiteral="jms-routing-1.1.ecore#//DeliveryMode/nonPersistent"/>
+ </genEnums>
+ <genEnums typeSafeEnumCompatible="false"
ecoreEnum="jms-routing-1.1.ecore#//MessageType">
+ <genEnumLiterals
ecoreEnumLiteral="jms-routing-1.1.ecore#//MessageType/TextMessage"/>
+ <genEnumLiterals
ecoreEnumLiteral="jms-routing-1.1.ecore#//MessageType/ObjectMessage"/>
+ <genEnumLiterals
ecoreEnumLiteral="jms-routing-1.1.ecore#//MessageType/MapMessage"/>
+ </genEnums>
+ <genDataTypes
ecoreDataType="jms-routing-1.1.ecore#//AcknowledgeModeObject"/>
+ <genDataTypes
ecoreDataType="jms-routing-1.1.ecore#//DeliveryModeObject"/>
+ <genDataTypes
ecoreDataType="jms-routing-1.1.ecore#//MessageTypeObject"/>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//Connection">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//Connection/factory"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//Connection/securityCredential"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//Connection/securityPrincipal"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//JmsDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
jms-routing-1.1.ecore#//JmsDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
jms-routing-1.1.ecore#//JmsDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
jms-routing-1.1.ecore#//JmsDocumentRoot/router"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//JmsHighWaterMark">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsHighWaterMark/mark"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsHighWaterMark/pollFrequency"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsHighWaterMark/timeout"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//JmsJndi">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsJndi/contextFactory"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsJndi/namingFactory"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsJndi/providerUrl"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//Message">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//Message/correlationIdPattern"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//Message/deliveryMode"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//Message/priority"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//Message/timeToLive"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//Message/type"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//JmsRouter">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
jms-routing-1.1.ecore#//JmsRouter/message"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
jms-routing-1.1.ecore#//JmsRouter/connection"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
jms-routing-1.1.ecore#//JmsRouter/session"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
jms-routing-1.1.ecore#//JmsRouter/jndi"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
jms-routing-1.1.ecore#//JmsRouter/highWaterMark"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsRouter/beanId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsRouter/destination"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsRouter/executeBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsRouter/routeOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//JmsRouter/routeOnElementNS"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//Session">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//Session/acknowledgeMode"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
jms-routing-1.1.ecore#//Session/transacted"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Json"
basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="json-1.1.ecore#/">
+ <genClasses ecoreClass="json-1.1.ecore#//JsonDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
json-1.1.ecore#//JsonDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
json-1.1.ecore#//JsonDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
json-1.1.ecore#//JsonDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
json-1.1.ecore#//JsonDocumentRoot/reader"/>
+ </genClasses>
+ <genClasses ecoreClass="json-1.1.ecore#//Key">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
json-1.1.ecore#//Key/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
json-1.1.ecore#//Key/from"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
json-1.1.ecore#//Key/to"/>
+ </genClasses>
+ <genClasses ecoreClass="json-1.1.ecore#//KeyMap">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
json-1.1.ecore#//KeyMap/key"/>
+ </genClasses>
+ <genClasses ecoreClass="json-1.1.ecore#//JsonReader">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
json-1.1.ecore#//JsonReader/keyMap"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
json-1.1.ecore#//JsonReader/arrayElementName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
json-1.1.ecore#//JsonReader/encoding"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
json-1.1.ecore#//JsonReader/illegalElementNameCharReplacement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
json-1.1.ecore#//JsonReader/keyPrefixOnNumeric"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
json-1.1.ecore#//JsonReader/keyWhitspaceReplacement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
json-1.1.ecore#//JsonReader/nullValueReplacement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
json-1.1.ecore#//JsonReader/rootName"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Xsl"
basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true"
ecorePackage="xsl-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false"
ecoreEnum="xsl-1.1.ecore#//XslInlineDirective">
+ <genEnumLiterals
ecoreEnumLiteral="xsl-1.1.ecore#//XslInlineDirective/addto"/>
+ <genEnumLiterals
ecoreEnumLiteral="xsl-1.1.ecore#//XslInlineDirective/replace"/>
+ <genEnumLiterals
ecoreEnumLiteral="xsl-1.1.ecore#//XslInlineDirective/insertbefore"/>
+ <genEnumLiterals
ecoreEnumLiteral="xsl-1.1.ecore#//XslInlineDirective/insertafter"/>
+ </genEnums>
+ <genDataTypes
ecoreDataType="xsl-1.1.ecore#//XslInlineDirectiveObject"/>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslBindTo">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
xsl-1.1.ecore#//XslBindTo/id"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslDocumentRoot">
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EAttribute
xsl-1.1.ecore#//XslDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
xsl-1.1.ecore#//XslDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false"
createChild="false" ecoreFeature="ecore:EReference
xsl-1.1.ecore#//XslDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
xsl-1.1.ecore#//XslDocumentRoot/xsl"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslInline">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
xsl-1.1.ecore#//XslInline/directive"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslOutputTo">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
xsl-1.1.ecore#//XslOutputTo/outputStreamResource"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslTemplate">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
xsl-1.1.ecore#//XslTemplate/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
xsl-1.1.ecore#//XslTemplate/encoding"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslUse">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
xsl-1.1.ecore#//XslUse/inline"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
xsl-1.1.ecore#//XslUse/bindTo"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
xsl-1.1.ecore#//XslUse/outputTo"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//Xsl">
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
xsl-1.1.ecore#//Xsl/template"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
xsl-1.1.ecore#//Xsl/use"/>
+ <genFeatures property="None" children="true"
createChild="true" ecoreFeature="ecore:EReference
xsl-1.1.ecore#//Xsl/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
xsl-1.1.ecore#//Xsl/applyBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
xsl-1.1.ecore#//Xsl/applyOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute
xsl-1.1.ecore#//Xsl/applyOnElementNS"/>
+ </genClasses>
+ </genPackages>
+</genmodel:GenModel>
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/smooks-1.1.genmodel
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/plugin.properties
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/plugin.properties 2009-04-15 00:53:23
UTC (rev 14748)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/plugin.properties 2009-04-15 04:38:38
UTC (rev 14749)
@@ -383,3 +383,49 @@
_UI_EDIDocumentRoot_reader_feature = Reader
_UI_EDIReader_encoding_feature = Encoding
_UI_EDIReader_mappingModel_feature = Mapping Model
+
+# Data Source
+_UI_Direct_type = Direct
+_UI_DataSourceDocumentRoot_type = Data Source Document Root
+_UI_DataSourceJndi_type = Data Source Jndi
+_UI_AbstractReader_type = Abstract Reader
+
+_UI_Direct_autoCommit_feature = Auto Commit
+_UI_Direct_bindOnElement_feature = Bind On Element
+_UI_Direct_bindOnElementNS_feature = Bind On Element NS
+_UI_Direct_datasource_feature = Datasource
+_UI_Direct_driver_feature = Driver
+_UI_Direct_password_feature = Password
+_UI_Direct_url_feature = Url
+_UI_Direct_username_feature = Username
+_UI_DataSourceDocumentRoot_mixed_feature = Mixed
+_UI_DataSourceDocumentRoot_xMLNSPrefixMap_feature = XMLNS Prefix Map
+_UI_DataSourceDocumentRoot_xSISchemaLocation_feature = XSI Schema Location
+_UI_DataSourceDocumentRoot_direct_feature = Direct
+_UI_DataSourceDocumentRoot_jNDI_feature = JNDI
+_UI_DataSourceJndi_autoCommit_feature = Auto Commit
+_UI_DataSourceJndi_bindOnElement_feature = Bind On Element
+_UI_DataSourceJndi_datasource_feature = Datasource
+
+# Calc
+_UI_Counter_type = Counter
+_UI_CalcDocumentRoot_type = Document Root
+
+_UI_Counter_startExpression_feature = Start Expression
+_UI_Counter_amountExpression_feature = Amount Expression
+_UI_Counter_resetCondition_feature = Reset Condition
+_UI_Counter_amount_feature = Amount
+_UI_Counter_beanId_feature = Bean Id
+_UI_Counter_countOnElement_feature = Count On Element
+_UI_Counter_countOnElementNS_feature = Count On Element NS
+_UI_Counter_direction_feature = Direction
+_UI_Counter_executeAfter_feature = Execute After
+_UI_Counter_start_feature = Start
+_UI_CalcDocumentRoot_mixed_feature = Mixed
+_UI_CalcDocumentRoot_xMLNSPrefixMap_feature = XMLNS Prefix Map
+_UI_CalcDocumentRoot_xSISchemaLocation_feature = XSI Schema Location
+_UI_CalcDocumentRoot_counter_feature = Counter
+
+
+_UI_CountDirection_INCREMENT_literal = INCREMENT
+_UI_CountDirection_DECREMENT_literal = DECREMENT
\ No newline at end of file
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/plugin.xml
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/plugin.xml 2009-04-15 00:53:23 UTC
(rev 14748)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/plugin.xml 2009-04-15 04:38:38 UTC
(rev 14749)
@@ -192,7 +192,27 @@
uri="http://www.milyn.org/xsd/smooks/edi-1.1.xsd">
</package>
</extension>
+ <extension
+ point="org.eclipse.emf.ecore.generated_package">
+ <package
+ class="org.jboss.tools.smooks.model.datasource.DatasourcePackage"
+ genModel="model/datasource-1.1.genmodel"
+
uri="http://www.milyn.org/xsd/smooks/datasource-1.1.xsd">
+ </package>
+ </extension>
+ <extension point="org.eclipse.emf.ecore.generated_package">
+ <package
+
uri="http://www.milyn.org/xsd/smooks/calc-1.1.xsd"
+ class="org.jboss.tools.smooks.model.calc.CalcPackage"
+ genModel="model/calc-1.1.genmodel"/>
+ </extension>
+
+ <extension point="org.eclipse.emf.ecore.extension_parser">
+ <parser
+ type="calc"
+
class="org.jboss.tools.smooks.model.calc.util.CalcResourceFactoryImpl"/>
+ </extension>
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcDocumentRoot.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcDocumentRoot.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcDocumentRoot.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,117 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc;
+
+import org.eclipse.emf.common.util.EMap;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Document
Root</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getMixed
<em>Mixed</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getXMLNSPrefixMap <em>XMLNS
Prefix Map</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getXSISchemaLocation <em>XSI
Schema Location</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getCounter
<em>Counter</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCalcDocumentRoot()
+ * @model extendedMetaData="name='' kind='mixed'"
+ * @generated
+ */
+public interface CalcDocumentRoot extends EObject {
+ /**
+ * Returns the value of the '<em><b>Mixed</b></em>'
attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Mixed</em>' attribute list isn't
clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Mixed</em>' attribute list.
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCalcDocumentRoot_Mixed()
+ * @model unique="false"
dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='elementWildcard'
name=':mixed'"
+ * @generated
+ */
+ FeatureMap getMixed();
+
+ /**
+ * Returns the value of the '<em><b>XMLNS Prefix
Map</b></em>' map.
+ * The key is of type {@link java.lang.String},
+ * and the value is of type {@link java.lang.String},
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't
clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>XMLNS Prefix Map</em>' map.
+ * @see
org.jboss.tools.smooks.model.calc.CalcPackage#getCalcDocumentRoot_XMLNSPrefixMap()
+ * @model
mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString,
org.eclipse.emf.ecore.EString>" transient="true"
+ * extendedMetaData="kind='attribute'
name='xmlns:prefix'"
+ * @generated
+ */
+ EMap<String, String> getXMLNSPrefixMap();
+
+ /**
+ * Returns the value of the '<em><b>XSI Schema
Location</b></em>' map.
+ * The key is of type {@link java.lang.String},
+ * and the value is of type {@link java.lang.String},
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>XSI Schema Location</em>' map
isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>XSI Schema Location</em>' map.
+ * @see
org.jboss.tools.smooks.model.calc.CalcPackage#getCalcDocumentRoot_XSISchemaLocation()
+ * @model
mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString,
org.eclipse.emf.ecore.EString>" transient="true"
+ * extendedMetaData="kind='attribute'
name='xsi:schemaLocation'"
+ * @generated
+ */
+ EMap<String, String> getXSISchemaLocation();
+
+ /**
+ * Returns the value of the '<em><b>Counter</b></em>'
containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * Counter configuration
+ * The counter can increment or decrement a value.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Counter</em>' containment
reference.
+ * @see #setCounter(Counter)
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCalcDocumentRoot_Counter()
+ * @model containment="true" upper="-2" transient="true"
volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='counter'
namespace='##targetNamespace'
affiliation='http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resourc...
+ * @generated
+ */
+ Counter getCounter();
+
+ /**
+ * Sets the value of the '{@link
org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getCounter
<em>Counter</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Counter</em>' containment
reference.
+ * @see #getCounter()
+ * @generated
+ */
+ void setCounter(Counter value);
+
+} // CalcDocumentRoot
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcDocumentRoot.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcFactory.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcFactory.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcFactory.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,55 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage
+ * @generated
+ */
+public interface CalcFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ CalcFactory eINSTANCE = org.jboss.tools.smooks.model.calc.impl.CalcFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Counter</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Counter</em>'.
+ * @generated
+ */
+ Counter createCounter();
+
+ /**
+ * Returns a new object of class '<em>Document Root</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Document Root</em>'.
+ * @generated
+ */
+ CalcDocumentRoot createCalcDocumentRoot();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ CalcPackage getCalcPackage();
+
+} //CalcFactory
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcPackage.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcPackage.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcPackage.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,671 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Smooks Calculation Configuration
+ * <!-- end-model-doc -->
+ * @see org.jboss.tools.smooks.model.calc.CalcFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface CalcPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "calc";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.milyn.org/xsd/smooks/calc-1.1.xsd";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "calc";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ CalcPackage eINSTANCE = org.jboss.tools.smooks.model.calc.impl.CalcPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link
org.jboss.tools.smooks.model.calc.impl.CounterImpl <em>Counter</em>}'
class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.impl.CounterImpl
+ * @see org.jboss.tools.smooks.model.calc.impl.CalcPackageImpl#getCounter()
+ * @generated
+ */
+ int COUNTER = 0;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>'
attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__MIXED = SmooksPackage.ELEMENT_VISITOR__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>'
attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__ANY = SmooksPackage.ELEMENT_VISITOR__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any
Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__ANY_ATTRIBUTE = SmooksPackage.ELEMENT_VISITOR__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Condition</b></em>'
containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__CONDITION = SmooksPackage.ELEMENT_VISITOR__CONDITION;
+
+ /**
+ * The feature id for the '<em><b>Target
Profile</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__TARGET_PROFILE = SmooksPackage.ELEMENT_VISITOR__TARGET_PROFILE;
+
+ /**
+ * The feature id for the '<em><b>Start
Expression</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__START_EXPRESSION = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Amount
Expression</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__AMOUNT_EXPRESSION = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Reset
Condition</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__RESET_CONDITION = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Amount</b></em>'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__AMOUNT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Bean Id</b></em>'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__BEAN_ID = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Count On
Element</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__COUNT_ON_ELEMENT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Count On Element
NS</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__COUNT_ON_ELEMENT_NS = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the '<em><b>Direction</b></em>'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__DIRECTION = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 7;
+
+ /**
+ * The feature id for the '<em><b>Execute
After</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__EXECUTE_AFTER = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 8;
+
+ /**
+ * The feature id for the '<em><b>Start</b></em>'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__START = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 9;
+
+ /**
+ * The number of structural features of the '<em>Counter</em>'
class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER_FEATURE_COUNT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 10;
+
+ /**
+ * The meta object id for the '{@link
org.jboss.tools.smooks.model.calc.impl.CalcDocumentRootImpl <em>Document
Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.impl.CalcDocumentRootImpl
+ * @see org.jboss.tools.smooks.model.calc.impl.CalcPackageImpl#getCalcDocumentRoot()
+ * @generated
+ */
+ int CALC_DOCUMENT_ROOT = 1;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>'
attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALC_DOCUMENT_ROOT__MIXED = 0;
+
+ /**
+ * The feature id for the '<em><b>XMLNS Prefix
Map</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALC_DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1;
+
+ /**
+ * The feature id for the '<em><b>XSI Schema
Location</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALC_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
+
+ /**
+ * The feature id for the '<em><b>Counter</b></em>'
containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALC_DOCUMENT_ROOT__COUNTER = 3;
+
+ /**
+ * The number of structural features of the '<em>Document Root</em>'
class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALC_DOCUMENT_ROOT_FEATURE_COUNT = 4;
+
+ /**
+ * The meta object id for the '{@link
org.jboss.tools.smooks.model.calc.CountDirection <em>Count
Direction</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.CountDirection
+ * @see org.jboss.tools.smooks.model.calc.impl.CalcPackageImpl#getCountDirection()
+ * @generated
+ */
+ int COUNT_DIRECTION = 2;
+
+ /**
+ * The meta object id for the '<em>Count Direction Object</em>' data
type.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.CountDirection
+ * @see
org.jboss.tools.smooks.model.calc.impl.CalcPackageImpl#getCountDirectionObject()
+ * @generated
+ */
+ int COUNT_DIRECTION_OBJECT = 3;
+
+
+ /**
+ * Returns the meta object for class '{@link
org.jboss.tools.smooks.model.calc.Counter <em>Counter</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Counter</em>'.
+ * @see org.jboss.tools.smooks.model.calc.Counter
+ * @generated
+ */
+ EClass getCounter();
+
+ /**
+ * Returns the meta object for the attribute '{@link
org.jboss.tools.smooks.model.calc.Counter#getStartExpression <em>Start
Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Start
Expression</em>'.
+ * @see org.jboss.tools.smooks.model.calc.Counter#getStartExpression()
+ * @see #getCounter()
+ * @generated
+ */
+ EAttribute getCounter_StartExpression();
+
+ /**
+ * Returns the meta object for the attribute '{@link
org.jboss.tools.smooks.model.calc.Counter#getAmountExpression <em>Amount
Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Amount
Expression</em>'.
+ * @see org.jboss.tools.smooks.model.calc.Counter#getAmountExpression()
+ * @see #getCounter()
+ * @generated
+ */
+ EAttribute getCounter_AmountExpression();
+
+ /**
+ * Returns the meta object for the attribute '{@link
org.jboss.tools.smooks.model.calc.Counter#getResetCondition <em>Reset
Condition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Reset
Condition</em>'.
+ * @see org.jboss.tools.smooks.model.calc.Counter#getResetCondition()
+ * @see #getCounter()
+ * @generated
+ */
+ EAttribute getCounter_ResetCondition();
+
+ /**
+ * Returns the meta object for the attribute '{@link
org.jboss.tools.smooks.model.calc.Counter#getAmount <em>Amount</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Amount</em>'.
+ * @see org.jboss.tools.smooks.model.calc.Counter#getAmount()
+ * @see #getCounter()
+ * @generated
+ */
+ EAttribute getCounter_Amount();
+
+ /**
+ * Returns the meta object for the attribute '{@link
org.jboss.tools.smooks.model.calc.Counter#getBeanId <em>Bean Id</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Bean Id</em>'.
+ * @see org.jboss.tools.smooks.model.calc.Counter#getBeanId()
+ * @see #getCounter()
+ * @generated
+ */
+ EAttribute getCounter_BeanId();
+
+ /**
+ * Returns the meta object for the attribute '{@link
org.jboss.tools.smooks.model.calc.Counter#getCountOnElement <em>Count On
Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Count On
Element</em>'.
+ * @see org.jboss.tools.smooks.model.calc.Counter#getCountOnElement()
+ * @see #getCounter()
+ * @generated
+ */
+ EAttribute getCounter_CountOnElement();
+
+ /**
+ * Returns the meta object for the attribute '{@link
org.jboss.tools.smooks.model.calc.Counter#getCountOnElementNS <em>Count On Element
NS</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Count On Element
NS</em>'.
+ * @see org.jboss.tools.smooks.model.calc.Counter#getCountOnElementNS()
+ * @see #getCounter()
+ * @generated
+ */
+ EAttribute getCounter_CountOnElementNS();
+
+ /**
+ * Returns the meta object for the attribute '{@link
org.jboss.tools.smooks.model.calc.Counter#getDirection
<em>Direction</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Direction</em>'.
+ * @see org.jboss.tools.smooks.model.calc.Counter#getDirection()
+ * @see #getCounter()
+ * @generated
+ */
+ EAttribute getCounter_Direction();
+
+ /**
+ * Returns the meta object for the attribute '{@link
org.jboss.tools.smooks.model.calc.Counter#isExecuteAfter <em>Execute
After</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Execute
After</em>'.
+ * @see org.jboss.tools.smooks.model.calc.Counter#isExecuteAfter()
+ * @see #getCounter()
+ * @generated
+ */
+ EAttribute getCounter_ExecuteAfter();
+
+ /**
+ * Returns the meta object for the attribute '{@link
org.jboss.tools.smooks.model.calc.Counter#getStart <em>Start</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Start</em>'.
+ * @see org.jboss.tools.smooks.model.calc.Counter#getStart()
+ * @see #getCounter()
+ * @generated
+ */
+ EAttribute getCounter_Start();
+
+ /**
+ * Returns the meta object for class '{@link
org.jboss.tools.smooks.model.calc.CalcDocumentRoot <em>Document
Root</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Document Root</em>'.
+ * @see org.jboss.tools.smooks.model.calc.CalcDocumentRoot
+ * @generated
+ */
+ EClass getCalcDocumentRoot();
+
+ /**
+ * Returns the meta object for the attribute list '{@link
org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getMixed
<em>Mixed</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Mixed</em>'.
+ * @see org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getMixed()
+ * @see #getCalcDocumentRoot()
+ * @generated
+ */
+ EAttribute getCalcDocumentRoot_Mixed();
+
+ /**
+ * Returns the meta object for the map '{@link
org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getXMLNSPrefixMap <em>XMLNS
Prefix Map</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the map '<em>XMLNS Prefix Map</em>'.
+ * @see org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getXMLNSPrefixMap()
+ * @see #getCalcDocumentRoot()
+ * @generated
+ */
+ EReference getCalcDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * Returns the meta object for the map '{@link
org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getXSISchemaLocation <em>XSI
Schema Location</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the map '<em>XSI Schema
Location</em>'.
+ * @see org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getXSISchemaLocation()
+ * @see #getCalcDocumentRoot()
+ * @generated
+ */
+ EReference getCalcDocumentRoot_XSISchemaLocation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link
org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getCounter
<em>Counter</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference
'<em>Counter</em>'.
+ * @see org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getCounter()
+ * @see #getCalcDocumentRoot()
+ * @generated
+ */
+ EReference getCalcDocumentRoot_Counter();
+
+ /**
+ * Returns the meta object for enum '{@link
org.jboss.tools.smooks.model.calc.CountDirection <em>Count
Direction</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Count Direction</em>'.
+ * @see org.jboss.tools.smooks.model.calc.CountDirection
+ * @generated
+ */
+ EEnum getCountDirection();
+
+ /**
+ * Returns the meta object for data type '{@link
org.jboss.tools.smooks.model.calc.CountDirection <em>Count Direction
Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for data type '<em>Count Direction
Object</em>'.
+ * @see org.jboss.tools.smooks.model.calc.CountDirection
+ * @model instanceClass="org.jboss.tools.smooks.model.calc.CountDirection"
+ * extendedMetaData="name='CountDirection:Object'
baseType='CountDirection'"
+ * @generated
+ */
+ EDataType getCountDirectionObject();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ CalcFactory getCalcFactory();
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ interface Literals {
+ /**
+ * The meta object literal for the '{@link
org.jboss.tools.smooks.model.calc.impl.CounterImpl <em>Counter</em>}'
class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.impl.CounterImpl
+ * @see org.jboss.tools.smooks.model.calc.impl.CalcPackageImpl#getCounter()
+ * @generated
+ */
+ EClass COUNTER = eINSTANCE.getCounter();
+
+ /**
+ * The meta object literal for the '<em><b>Start
Expression</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COUNTER__START_EXPRESSION = eINSTANCE.getCounter_StartExpression();
+
+ /**
+ * The meta object literal for the '<em><b>Amount
Expression</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COUNTER__AMOUNT_EXPRESSION = eINSTANCE.getCounter_AmountExpression();
+
+ /**
+ * The meta object literal for the '<em><b>Reset
Condition</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COUNTER__RESET_CONDITION = eINSTANCE.getCounter_ResetCondition();
+
+ /**
+ * The meta object literal for the
'<em><b>Amount</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COUNTER__AMOUNT = eINSTANCE.getCounter_Amount();
+
+ /**
+ * The meta object literal for the '<em><b>Bean
Id</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COUNTER__BEAN_ID = eINSTANCE.getCounter_BeanId();
+
+ /**
+ * The meta object literal for the '<em><b>Count On
Element</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COUNTER__COUNT_ON_ELEMENT = eINSTANCE.getCounter_CountOnElement();
+
+ /**
+ * The meta object literal for the '<em><b>Count On Element
NS</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COUNTER__COUNT_ON_ELEMENT_NS = eINSTANCE.getCounter_CountOnElementNS();
+
+ /**
+ * The meta object literal for the
'<em><b>Direction</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COUNTER__DIRECTION = eINSTANCE.getCounter_Direction();
+
+ /**
+ * The meta object literal for the '<em><b>Execute
After</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COUNTER__EXECUTE_AFTER = eINSTANCE.getCounter_ExecuteAfter();
+
+ /**
+ * The meta object literal for the
'<em><b>Start</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COUNTER__START = eINSTANCE.getCounter_Start();
+
+ /**
+ * The meta object literal for the '{@link
org.jboss.tools.smooks.model.calc.impl.CalcDocumentRootImpl <em>Document
Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.impl.CalcDocumentRootImpl
+ * @see org.jboss.tools.smooks.model.calc.impl.CalcPackageImpl#getCalcDocumentRoot()
+ * @generated
+ */
+ EClass CALC_DOCUMENT_ROOT = eINSTANCE.getCalcDocumentRoot();
+
+ /**
+ * The meta object literal for the
'<em><b>Mixed</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CALC_DOCUMENT_ROOT__MIXED = eINSTANCE.getCalcDocumentRoot_Mixed();
+
+ /**
+ * The meta object literal for the '<em><b>XMLNS Prefix
Map</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CALC_DOCUMENT_ROOT__XMLNS_PREFIX_MAP =
eINSTANCE.getCalcDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * The meta object literal for the '<em><b>XSI Schema
Location</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CALC_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION =
eINSTANCE.getCalcDocumentRoot_XSISchemaLocation();
+
+ /**
+ * The meta object literal for the
'<em><b>Counter</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CALC_DOCUMENT_ROOT__COUNTER = eINSTANCE.getCalcDocumentRoot_Counter();
+
+ /**
+ * The meta object literal for the '{@link
org.jboss.tools.smooks.model.calc.CountDirection <em>Count
Direction</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.CountDirection
+ * @see org.jboss.tools.smooks.model.calc.impl.CalcPackageImpl#getCountDirection()
+ * @generated
+ */
+ EEnum COUNT_DIRECTION = eINSTANCE.getCountDirection();
+
+ /**
+ * The meta object literal for the '<em>Count Direction
Object</em>' data type.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.CountDirection
+ * @see
org.jboss.tools.smooks.model.calc.impl.CalcPackageImpl#getCountDirectionObject()
+ * @generated
+ */
+ EDataType COUNT_DIRECTION_OBJECT = eINSTANCE.getCountDirectionObject();
+
+ }
+
+} //CalcPackage
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcPackage.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CountDirection.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CountDirection.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CountDirection.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,220 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Count
Direction</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * If the counter is executed after the element else it will execute before the
element.
+ * Default is 'false'.
+ *
+ * <!-- end-model-doc -->
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCountDirection()
+ * @model extendedMetaData="name='CountDirection'"
+ * @generated
+ */
+public enum CountDirection implements Enumerator {
+ /**
+ * The '<em><b>INCREMENT</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #INCREMENT_VALUE
+ * @generated
+ * @ordered
+ */
+ INCREMENT(0, "INCREMENT", "INCREMENT"),
+
+ /**
+ * The '<em><b>DECREMENT</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #DECREMENT_VALUE
+ * @generated
+ * @ordered
+ */
+ DECREMENT(1, "DECREMENT", "DECREMENT");
+
+ /**
+ * The '<em><b>INCREMENT</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * Count up.
+ *
+ * <!-- end-model-doc -->
+ * @see #INCREMENT
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int INCREMENT_VALUE = 0;
+
+ /**
+ * The '<em><b>DECREMENT</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * Count down.
+ *
+ * <!-- end-model-doc -->
+ * @see #DECREMENT
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int DECREMENT_VALUE = 1;
+
+ /**
+ * An array of all the '<em><b>Count Direction</b></em>'
enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final CountDirection[] VALUES_ARRAY =
+ new CountDirection[] {
+ INCREMENT,
+ DECREMENT,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Count
Direction</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<CountDirection> VALUES =
Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Count Direction</b></em>' literal
with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static CountDirection get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ CountDirection result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Count Direction</b></em>' literal
with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static CountDirection getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ CountDirection result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Count Direction</b></em>' literal
with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static CountDirection get(int value) {
+ switch (value) {
+ case INCREMENT_VALUE: return INCREMENT;
+ case DECREMENT_VALUE: return DECREMENT;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private CountDirection(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} //CountDirection
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CountDirection.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/Counter.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/Counter.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/Counter.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,447 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc;
+
+import org.jboss.tools.smooks.model.smooks.ElementVisitor;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object
'<em><b>Counter</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * Counter
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.calc.Counter#getStartExpression
<em>Start Expression</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.Counter#getAmountExpression
<em>Amount Expression</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.Counter#getResetCondition
<em>Reset Condition</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.Counter#getAmount
<em>Amount</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.Counter#getBeanId <em>Bean
Id</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.Counter#getCountOnElement
<em>Count On Element</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.Counter#getCountOnElementNS
<em>Count On Element NS</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.Counter#getDirection
<em>Direction</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.Counter#isExecuteAfter
<em>Execute After</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.Counter#getStart
<em>Start</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCounter()
+ * @model extendedMetaData="name='counter' kind='elementOnly'"
+ * @generated
+ */
+public interface Counter extends ElementVisitor {
+ /**
+ * Returns the value of the '<em><b>Start
Expression</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The result of this expression is the counter start value.
+ * This expression is executed at the first count and every time the counter
+ * is reset. The expression must result in an integer or a long.
+ * If the startIndex attribute of the counter is set then this expression never
gets
+ * executed.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Start Expression</em>' attribute.
+ * @see #setStartExpression(String)
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCounter_StartExpression()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='element' name='startExpression'
namespace='##targetNamespace'"
+ * @generated
+ */
+ String getStartExpression();
+
+ /**
+ * Sets the value of the '{@link
org.jboss.tools.smooks.model.calc.Counter#getStartExpression <em>Start
Expression</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Start Expression</em>'
attribute.
+ * @see #getStartExpression()
+ * @generated
+ */
+ void setStartExpression(String value);
+
+ /**
+ * Returns the value of the '<em><b>Amount
Expression</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The result of this expression is the amount the counter increments or
decrements.
+ * This expression is executed every time the counter counts.
+ * The expression must result in an integer.
+ * If the amount attribute of the counter is set then this expression never
gets
+ * executed.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Amount Expression</em>' attribute.
+ * @see #setAmountExpression(String)
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCounter_AmountExpression()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='element' name='amountExpression'
namespace='##targetNamespace'"
+ * @generated
+ */
+ String getAmountExpression();
+
+ /**
+ * Sets the value of the '{@link
org.jboss.tools.smooks.model.calc.Counter#getAmountExpression <em>Amount
Expression</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Amount Expression</em>'
attribute.
+ * @see #getAmountExpression()
+ * @generated
+ */
+ void setAmountExpression(String value);
+
+ /**
+ * Returns the value of the '<em><b>Reset
Condition</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * When the expression is set and results in a true value then the counter is
reset to
+ * the start index. The expression must result in a boolean.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Reset Condition</em>' attribute.
+ * @see #setResetCondition(String)
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCounter_ResetCondition()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='element' name='resetCondition'
namespace='##targetNamespace'"
+ * @generated
+ */
+ String getResetCondition();
+
+ /**
+ * Sets the value of the '{@link
org.jboss.tools.smooks.model.calc.Counter#getResetCondition <em>Reset
Condition</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Reset Condition</em>'
attribute.
+ * @see #getResetCondition()
+ * @generated
+ */
+ void setResetCondition(String value);
+
+ /**
+ * Returns the value of the '<em><b>Amount</b></em>'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The amount that the counter increments or decrements the counter value.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Amount</em>' attribute.
+ * @see #isSetAmount()
+ * @see #unsetAmount()
+ * @see #setAmount(int)
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCounter_Amount()
+ * @model unsettable="true"
dataType="org.eclipse.emf.ecore.xml.type.Int"
+ * extendedMetaData="kind='attribute' name='amount'"
+ * @generated
+ */
+ int getAmount();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.calc.Counter#getAmount
<em>Amount</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Amount</em>' attribute.
+ * @see #isSetAmount()
+ * @see #unsetAmount()
+ * @see #getAmount()
+ * @generated
+ */
+ void setAmount(int value);
+
+ /**
+ * Unsets the value of the '{@link
org.jboss.tools.smooks.model.calc.Counter#getAmount <em>Amount</em>}'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAmount()
+ * @see #getAmount()
+ * @see #setAmount(int)
+ * @generated
+ */
+ void unsetAmount();
+
+ /**
+ * Returns whether the value of the '{@link
org.jboss.tools.smooks.model.calc.Counter#getAmount <em>Amount</em>}'
attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Amount</em>' attribute is
set.
+ * @see #unsetAmount()
+ * @see #getAmount()
+ * @see #setAmount(int)
+ * @generated
+ */
+ boolean isSetAmount();
+
+ /**
+ * Returns the value of the '<em><b>Bean Id</b></em>'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The beanId in which the counter value is stored. The value is always stored
+ * as a Long type.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Bean Id</em>' attribute.
+ * @see #setBeanId(String)
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCounter_BeanId()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
required="true"
+ * extendedMetaData="kind='attribute' name='beanId'"
+ * @generated
+ */
+ String getBeanId();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.calc.Counter#getBeanId
<em>Bean Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Bean Id</em>' attribute.
+ * @see #getBeanId()
+ * @generated
+ */
+ void setBeanId(String value);
+
+ /**
+ * Returns the value of the '<em><b>Count On
Element</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The element on which the counter counts.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Count On Element</em>' attribute.
+ * @see #setCountOnElement(String)
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCounter_CountOnElement()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
required="true"
+ * extendedMetaData="kind='attribute'
name='countOnElement'"
+ * @generated
+ */
+ String getCountOnElement();
+
+ /**
+ * Sets the value of the '{@link
org.jboss.tools.smooks.model.calc.Counter#getCountOnElement <em>Count On
Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Count On Element</em>'
attribute.
+ * @see #getCountOnElement()
+ * @generated
+ */
+ void setCountOnElement(String value);
+
+ /**
+ * Returns the value of the '<em><b>Count On Element
NS</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The namespace of the countOnElement element.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Count On Element NS</em>'
attribute.
+ * @see #setCountOnElementNS(String)
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCounter_CountOnElementNS()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute'
name='countOnElementNS'"
+ * @generated
+ */
+ String getCountOnElementNS();
+
+ /**
+ * Sets the value of the '{@link
org.jboss.tools.smooks.model.calc.Counter#getCountOnElementNS <em>Count On Element
NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Count On Element NS</em>'
attribute.
+ * @see #getCountOnElementNS()
+ * @generated
+ */
+ void setCountOnElementNS(String value);
+
+ /**
+ * Returns the value of the '<em><b>Direction</b></em>'
attribute.
+ * The default value is <code>"INCREMENT"</code>.
+ * The literals are from the enumeration {@link
org.jboss.tools.smooks.model.calc.CountDirection}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The direction that the counter counts. Can be INCREMENT (default) or
DECREMENT.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Direction</em>' attribute.
+ * @see org.jboss.tools.smooks.model.calc.CountDirection
+ * @see #isSetDirection()
+ * @see #unsetDirection()
+ * @see #setDirection(CountDirection)
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCounter_Direction()
+ * @model default="INCREMENT" unsettable="true"
+ * extendedMetaData="kind='attribute'
name='direction'"
+ * @generated
+ */
+ CountDirection getDirection();
+
+ /**
+ * Sets the value of the '{@link
org.jboss.tools.smooks.model.calc.Counter#getDirection
<em>Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Direction</em>'
attribute.
+ * @see org.jboss.tools.smooks.model.calc.CountDirection
+ * @see #isSetDirection()
+ * @see #unsetDirection()
+ * @see #getDirection()
+ * @generated
+ */
+ void setDirection(CountDirection value);
+
+ /**
+ * Unsets the value of the '{@link
org.jboss.tools.smooks.model.calc.Counter#getDirection
<em>Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetDirection()
+ * @see #getDirection()
+ * @see #setDirection(CountDirection)
+ * @generated
+ */
+ void unsetDirection();
+
+ /**
+ * Returns whether the value of the '{@link
org.jboss.tools.smooks.model.calc.Counter#getDirection
<em>Direction</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Direction</em>' attribute
is set.
+ * @see #unsetDirection()
+ * @see #getDirection()
+ * @see #setDirection(CountDirection)
+ * @generated
+ */
+ boolean isSetDirection();
+
+ /**
+ * Returns the value of the '<em><b>Execute
After</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * If the counter is executed after the element else it will execute before
the element.
+ * Default is 'false'.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Execute After</em>' attribute.
+ * @see #isSetExecuteAfter()
+ * @see #unsetExecuteAfter()
+ * @see #setExecuteAfter(boolean)
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCounter_ExecuteAfter()
+ * @model default="false" unsettable="true"
dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+ * extendedMetaData="kind='attribute'
name='executeAfter'"
+ * @generated
+ */
+ boolean isExecuteAfter();
+
+ /**
+ * Sets the value of the '{@link
org.jboss.tools.smooks.model.calc.Counter#isExecuteAfter <em>Execute
After</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Execute After</em>'
attribute.
+ * @see #isSetExecuteAfter()
+ * @see #unsetExecuteAfter()
+ * @see #isExecuteAfter()
+ * @generated
+ */
+ void setExecuteAfter(boolean value);
+
+ /**
+ * Unsets the value of the '{@link
org.jboss.tools.smooks.model.calc.Counter#isExecuteAfter <em>Execute
After</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetExecuteAfter()
+ * @see #isExecuteAfter()
+ * @see #setExecuteAfter(boolean)
+ * @generated
+ */
+ void unsetExecuteAfter();
+
+ /**
+ * Returns whether the value of the '{@link
org.jboss.tools.smooks.model.calc.Counter#isExecuteAfter <em>Execute
After</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Execute After</em>'
attribute is set.
+ * @see #unsetExecuteAfter()
+ * @see #isExecuteAfter()
+ * @see #setExecuteAfter(boolean)
+ * @generated
+ */
+ boolean isSetExecuteAfter();
+
+ /**
+ * Returns the value of the '<em><b>Start</b></em>'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The counter start value.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Start</em>' attribute.
+ * @see #isSetStart()
+ * @see #unsetStart()
+ * @see #setStart(long)
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCounter_Start()
+ * @model unsettable="true"
dataType="org.eclipse.emf.ecore.xml.type.Long"
+ * extendedMetaData="kind='attribute' name='start'"
+ * @generated
+ */
+ long getStart();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.calc.Counter#getStart
<em>Start</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Start</em>' attribute.
+ * @see #isSetStart()
+ * @see #unsetStart()
+ * @see #getStart()
+ * @generated
+ */
+ void setStart(long value);
+
+ /**
+ * Unsets the value of the '{@link
org.jboss.tools.smooks.model.calc.Counter#getStart <em>Start</em>}'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetStart()
+ * @see #getStart()
+ * @see #setStart(long)
+ * @generated
+ */
+ void unsetStart();
+
+ /**
+ * Returns whether the value of the '{@link
org.jboss.tools.smooks.model.calc.Counter#getStart <em>Start</em>}'
attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Start</em>' attribute is
set.
+ * @see #unsetStart()
+ * @see #getStart()
+ * @see #setStart(long)
+ * @generated
+ */
+ boolean isSetStart();
+
+} // Counter
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/Counter.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcDocumentRootImpl.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcDocumentRootImpl.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcDocumentRootImpl.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,286 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc.impl;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EMap;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.EcorePackage;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.EcoreEMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.jboss.tools.smooks.model.calc.CalcDocumentRoot;
+import org.jboss.tools.smooks.model.calc.CalcPackage;
+import org.jboss.tools.smooks.model.calc.Counter;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Document
Root</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link
org.jboss.tools.smooks.model.calc.impl.CalcDocumentRootImpl#getMixed
<em>Mixed</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.calc.impl.CalcDocumentRootImpl#getXMLNSPrefixMap
<em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.calc.impl.CalcDocumentRootImpl#getXSISchemaLocation
<em>XSI Schema Location</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.calc.impl.CalcDocumentRootImpl#getCounter
<em>Counter</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CalcDocumentRootImpl extends EObjectImpl implements CalcDocumentRoot {
+ /**
+ * The cached value of the '{@link #getMixed() <em>Mixed</em>}'
attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMixed()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap mixed;
+
+ /**
+ * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix
Map</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXMLNSPrefixMap()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, String> xMLNSPrefixMap;
+
+ /**
+ * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema
Location</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXSISchemaLocation()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, String> xSISchemaLocation;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CalcDocumentRootImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return CalcPackage.Literals.CALC_DOCUMENT_ROOT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getMixed() {
+ if (mixed == null) {
+ mixed = new BasicFeatureMap(this, CalcPackage.CALC_DOCUMENT_ROOT__MIXED);
+ }
+ return mixed;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EMap<String, String> getXMLNSPrefixMap() {
+ if (xMLNSPrefixMap == null) {
+ xMLNSPrefixMap = new
EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY,
EStringToStringMapEntryImpl.class, this,
CalcPackage.CALC_DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ }
+ return xMLNSPrefixMap;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EMap<String, String> getXSISchemaLocation() {
+ if (xSISchemaLocation == null) {
+ xSISchemaLocation = new
EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY,
EStringToStringMapEntryImpl.class, this,
CalcPackage.CALC_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ }
+ return xSISchemaLocation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Counter getCounter() {
+ return (Counter)getMixed().get(CalcPackage.Literals.CALC_DOCUMENT_ROOT__COUNTER,
true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCounter(Counter newCounter, NotificationChain msgs) {
+ return
((FeatureMap.Internal)getMixed()).basicAdd(CalcPackage.Literals.CALC_DOCUMENT_ROOT__COUNTER,
newCounter, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCounter(Counter newCounter) {
+ ((FeatureMap.Internal)getMixed()).set(CalcPackage.Literals.CALC_DOCUMENT_ROOT__COUNTER,
newCounter);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID,
NotificationChain msgs) {
+ switch (featureID) {
+ case CalcPackage.CALC_DOCUMENT_ROOT__MIXED:
+ return ((InternalEList<?>)getMixed()).basicRemove(otherEnd, msgs);
+ case CalcPackage.CALC_DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return ((InternalEList<?>)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
+ case CalcPackage.CALC_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return ((InternalEList<?>)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
+ case CalcPackage.CALC_DOCUMENT_ROOT__COUNTER:
+ return basicSetCounter(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case CalcPackage.CALC_DOCUMENT_ROOT__MIXED:
+ if (coreType) return getMixed();
+ return ((FeatureMap.Internal)getMixed()).getWrapper();
+ case CalcPackage.CALC_DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ if (coreType) return getXMLNSPrefixMap();
+ else return getXMLNSPrefixMap().map();
+ case CalcPackage.CALC_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ if (coreType) return getXSISchemaLocation();
+ else return getXSISchemaLocation().map();
+ case CalcPackage.CALC_DOCUMENT_ROOT__COUNTER:
+ return getCounter();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case CalcPackage.CALC_DOCUMENT_ROOT__MIXED:
+ ((FeatureMap.Internal)getMixed()).set(newValue);
+ return;
+ case CalcPackage.CALC_DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
+ return;
+ case CalcPackage.CALC_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
+ return;
+ case CalcPackage.CALC_DOCUMENT_ROOT__COUNTER:
+ setCounter((Counter)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case CalcPackage.CALC_DOCUMENT_ROOT__MIXED:
+ getMixed().clear();
+ return;
+ case CalcPackage.CALC_DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ getXMLNSPrefixMap().clear();
+ return;
+ case CalcPackage.CALC_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ getXSISchemaLocation().clear();
+ return;
+ case CalcPackage.CALC_DOCUMENT_ROOT__COUNTER:
+ setCounter((Counter)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case CalcPackage.CALC_DOCUMENT_ROOT__MIXED:
+ return mixed != null && !mixed.isEmpty();
+ case CalcPackage.CALC_DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
+ case CalcPackage.CALC_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
+ case CalcPackage.CALC_DOCUMENT_ROOT__COUNTER:
+ return getCounter() != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (mixed: ");
+ result.append(mixed);
+ result.append(')');
+ return result.toString();
+ }
+
+} //CalcDocumentRootImpl
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcDocumentRootImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcFactoryImpl.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcFactoryImpl.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcFactoryImpl.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,183 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc.impl;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+import org.jboss.tools.smooks.model.calc.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class CalcFactoryImpl extends EFactoryImpl implements CalcFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static CalcFactory init() {
+ try {
+ CalcFactory theCalcFactory =
(
CalcFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.milyn...);
+ if (theCalcFactory != null) {
+ return theCalcFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new CalcFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CalcFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case CalcPackage.COUNTER: return createCounter();
+ case CalcPackage.CALC_DOCUMENT_ROOT: return createCalcDocumentRoot();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() +
"' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object createFromString(EDataType eDataType, String initialValue) {
+ switch (eDataType.getClassifierID()) {
+ case CalcPackage.COUNT_DIRECTION:
+ return createCountDirectionFromString(eDataType, initialValue);
+ case CalcPackage.COUNT_DIRECTION_OBJECT:
+ return createCountDirectionObjectFromString(eDataType, initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" +
eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String convertToString(EDataType eDataType, Object instanceValue) {
+ switch (eDataType.getClassifierID()) {
+ case CalcPackage.COUNT_DIRECTION:
+ return convertCountDirectionToString(eDataType, instanceValue);
+ case CalcPackage.COUNT_DIRECTION_OBJECT:
+ return convertCountDirectionObjectToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" +
eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Counter createCounter() {
+ CounterImpl counter = new CounterImpl();
+ return counter;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CalcDocumentRoot createCalcDocumentRoot() {
+ CalcDocumentRootImpl calcDocumentRoot = new CalcDocumentRootImpl();
+ return calcDocumentRoot;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CountDirection createCountDirectionFromString(EDataType eDataType, String
initialValue) {
+ CountDirection result = CountDirection.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" +
initialValue + "' is not a valid enumerator of '" + eDataType.getName()
+ "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertCountDirectionToString(EDataType eDataType, Object instanceValue)
{
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CountDirection createCountDirectionObjectFromString(EDataType eDataType, String
initialValue) {
+ return createCountDirectionFromString(CalcPackage.Literals.COUNT_DIRECTION,
initialValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertCountDirectionObjectToString(EDataType eDataType, Object
instanceValue) {
+ return convertCountDirectionToString(CalcPackage.Literals.COUNT_DIRECTION,
instanceValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CalcPackage getCalcPackage() {
+ return (CalcPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static CalcPackage getPackage() {
+ return CalcPackage.eINSTANCE;
+ }
+
+} //CalcFactoryImpl
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcFactoryImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcPackageImpl.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcPackageImpl.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcPackageImpl.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,572 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc.impl;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
+
+import org.jboss.tools.smooks.model.calc.CalcDocumentRoot;
+import org.jboss.tools.smooks.model.calc.CalcFactory;
+import org.jboss.tools.smooks.model.calc.CalcPackage;
+import org.jboss.tools.smooks.model.calc.CountDirection;
+import org.jboss.tools.smooks.model.calc.Counter;
+
+import org.jboss.tools.smooks.model.common.CommonPackage;
+
+import org.jboss.tools.smooks.model.common.impl.CommonPackageImpl;
+
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+import org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class CalcPackageImpl extends EPackageImpl implements CalcPackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass counterEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass calcDocumentRootEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum countDirectionEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EDataType countDirectionObjectEDataType = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * package URI value.
+ * <p>Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private CalcPackageImpl() {
+ super(eNS_URI, CalcFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this
+ * model, and for any others upon which it depends. Simple
+ * dependencies are satisfied by calling this method on all
+ * dependent packages before doing anything else. This method drives
+ * initialization for interdependent packages directly, in parallel
+ * with this package, itself.
+ * <p>Of this package and its interdependencies, all packages which
+ * have not yet been registered by their URI values are first created
+ * and registered. The packages are then initialized in two steps:
+ * meta-model objects for all of the packages are created before any
+ * are initialized, since one package's meta-model objects may refer to
+ * those of another.
+ * <p>Invocation of this method will not affect any packages that have
+ * already been initialized.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static CalcPackage init() {
+ if (isInited) return
(CalcPackage)EPackage.Registry.INSTANCE.getEPackage(CalcPackage.eNS_URI);
+
+ // Obtain or create and register package
+ CalcPackageImpl theCalcPackage =
(CalcPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof
CalcPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new
CalcPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ XMLTypePackage.eINSTANCE.eClass();
+
+ // Obtain or create and register interdependencies
+ SmooksPackageImpl theSmooksPackage =
(SmooksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SmooksPackage.eNS_URI)
instanceof SmooksPackageImpl ?
EPackage.Registry.INSTANCE.getEPackage(SmooksPackage.eNS_URI) : SmooksPackage.eINSTANCE);
+ CommonPackageImpl theCommonPackage =
(CommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI)
instanceof CommonPackageImpl ?
EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) : CommonPackage.eINSTANCE);
+
+ // Create package meta-data objects
+ theCalcPackage.createPackageContents();
+ theSmooksPackage.createPackageContents();
+ theCommonPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theCalcPackage.initializePackageContents();
+ theSmooksPackage.initializePackageContents();
+ theCommonPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theCalcPackage.freeze();
+
+ return theCalcPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCounter() {
+ return counterEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCounter_StartExpression() {
+ return (EAttribute)counterEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCounter_AmountExpression() {
+ return (EAttribute)counterEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCounter_ResetCondition() {
+ return (EAttribute)counterEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCounter_Amount() {
+ return (EAttribute)counterEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCounter_BeanId() {
+ return (EAttribute)counterEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCounter_CountOnElement() {
+ return (EAttribute)counterEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCounter_CountOnElementNS() {
+ return (EAttribute)counterEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCounter_Direction() {
+ return (EAttribute)counterEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCounter_ExecuteAfter() {
+ return (EAttribute)counterEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCounter_Start() {
+ return (EAttribute)counterEClass.getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCalcDocumentRoot() {
+ return calcDocumentRootEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCalcDocumentRoot_Mixed() {
+ return (EAttribute)calcDocumentRootEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCalcDocumentRoot_XMLNSPrefixMap() {
+ return (EReference)calcDocumentRootEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCalcDocumentRoot_XSISchemaLocation() {
+ return (EReference)calcDocumentRootEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCalcDocumentRoot_Counter() {
+ return (EReference)calcDocumentRootEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getCountDirection() {
+ return countDirectionEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EDataType getCountDirectionObject() {
+ return countDirectionObjectEDataType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CalcFactory getCalcFactory() {
+ return (CalcFactory)getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void createPackageContents() {
+ if (isCreated) return;
+ isCreated = true;
+
+ // Create classes and their features
+ counterEClass = createEClass(COUNTER);
+ createEAttribute(counterEClass, COUNTER__START_EXPRESSION);
+ createEAttribute(counterEClass, COUNTER__AMOUNT_EXPRESSION);
+ createEAttribute(counterEClass, COUNTER__RESET_CONDITION);
+ createEAttribute(counterEClass, COUNTER__AMOUNT);
+ createEAttribute(counterEClass, COUNTER__BEAN_ID);
+ createEAttribute(counterEClass, COUNTER__COUNT_ON_ELEMENT);
+ createEAttribute(counterEClass, COUNTER__COUNT_ON_ELEMENT_NS);
+ createEAttribute(counterEClass, COUNTER__DIRECTION);
+ createEAttribute(counterEClass, COUNTER__EXECUTE_AFTER);
+ createEAttribute(counterEClass, COUNTER__START);
+
+ calcDocumentRootEClass = createEClass(CALC_DOCUMENT_ROOT);
+ createEAttribute(calcDocumentRootEClass, CALC_DOCUMENT_ROOT__MIXED);
+ createEReference(calcDocumentRootEClass, CALC_DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ createEReference(calcDocumentRootEClass, CALC_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ createEReference(calcDocumentRootEClass, CALC_DOCUMENT_ROOT__COUNTER);
+
+ // Create enums
+ countDirectionEEnum = createEEnum(COUNT_DIRECTION);
+
+ // Create data types
+ countDirectionObjectEDataType = createEDataType(COUNT_DIRECTION_OBJECT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void initializePackageContents() {
+ if (isInitialized) return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ SmooksPackage theSmooksPackage =
(SmooksPackage)EPackage.Registry.INSTANCE.getEPackage(SmooksPackage.eNS_URI);
+ XMLTypePackage theXMLTypePackage =
(XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ counterEClass.getESuperTypes().add(theSmooksPackage.getElementVisitor());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(counterEClass, Counter.class, "Counter", !IS_ABSTRACT,
!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getCounter_StartExpression(), theXMLTypePackage.getString(),
"startExpression", null, 0, 1, Counter.class, !IS_TRANSIENT, !IS_VOLATILE,
IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCounter_AmountExpression(), theXMLTypePackage.getString(),
"amountExpression", null, 0, 1, Counter.class, !IS_TRANSIENT, !IS_VOLATILE,
IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCounter_ResetCondition(), theXMLTypePackage.getString(),
"resetCondition", null, 0, 1, Counter.class, !IS_TRANSIENT, !IS_VOLATILE,
IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCounter_Amount(), theXMLTypePackage.getInt(), "amount",
null, 0, 1, Counter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE,
!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCounter_BeanId(), theXMLTypePackage.getString(), "beanId",
null, 1, 1, Counter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCounter_CountOnElement(), theXMLTypePackage.getString(),
"countOnElement", null, 1, 1, Counter.class, !IS_TRANSIENT, !IS_VOLATILE,
IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCounter_CountOnElementNS(), theXMLTypePackage.getString(),
"countOnElementNS", null, 0, 1, Counter.class, !IS_TRANSIENT, !IS_VOLATILE,
IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCounter_Direction(), this.getCountDirection(), "direction",
"INCREMENT", 0, 1, Counter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCounter_ExecuteAfter(), theXMLTypePackage.getBoolean(),
"executeAfter", "false", 0, 1, Counter.class, !IS_TRANSIENT,
!IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCounter_Start(), theXMLTypePackage.getLong(), "start",
null, 0, 1, Counter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE,
!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(calcDocumentRootEClass, CalcDocumentRoot.class,
"CalcDocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getCalcDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(),
"mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
!IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getCalcDocumentRoot_XMLNSPrefixMap(),
ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1,
null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getCalcDocumentRoot_XSISchemaLocation(),
ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0,
-1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getCalcDocumentRoot_Counter(), this.getCounter(), null,
"counter", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE,
IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+
+ // Initialize enums and add enum literals
+ initEEnum(countDirectionEEnum, CountDirection.class, "CountDirection");
+ addEEnumLiteral(countDirectionEEnum, CountDirection.INCREMENT);
+ addEEnumLiteral(countDirectionEEnum, CountDirection.DECREMENT);
+
+ // Initialize data types
+ initEDataType(countDirectionObjectEDataType, CountDirection.class,
"CountDirectionObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS);
+
+ // Create resource
+ createResource(eNS_URI);
+
+ // Create annotations
+ // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
+ createExtendedMetaDataAnnotations();
+ }
+
+ /**
+ * Initializes the annotations for
<b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void createExtendedMetaDataAnnotations() {
+ String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
+ addAnnotation
+ (countDirectionEEnum,
+ source,
+ new String[] {
+ "name", "CountDirection"
+ });
+ addAnnotation
+ (countDirectionObjectEDataType,
+ source,
+ new String[] {
+ "name", "CountDirection:Object",
+ "baseType", "CountDirection"
+ });
+ addAnnotation
+ (counterEClass,
+ source,
+ new String[] {
+ "name", "counter",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getCounter_StartExpression(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "startExpression",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getCounter_AmountExpression(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "amountExpression",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getCounter_ResetCondition(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "resetCondition",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getCounter_Amount(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "amount"
+ });
+ addAnnotation
+ (getCounter_BeanId(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "beanId"
+ });
+ addAnnotation
+ (getCounter_CountOnElement(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "countOnElement"
+ });
+ addAnnotation
+ (getCounter_CountOnElementNS(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "countOnElementNS"
+ });
+ addAnnotation
+ (getCounter_Direction(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "direction"
+ });
+ addAnnotation
+ (getCounter_ExecuteAfter(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "executeAfter"
+ });
+ addAnnotation
+ (getCounter_Start(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "start"
+ });
+ addAnnotation
+ (calcDocumentRootEClass,
+ source,
+ new String[] {
+ "name", "",
+ "kind", "mixed"
+ });
+ addAnnotation
+ (getCalcDocumentRoot_Mixed(),
+ source,
+ new String[] {
+ "kind", "elementWildcard",
+ "name", ":mixed"
+ });
+ addAnnotation
+ (getCalcDocumentRoot_XMLNSPrefixMap(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xmlns:prefix"
+ });
+ addAnnotation
+ (getCalcDocumentRoot_XSISchemaLocation(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xsi:schemaLocation"
+ });
+ addAnnotation
+ (getCalcDocumentRoot_Counter(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "counter",
+ "namespace", "##targetNamespace",
+ "affiliation",
"http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"
+ });
+ }
+
+} //CalcPackageImpl
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcPackageImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CounterImpl.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CounterImpl.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CounterImpl.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,791 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.jboss.tools.smooks.model.calc.CalcPackage;
+import org.jboss.tools.smooks.model.calc.CountDirection;
+import org.jboss.tools.smooks.model.calc.Counter;
+
+import org.jboss.tools.smooks.model.smooks.impl.ElementVisitorImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object
'<em><b>Counter</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link
org.jboss.tools.smooks.model.calc.impl.CounterImpl#getStartExpression <em>Start
Expression</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.calc.impl.CounterImpl#getAmountExpression <em>Amount
Expression</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.calc.impl.CounterImpl#getResetCondition <em>Reset
Condition</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.impl.CounterImpl#getAmount
<em>Amount</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.impl.CounterImpl#getBeanId
<em>Bean Id</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.calc.impl.CounterImpl#getCountOnElement <em>Count On
Element</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.calc.impl.CounterImpl#getCountOnElementNS <em>Count On
Element NS</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.impl.CounterImpl#getDirection
<em>Direction</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.impl.CounterImpl#isExecuteAfter
<em>Execute After</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.impl.CounterImpl#getStart
<em>Start</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CounterImpl extends ElementVisitorImpl implements Counter {
+ /**
+ * The default value of the '{@link #getStartExpression() <em>Start
Expression</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStartExpression()
+ * @generated
+ * @ordered
+ */
+ protected static final String START_EXPRESSION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getStartExpression() <em>Start
Expression</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStartExpression()
+ * @generated
+ * @ordered
+ */
+ protected String startExpression = START_EXPRESSION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getAmountExpression() <em>Amount
Expression</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAmountExpression()
+ * @generated
+ * @ordered
+ */
+ protected static final String AMOUNT_EXPRESSION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getAmountExpression() <em>Amount
Expression</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAmountExpression()
+ * @generated
+ * @ordered
+ */
+ protected String amountExpression = AMOUNT_EXPRESSION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getResetCondition() <em>Reset
Condition</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getResetCondition()
+ * @generated
+ * @ordered
+ */
+ protected static final String RESET_CONDITION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getResetCondition() <em>Reset
Condition</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getResetCondition()
+ * @generated
+ * @ordered
+ */
+ protected String resetCondition = RESET_CONDITION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getAmount() <em>Amount</em>}'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAmount()
+ * @generated
+ * @ordered
+ */
+ protected static final int AMOUNT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getAmount() <em>Amount</em>}'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAmount()
+ * @generated
+ * @ordered
+ */
+ protected int amount = AMOUNT_EDEFAULT;
+
+ /**
+ * This is true if the Amount attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean amountESet;
+
+ /**
+ * The default value of the '{@link #getBeanId() <em>Bean Id</em>}'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBeanId()
+ * @generated
+ * @ordered
+ */
+ protected static final String BEAN_ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getBeanId() <em>Bean Id</em>}'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBeanId()
+ * @generated
+ * @ordered
+ */
+ protected String beanId = BEAN_ID_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getCountOnElement() <em>Count On
Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCountOnElement()
+ * @generated
+ * @ordered
+ */
+ protected static final String COUNT_ON_ELEMENT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getCountOnElement() <em>Count On
Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCountOnElement()
+ * @generated
+ * @ordered
+ */
+ protected String countOnElement = COUNT_ON_ELEMENT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getCountOnElementNS() <em>Count On
Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCountOnElementNS()
+ * @generated
+ * @ordered
+ */
+ protected static final String COUNT_ON_ELEMENT_NS_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getCountOnElementNS() <em>Count On Element
NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCountOnElementNS()
+ * @generated
+ * @ordered
+ */
+ protected String countOnElementNS = COUNT_ON_ELEMENT_NS_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDirection()
<em>Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDirection()
+ * @generated
+ * @ordered
+ */
+ protected static final CountDirection DIRECTION_EDEFAULT = CountDirection.INCREMENT;
+
+ /**
+ * The cached value of the '{@link #getDirection()
<em>Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDirection()
+ * @generated
+ * @ordered
+ */
+ protected CountDirection direction = DIRECTION_EDEFAULT;
+
+ /**
+ * This is true if the Direction attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean directionESet;
+
+ /**
+ * The default value of the '{@link #isExecuteAfter() <em>Execute
After</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isExecuteAfter()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean EXECUTE_AFTER_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isExecuteAfter() <em>Execute
After</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isExecuteAfter()
+ * @generated
+ * @ordered
+ */
+ protected boolean executeAfter = EXECUTE_AFTER_EDEFAULT;
+
+ /**
+ * This is true if the Execute After attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean executeAfterESet;
+
+ /**
+ * The default value of the '{@link #getStart() <em>Start</em>}'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStart()
+ * @generated
+ * @ordered
+ */
+ protected static final long START_EDEFAULT = 0L;
+
+ /**
+ * The cached value of the '{@link #getStart() <em>Start</em>}'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStart()
+ * @generated
+ * @ordered
+ */
+ protected long start = START_EDEFAULT;
+
+ /**
+ * This is true if the Start attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean startESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CounterImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return CalcPackage.Literals.COUNTER;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getStartExpression() {
+ return startExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setStartExpression(String newStartExpression) {
+ String oldStartExpression = startExpression;
+ startExpression = newStartExpression;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
CalcPackage.COUNTER__START_EXPRESSION, oldStartExpression, startExpression));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getAmountExpression() {
+ return amountExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAmountExpression(String newAmountExpression) {
+ String oldAmountExpression = amountExpression;
+ amountExpression = newAmountExpression;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
CalcPackage.COUNTER__AMOUNT_EXPRESSION, oldAmountExpression, amountExpression));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getResetCondition() {
+ return resetCondition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setResetCondition(String newResetCondition) {
+ String oldResetCondition = resetCondition;
+ resetCondition = newResetCondition;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
CalcPackage.COUNTER__RESET_CONDITION, oldResetCondition, resetCondition));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getAmount() {
+ return amount;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAmount(int newAmount) {
+ int oldAmount = amount;
+ amount = newAmount;
+ boolean oldAmountESet = amountESet;
+ amountESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CalcPackage.COUNTER__AMOUNT,
oldAmount, amount, !oldAmountESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAmount() {
+ int oldAmount = amount;
+ boolean oldAmountESet = amountESet;
+ amount = AMOUNT_EDEFAULT;
+ amountESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, CalcPackage.COUNTER__AMOUNT,
oldAmount, AMOUNT_EDEFAULT, oldAmountESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAmount() {
+ return amountESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getBeanId() {
+ return beanId;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBeanId(String newBeanId) {
+ String oldBeanId = beanId;
+ beanId = newBeanId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CalcPackage.COUNTER__BEAN_ID,
oldBeanId, beanId));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getCountOnElement() {
+ return countOnElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCountOnElement(String newCountOnElement) {
+ String oldCountOnElement = countOnElement;
+ countOnElement = newCountOnElement;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
CalcPackage.COUNTER__COUNT_ON_ELEMENT, oldCountOnElement, countOnElement));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getCountOnElementNS() {
+ return countOnElementNS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCountOnElementNS(String newCountOnElementNS) {
+ String oldCountOnElementNS = countOnElementNS;
+ countOnElementNS = newCountOnElementNS;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
CalcPackage.COUNTER__COUNT_ON_ELEMENT_NS, oldCountOnElementNS, countOnElementNS));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CountDirection getDirection() {
+ return direction;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDirection(CountDirection newDirection) {
+ CountDirection oldDirection = direction;
+ direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection;
+ boolean oldDirectionESet = directionESet;
+ directionESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CalcPackage.COUNTER__DIRECTION,
oldDirection, direction, !oldDirectionESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetDirection() {
+ CountDirection oldDirection = direction;
+ boolean oldDirectionESet = directionESet;
+ direction = DIRECTION_EDEFAULT;
+ directionESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET,
CalcPackage.COUNTER__DIRECTION, oldDirection, DIRECTION_EDEFAULT, oldDirectionESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetDirection() {
+ return directionESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isExecuteAfter() {
+ return executeAfter;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExecuteAfter(boolean newExecuteAfter) {
+ boolean oldExecuteAfter = executeAfter;
+ executeAfter = newExecuteAfter;
+ boolean oldExecuteAfterESet = executeAfterESet;
+ executeAfterESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
CalcPackage.COUNTER__EXECUTE_AFTER, oldExecuteAfter, executeAfter,
!oldExecuteAfterESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetExecuteAfter() {
+ boolean oldExecuteAfter = executeAfter;
+ boolean oldExecuteAfterESet = executeAfterESet;
+ executeAfter = EXECUTE_AFTER_EDEFAULT;
+ executeAfterESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET,
CalcPackage.COUNTER__EXECUTE_AFTER, oldExecuteAfter, EXECUTE_AFTER_EDEFAULT,
oldExecuteAfterESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetExecuteAfter() {
+ return executeAfterESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public long getStart() {
+ return start;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setStart(long newStart) {
+ long oldStart = start;
+ start = newStart;
+ boolean oldStartESet = startESet;
+ startESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CalcPackage.COUNTER__START,
oldStart, start, !oldStartESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetStart() {
+ long oldStart = start;
+ boolean oldStartESet = startESet;
+ start = START_EDEFAULT;
+ startESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, CalcPackage.COUNTER__START,
oldStart, START_EDEFAULT, oldStartESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetStart() {
+ return startESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case CalcPackage.COUNTER__START_EXPRESSION:
+ return getStartExpression();
+ case CalcPackage.COUNTER__AMOUNT_EXPRESSION:
+ return getAmountExpression();
+ case CalcPackage.COUNTER__RESET_CONDITION:
+ return getResetCondition();
+ case CalcPackage.COUNTER__AMOUNT:
+ return new Integer(getAmount());
+ case CalcPackage.COUNTER__BEAN_ID:
+ return getBeanId();
+ case CalcPackage.COUNTER__COUNT_ON_ELEMENT:
+ return getCountOnElement();
+ case CalcPackage.COUNTER__COUNT_ON_ELEMENT_NS:
+ return getCountOnElementNS();
+ case CalcPackage.COUNTER__DIRECTION:
+ return getDirection();
+ case CalcPackage.COUNTER__EXECUTE_AFTER:
+ return isExecuteAfter() ? Boolean.TRUE : Boolean.FALSE;
+ case CalcPackage.COUNTER__START:
+ return new Long(getStart());
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case CalcPackage.COUNTER__START_EXPRESSION:
+ setStartExpression((String)newValue);
+ return;
+ case CalcPackage.COUNTER__AMOUNT_EXPRESSION:
+ setAmountExpression((String)newValue);
+ return;
+ case CalcPackage.COUNTER__RESET_CONDITION:
+ setResetCondition((String)newValue);
+ return;
+ case CalcPackage.COUNTER__AMOUNT:
+ setAmount(((Integer)newValue).intValue());
+ return;
+ case CalcPackage.COUNTER__BEAN_ID:
+ setBeanId((String)newValue);
+ return;
+ case CalcPackage.COUNTER__COUNT_ON_ELEMENT:
+ setCountOnElement((String)newValue);
+ return;
+ case CalcPackage.COUNTER__COUNT_ON_ELEMENT_NS:
+ setCountOnElementNS((String)newValue);
+ return;
+ case CalcPackage.COUNTER__DIRECTION:
+ setDirection((CountDirection)newValue);
+ return;
+ case CalcPackage.COUNTER__EXECUTE_AFTER:
+ setExecuteAfter(((Boolean)newValue).booleanValue());
+ return;
+ case CalcPackage.COUNTER__START:
+ setStart(((Long)newValue).longValue());
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case CalcPackage.COUNTER__START_EXPRESSION:
+ setStartExpression(START_EXPRESSION_EDEFAULT);
+ return;
+ case CalcPackage.COUNTER__AMOUNT_EXPRESSION:
+ setAmountExpression(AMOUNT_EXPRESSION_EDEFAULT);
+ return;
+ case CalcPackage.COUNTER__RESET_CONDITION:
+ setResetCondition(RESET_CONDITION_EDEFAULT);
+ return;
+ case CalcPackage.COUNTER__AMOUNT:
+ unsetAmount();
+ return;
+ case CalcPackage.COUNTER__BEAN_ID:
+ setBeanId(BEAN_ID_EDEFAULT);
+ return;
+ case CalcPackage.COUNTER__COUNT_ON_ELEMENT:
+ setCountOnElement(COUNT_ON_ELEMENT_EDEFAULT);
+ return;
+ case CalcPackage.COUNTER__COUNT_ON_ELEMENT_NS:
+ setCountOnElementNS(COUNT_ON_ELEMENT_NS_EDEFAULT);
+ return;
+ case CalcPackage.COUNTER__DIRECTION:
+ unsetDirection();
+ return;
+ case CalcPackage.COUNTER__EXECUTE_AFTER:
+ unsetExecuteAfter();
+ return;
+ case CalcPackage.COUNTER__START:
+ unsetStart();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case CalcPackage.COUNTER__START_EXPRESSION:
+ return START_EXPRESSION_EDEFAULT == null ? startExpression != null :
!START_EXPRESSION_EDEFAULT.equals(startExpression);
+ case CalcPackage.COUNTER__AMOUNT_EXPRESSION:
+ return AMOUNT_EXPRESSION_EDEFAULT == null ? amountExpression != null :
!AMOUNT_EXPRESSION_EDEFAULT.equals(amountExpression);
+ case CalcPackage.COUNTER__RESET_CONDITION:
+ return RESET_CONDITION_EDEFAULT == null ? resetCondition != null :
!RESET_CONDITION_EDEFAULT.equals(resetCondition);
+ case CalcPackage.COUNTER__AMOUNT:
+ return isSetAmount();
+ case CalcPackage.COUNTER__BEAN_ID:
+ return BEAN_ID_EDEFAULT == null ? beanId != null : !BEAN_ID_EDEFAULT.equals(beanId);
+ case CalcPackage.COUNTER__COUNT_ON_ELEMENT:
+ return COUNT_ON_ELEMENT_EDEFAULT == null ? countOnElement != null :
!COUNT_ON_ELEMENT_EDEFAULT.equals(countOnElement);
+ case CalcPackage.COUNTER__COUNT_ON_ELEMENT_NS:
+ return COUNT_ON_ELEMENT_NS_EDEFAULT == null ? countOnElementNS != null :
!COUNT_ON_ELEMENT_NS_EDEFAULT.equals(countOnElementNS);
+ case CalcPackage.COUNTER__DIRECTION:
+ return isSetDirection();
+ case CalcPackage.COUNTER__EXECUTE_AFTER:
+ return isSetExecuteAfter();
+ case CalcPackage.COUNTER__START:
+ return isSetStart();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (startExpression: ");
+ result.append(startExpression);
+ result.append(", amountExpression: ");
+ result.append(amountExpression);
+ result.append(", resetCondition: ");
+ result.append(resetCondition);
+ result.append(", amount: ");
+ if (amountESet) result.append(amount); else result.append("<unset>");
+ result.append(", beanId: ");
+ result.append(beanId);
+ result.append(", countOnElement: ");
+ result.append(countOnElement);
+ result.append(", countOnElementNS: ");
+ result.append(countOnElementNS);
+ result.append(", direction: ");
+ if (directionESet) result.append(direction); else
result.append("<unset>");
+ result.append(", executeAfter: ");
+ if (executeAfterESet) result.append(executeAfter); else
result.append("<unset>");
+ result.append(", start: ");
+ if (startESet) result.append(start); else result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
+
+} //CounterImpl
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CounterImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcAdapterFactory.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcAdapterFactory.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcAdapterFactory.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,221 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc.util;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.xml.type.AnyType;
+
+import org.jboss.tools.smooks.model.calc.*;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+import org.jboss.tools.smooks.model.smooks.AbstractResourceConfig;
+import org.jboss.tools.smooks.model.smooks.ElementVisitor;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the
model.
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage
+ * @generated
+ */
+public class CalcAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static CalcPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CalcAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = CalcPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the
model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CalcSwitch<Adapter> modelSwitch =
+ new CalcSwitch<Adapter>() {
+ @Override
+ public Adapter caseCounter(Counter object) {
+ return createCounterAdapter();
+ }
+ @Override
+ public Adapter caseCalcDocumentRoot(CalcDocumentRoot object) {
+ return createCalcDocumentRootAdapter();
+ }
+ @Override
+ public Adapter caseAnyType(AnyType object) {
+ return createAnyTypeAdapter();
+ }
+ @Override
+ public Adapter caseAbstractAnyType(AbstractAnyType object) {
+ return createAbstractAnyTypeAdapter();
+ }
+ @Override
+ public Adapter caseAbstractResourceConfig(AbstractResourceConfig object) {
+ return createAbstractResourceConfigAdapter();
+ }
+ @Override
+ public Adapter caseElementVisitor(ElementVisitor object) {
+ return createElementVisitorAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link
org.jboss.tools.smooks.model.calc.Counter <em>Counter</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.jboss.tools.smooks.model.calc.Counter
+ * @generated
+ */
+ public Adapter createCounterAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link
org.jboss.tools.smooks.model.calc.CalcDocumentRoot <em>Document
Root</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.jboss.tools.smooks.model.calc.CalcDocumentRoot
+ * @generated
+ */
+ public Adapter createCalcDocumentRootAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link
org.eclipse.emf.ecore.xml.type.AnyType <em>Any Type</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.ecore.xml.type.AnyType
+ * @generated
+ */
+ public Adapter createAnyTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link
org.jboss.tools.smooks.model.common.AbstractAnyType <em>Abstract Any
Type</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.jboss.tools.smooks.model.common.AbstractAnyType
+ * @generated
+ */
+ public Adapter createAbstractAnyTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link
org.jboss.tools.smooks.model.smooks.AbstractResourceConfig <em>Abstract Resource
Config</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.jboss.tools.smooks.model.smooks.AbstractResourceConfig
+ * @generated
+ */
+ public Adapter createAbstractResourceConfigAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link
org.jboss.tools.smooks.model.smooks.ElementVisitor <em>Element
Visitor</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.jboss.tools.smooks.model.smooks.ElementVisitor
+ * @generated
+ */
+ public Adapter createElementVisitorAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //CalcAdapterFactory
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcAdapterFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcResourceFactoryImpl.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcResourceFactoryImpl.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcResourceFactoryImpl.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,56 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
+
+import org.eclipse.emf.ecore.xmi.XMLResource;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource Factory</b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.util.CalcResourceImpl
+ * @generated
+ */
+public class CalcResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CalcResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new CalcResourceImpl(uri);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA,
Boolean.TRUE);
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA,
Boolean.TRUE);
+
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE,
Boolean.TRUE);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE,
Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER,
Boolean.TRUE);
+ return result;
+ }
+
+} //CalcResourceFactoryImpl
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcResourceFactoryImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcResourceImpl.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcResourceImpl.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcResourceImpl.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,32 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource </b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.util.CalcResourceFactoryImpl
+ * @generated
+ */
+public class CalcResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public CalcResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //CalcResourceImpl
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcResourceImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcSwitch.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcSwitch.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcSwitch.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,222 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc.util;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.xml.type.AnyType;
+
+import org.jboss.tools.smooks.model.calc.*;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+import org.jboss.tools.smooks.model.smooks.AbstractResourceConfig;
+import org.jboss.tools.smooks.model.smooks.ElementVisitor;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage
+ * @generated
+ */
+public class CalcSwitch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static CalcPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CalcSwitch() {
+ if (modelPackage == null) {
+ modelPackage = CalcPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns
a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code>
call.
+ * @generated
+ */
+ public T doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns
a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code>
call.
+ * @generated
+ */
+ protected T doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ }
+ else {
+ List<EClass> eSuperTypes = theEClass.getESuperTypes();
+ return
+ eSuperTypes.isEmpty() ?
+ defaultCase(theEObject) :
+ doSwitch(eSuperTypes.get(0), theEObject);
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns
a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code>
call.
+ * @generated
+ */
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case CalcPackage.COUNTER: {
+ Counter counter = (Counter)theEObject;
+ T result = caseCounter(counter);
+ if (result == null) result = caseElementVisitor(counter);
+ if (result == null) result = caseAbstractResourceConfig(counter);
+ if (result == null) result = caseAbstractAnyType(counter);
+ if (result == null) result = caseAnyType(counter);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case CalcPackage.CALC_DOCUMENT_ROOT: {
+ CalcDocumentRoot calcDocumentRoot = (CalcDocumentRoot)theEObject;
+ T result = caseCalcDocumentRoot(calcDocumentRoot);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of
'<em>Counter</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of
'<em>Counter</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCounter(Counter object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of
'<em>Document Root</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of
'<em>Document Root</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCalcDocumentRoot(CalcDocumentRoot object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Any
Type</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Any
Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAnyType(AnyType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of
'<em>Abstract Any Type</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of
'<em>Abstract Any Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAbstractAnyType(AbstractAnyType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of
'<em>Abstract Resource Config</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of
'<em>Abstract Resource Config</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAbstractResourceConfig(AbstractResourceConfig object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of
'<em>Element Visitor</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of
'<em>Element Visitor</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseElementVisitor(ElementVisitor object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of
'<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case
anyway.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of
'<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //CalcSwitch
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcSwitch.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcXMLProcessor.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcXMLProcessor.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcXMLProcessor.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,54 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc.util;
+
+import java.util.Map;
+
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
+
+import org.jboss.tools.smooks.model.calc.CalcPackage;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class CalcXMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CalcXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ CalcPackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the
CalcResourceFactoryImpl factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected Map<String, Resource.Factory> getRegistrations() {
+ if (registrations == null) {
+ super.getRegistrations();
+ registrations.put(XML_EXTENSION, new CalcResourceFactoryImpl());
+ registrations.put(STAR_EXTENSION, new CalcResourceFactoryImpl());
+ }
+ return registrations;
+ }
+
+} //CalcXMLProcessor
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcXMLProcessor.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DataSourceDocumentRoot.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DataSourceDocumentRoot.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DataSourceDocumentRoot.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,151 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource;
+
+import org.eclipse.emf.common.util.EMap;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Data Source Document
Root</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link
org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getMixed
<em>Mixed</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getXMLNSPrefixMap
<em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getXSISchemaLocation
<em>XSI Schema Location</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getDirect
<em>Direct</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getJNDI
<em>JNDI</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see
org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDataSourceDocumentRoot()
+ * @model extendedMetaData="name='' kind='mixed'"
+ * @generated
+ */
+public interface DataSourceDocumentRoot extends EObject {
+ /**
+ * Returns the value of the '<em><b>Mixed</b></em>'
attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Mixed</em>' attribute list isn't
clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Mixed</em>' attribute list.
+ * @see
org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDataSourceDocumentRoot_Mixed()
+ * @model unique="false"
dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='elementWildcard'
name=':mixed'"
+ * @generated
+ */
+ FeatureMap getMixed();
+
+ /**
+ * Returns the value of the '<em><b>XMLNS Prefix
Map</b></em>' map.
+ * The key is of type {@link java.lang.String},
+ * and the value is of type {@link java.lang.String},
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't
clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>XMLNS Prefix Map</em>' map.
+ * @see
org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDataSourceDocumentRoot_XMLNSPrefixMap()
+ * @model
mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString,
org.eclipse.emf.ecore.EString>" transient="true"
+ * extendedMetaData="kind='attribute'
name='xmlns:prefix'"
+ * @generated
+ */
+ EMap<String, String> getXMLNSPrefixMap();
+
+ /**
+ * Returns the value of the '<em><b>XSI Schema
Location</b></em>' map.
+ * The key is of type {@link java.lang.String},
+ * and the value is of type {@link java.lang.String},
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>XSI Schema Location</em>' map
isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>XSI Schema Location</em>' map.
+ * @see
org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDataSourceDocumentRoot_XSISchemaLocation()
+ * @model
mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString,
org.eclipse.emf.ecore.EString>" transient="true"
+ * extendedMetaData="kind='attribute'
name='xsi:schemaLocation'"
+ * @generated
+ */
+ EMap<String, String> getXSISchemaLocation();
+
+ /**
+ * Returns the value of the '<em><b>Direct</b></em>'
containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * Direct datasource configuration
+ * The direct datasource resource creates a connection to a datasource and
+ * makes it available in the ExecutionContext. The datasource can then be used
+ * by other cartridges to access the datasource.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Direct</em>' containment
reference.
+ * @see #setDirect(Direct)
+ * @see
org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDataSourceDocumentRoot_Direct()
+ * @model containment="true" upper="-2" transient="true"
volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='direct'
namespace='##targetNamespace'
affiliation='http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resourc...
+ * @generated
+ */
+ Direct getDirect();
+
+ /**
+ * Sets the value of the '{@link
org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getDirect
<em>Direct</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Direct</em>' containment
reference.
+ * @see #getDirect()
+ * @generated
+ */
+ void setDirect(Direct value);
+
+ /**
+ * Returns the value of the '<em><b>JNDI</b></em>'
containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * JNDI datasource configuration
+ * The JNDI datasource resource retrieves a datasource from the JNDI and
+ * makes it available in the ExecutionContext. The datasource can then be used
+ * by other cartridges to access the datasource.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>JNDI</em>' containment reference.
+ * @see #setJNDI(DataSourceJndi)
+ * @see
org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDataSourceDocumentRoot_JNDI()
+ * @model containment="true" upper="-2" transient="true"
volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='JNDI'
namespace='##targetNamespace'
affiliation='http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resourc...
+ * @generated
+ */
+ DataSourceJndi getJNDI();
+
+ /**
+ * Sets the value of the '{@link
org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getJNDI
<em>JNDI</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>JNDI</em>' containment
reference.
+ * @see #getJNDI()
+ * @generated
+ */
+ void setJNDI(DataSourceJndi value);
+
+} // DataSourceDocumentRoot
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DataSourceDocumentRoot.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DataSourceJndi.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DataSourceJndi.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DataSourceJndi.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,150 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource;
+
+import org.jboss.tools.smooks.model.smooks.ElementVisitor;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Data Source
Jndi</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * JNDI Datasource
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.DataSourceJndi#isAutoCommit
<em>Auto Commit</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.datasource.DataSourceJndi#getBindOnElement <em>Bind On
Element</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.datasource.DataSourceJndi#getDatasource
<em>Datasource</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDataSourceJndi()
+ * @model extendedMetaData="name='Jndi' kind='elementOnly'"
+ * @generated
+ */
+public interface DataSourceJndi extends ElementVisitor {
+ /**
+ * Returns the value of the '<em><b>Auto
Commit</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * If the datasource should automaticly commit.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Auto Commit</em>' attribute.
+ * @see #isSetAutoCommit()
+ * @see #unsetAutoCommit()
+ * @see #setAutoCommit(boolean)
+ * @see
org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDataSourceJndi_AutoCommit()
+ * @model unsettable="true"
dataType="org.eclipse.emf.ecore.xml.type.Boolean" required="true"
+ * extendedMetaData="kind='attribute'
name='autoCommit'"
+ * @generated
+ */
+ boolean isAutoCommit();
+
+ /**
+ * Sets the value of the '{@link
org.jboss.tools.smooks.model.datasource.DataSourceJndi#isAutoCommit <em>Auto
Commit</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Auto Commit</em>'
attribute.
+ * @see #isSetAutoCommit()
+ * @see #unsetAutoCommit()
+ * @see #isAutoCommit()
+ * @generated
+ */
+ void setAutoCommit(boolean value);
+
+ /**
+ * Unsets the value of the '{@link
org.jboss.tools.smooks.model.datasource.DataSourceJndi#isAutoCommit <em>Auto
Commit</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAutoCommit()
+ * @see #isAutoCommit()
+ * @see #setAutoCommit(boolean)
+ * @generated
+ */
+ void unsetAutoCommit();
+
+ /**
+ * Returns whether the value of the '{@link
org.jboss.tools.smooks.model.datasource.DataSourceJndi#isAutoCommit <em>Auto
Commit</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Auto Commit</em>' attribute
is set.
+ * @see #unsetAutoCommit()
+ * @see #isAutoCommit()
+ * @see #setAutoCommit(boolean)
+ * @generated
+ */
+ boolean isSetAutoCommit();
+
+ /**
+ * Returns the value of the '<em><b>Bind On
Element</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The element on which the datasource is bound. On the visitAfter
+ * of the element the connection does a Commit or Rollback depending
+ * if a exception got thrown.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Bind On Element</em>' attribute.
+ * @see #setBindOnElement(String)
+ * @see
org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDataSourceJndi_BindOnElement()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
required="true"
+ * extendedMetaData="kind='attribute'
name='bindOnElement'"
+ * @generated
+ */
+ String getBindOnElement();
+
+ /**
+ * Sets the value of the '{@link
org.jboss.tools.smooks.model.datasource.DataSourceJndi#getBindOnElement <em>Bind On
Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Bind On Element</em>'
attribute.
+ * @see #getBindOnElement()
+ * @generated
+ */
+ void setBindOnElement(String value);
+
+ /**
+ * Returns the value of the '<em><b>Datasource</b></em>'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The reference name of the datasource. This name must be used
+ * to retrieve the datasource from the ExecutionContext.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Datasource</em>' attribute.
+ * @see #setDatasource(String)
+ * @see
org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDataSourceJndi_Datasource()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
required="true"
+ * extendedMetaData="kind='attribute'
name='datasource'"
+ * @generated
+ */
+ String getDatasource();
+
+ /**
+ * Sets the value of the '{@link
org.jboss.tools.smooks.model.datasource.DataSourceJndi#getDatasource
<em>Datasource</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Datasource</em>'
attribute.
+ * @see #getDatasource()
+ * @generated
+ */
+ void setDatasource(String value);
+
+} // DataSourceJndi
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DataSourceJndi.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DatasourceFactory.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DatasourceFactory.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DatasourceFactory.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,64 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage
+ * @generated
+ */
+public interface DatasourceFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ DatasourceFactory eINSTANCE =
org.jboss.tools.smooks.model.datasource.impl.DatasourceFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Direct</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Direct</em>'.
+ * @generated
+ */
+ Direct createDirect();
+
+ /**
+ * Returns a new object of class '<em>Data Source Document
Root</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Data Source Document
Root</em>'.
+ * @generated
+ */
+ DataSourceDocumentRoot createDataSourceDocumentRoot();
+
+ /**
+ * Returns a new object of class '<em>Data Source Jndi</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Data Source Jndi</em>'.
+ * @generated
+ */
+ DataSourceJndi createDataSourceJndi();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ DatasourcePackage getDatasourcePackage();
+
+} //DatasourceFactory
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DatasourceFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DatasourcePackage.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DatasourcePackage.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DatasourcePackage.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,746 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Smooks Datasource Configuration
+ * <!-- end-model-doc -->
+ * @see org.jboss.tools.smooks.model.datasource.DatasourceFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface DatasourcePackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "datasource";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.milyn.org/xsd/smooks/datasource-1.1.xsd";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "ds";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ DatasourcePackage eINSTANCE =
org.jboss.tools.smooks.model.datasource.impl.DatasourcePackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link
org.jboss.tools.smooks.model.datasource.impl.DirectImpl <em>Direct</em>}'
class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.datasource.impl.DirectImpl
+ * @see org.jboss.tools.smooks.model.datasource.impl.DatasourcePackageImpl#getDirect()
+ * @generated
+ */
+ int DIRECT = 0;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>'
attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__MIXED = SmooksPackage.ELEMENT_VISITOR__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>'
attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__ANY = SmooksPackage.ELEMENT_VISITOR__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any
Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__ANY_ATTRIBUTE = SmooksPackage.ELEMENT_VISITOR__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Condition</b></em>'
containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__CONDITION = SmooksPackage.ELEMENT_VISITOR__CONDITION;
+
+ /**
+ * The feature id for the '<em><b>Target
Profile</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__TARGET_PROFILE = SmooksPackage.ELEMENT_VISITOR__TARGET_PROFILE;
+
+ /**
+ * The feature id for the '<em><b>Auto Commit</b></em>'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__AUTO_COMMIT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Bind On
Element</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__BIND_ON_ELEMENT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Bind On Element
NS</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__BIND_ON_ELEMENT_NS = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Datasource</b></em>'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__DATASOURCE = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Driver</b></em>'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__DRIVER = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Password</b></em>'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__PASSWORD = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Url</b></em>'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__URL = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the '<em><b>Username</b></em>'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__USERNAME = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 7;
+
+ /**
+ * The number of structural features of the '<em>Direct</em>'
class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT_FEATURE_COUNT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 8;
+
+ /**
+ * The meta object id for the '{@link
org.jboss.tools.smooks.model.datasource.impl.DataSourceDocumentRootImpl <em>Data
Source Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.datasource.impl.DataSourceDocumentRootImpl
+ * @see
org.jboss.tools.smooks.model.datasource.impl.DatasourcePackageImpl#getDataSourceDocumentRoot()
+ * @generated
+ */
+ int DATA_SOURCE_DOCUMENT_ROOT = 1;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>'
attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_DOCUMENT_ROOT__MIXED = 0;
+
+ /**
+ * The feature id for the '<em><b>XMLNS Prefix
Map</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1;
+
+ /**
+ * The feature id for the '<em><b>XSI Schema
Location</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
+
+ /**
+ * The feature id for the '<em><b>Direct</b></em>'
containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_DOCUMENT_ROOT__DIRECT = 3;
+
+ /**
+ * The feature id for the '<em><b>JNDI</b></em>'
containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_DOCUMENT_ROOT__JNDI = 4;
+
+ /**
+ * The number of structural features of the '<em>Data Source Document
Root</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_DOCUMENT_ROOT_FEATURE_COUNT = 5;
+
+ /**
+ * The meta object id for the '{@link
org.jboss.tools.smooks.model.datasource.impl.DataSourceJndiImpl <em>Data Source
Jndi</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.datasource.impl.DataSourceJndiImpl
+ * @see
org.jboss.tools.smooks.model.datasource.impl.DatasourcePackageImpl#getDataSourceJndi()
+ * @generated
+ */
+ int DATA_SOURCE_JNDI = 2;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>'
attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_JNDI__MIXED = SmooksPackage.ELEMENT_VISITOR__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>'
attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_JNDI__ANY = SmooksPackage.ELEMENT_VISITOR__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any
Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_JNDI__ANY_ATTRIBUTE = SmooksPackage.ELEMENT_VISITOR__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Condition</b></em>'
containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_JNDI__CONDITION = SmooksPackage.ELEMENT_VISITOR__CONDITION;
+
+ /**
+ * The feature id for the '<em><b>Target
Profile</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_JNDI__TARGET_PROFILE = SmooksPackage.ELEMENT_VISITOR__TARGET_PROFILE;
+
+ /**
+ * The feature id for the '<em><b>Auto Commit</b></em>'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_JNDI__AUTO_COMMIT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Bind On
Element</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_JNDI__BIND_ON_ELEMENT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT +
1;
+
+ /**
+ * The feature id for the '<em><b>Datasource</b></em>'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_JNDI__DATASOURCE = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Data Source
Jndi</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_JNDI_FEATURE_COUNT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 3;
+
+
+ /**
+ * Returns the meta object for class '{@link
org.jboss.tools.smooks.model.datasource.Direct <em>Direct</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Direct</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.Direct
+ * @generated
+ */
+ EClass getDirect();
+
+ /**
+ * Returns the meta object for the attribute '{@link
org.jboss.tools.smooks.model.datasource.Direct#isAutoCommit <em>Auto
Commit</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Auto
Commit</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.Direct#isAutoCommit()
+ * @see #getDirect()
+ * @generated
+ */
+ EAttribute getDirect_AutoCommit();
+
+ /**
+ * Returns the meta object for the attribute '{@link
org.jboss.tools.smooks.model.datasource.Direct#getBindOnElement <em>Bind On
Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Bind On
Element</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.Direct#getBindOnElement()
+ * @see #getDirect()
+ * @generated
+ */
+ EAttribute getDirect_BindOnElement();
+
+ /**
+ * Returns the meta object for the attribute '{@link
org.jboss.tools.smooks.model.datasource.Direct#getBindOnElementNS <em>Bind On
Element NS</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Bind On Element
NS</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.Direct#getBindOnElementNS()
+ * @see #getDirect()
+ * @generated
+ */
+ EAttribute getDirect_BindOnElementNS();
+
+ /**
+ * Returns the meta object for the attribute '{@link
org.jboss.tools.smooks.model.datasource.Direct#getDatasource
<em>Datasource</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Datasource</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.Direct#getDatasource()
+ * @see #getDirect()
+ * @generated
+ */
+ EAttribute getDirect_Datasource();
+
+ /**
+ * Returns the meta object for the attribute '{@link
org.jboss.tools.smooks.model.datasource.Direct#getDriver
<em>Driver</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Driver</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.Direct#getDriver()
+ * @see #getDirect()
+ * @generated
+ */
+ EAttribute getDirect_Driver();
+
+ /**
+ * Returns the meta object for the attribute '{@link
org.jboss.tools.smooks.model.datasource.Direct#getPassword
<em>Password</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Password</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.Direct#getPassword()
+ * @see #getDirect()
+ * @generated
+ */
+ EAttribute getDirect_Password();
+
+ /**
+ * Returns the meta object for the attribute '{@link
org.jboss.tools.smooks.model.datasource.Direct#getUrl <em>Url</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Url</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.Direct#getUrl()
+ * @see #getDirect()
+ * @generated
+ */
+ EAttribute getDirect_Url();
+
+ /**
+ * Returns the meta object for the attribute '{@link
org.jboss.tools.smooks.model.datasource.Direct#getUsername
<em>Username</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Username</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.Direct#getUsername()
+ * @see #getDirect()
+ * @generated
+ */
+ EAttribute getDirect_Username();
+
+ /**
+ * Returns the meta object for class '{@link
org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot <em>Data Source
Document Root</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Data Source Document
Root</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot
+ * @generated
+ */
+ EClass getDataSourceDocumentRoot();
+
+ /**
+ * Returns the meta object for the attribute list '{@link
org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getMixed
<em>Mixed</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Mixed</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getMixed()
+ * @see #getDataSourceDocumentRoot()
+ * @generated
+ */
+ EAttribute getDataSourceDocumentRoot_Mixed();
+
+ /**
+ * Returns the meta object for the map '{@link
org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getXMLNSPrefixMap
<em>XMLNS Prefix Map</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the map '<em>XMLNS Prefix Map</em>'.
+ * @see
org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getXMLNSPrefixMap()
+ * @see #getDataSourceDocumentRoot()
+ * @generated
+ */
+ EReference getDataSourceDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * Returns the meta object for the map '{@link
org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getXSISchemaLocation
<em>XSI Schema Location</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the map '<em>XSI Schema
Location</em>'.
+ * @see
org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getXSISchemaLocation()
+ * @see #getDataSourceDocumentRoot()
+ * @generated
+ */
+ EReference getDataSourceDocumentRoot_XSISchemaLocation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link
org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getDirect
<em>Direct</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference
'<em>Direct</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getDirect()
+ * @see #getDataSourceDocumentRoot()
+ * @generated
+ */
+ EReference getDataSourceDocumentRoot_Direct();
+
+ /**
+ * Returns the meta object for the containment reference '{@link
org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getJNDI
<em>JNDI</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference
'<em>JNDI</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getJNDI()
+ * @see #getDataSourceDocumentRoot()
+ * @generated
+ */
+ EReference getDataSourceDocumentRoot_JNDI();
+
+ /**
+ * Returns the meta object for class '{@link
org.jboss.tools.smooks.model.datasource.DataSourceJndi <em>Data Source
Jndi</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Data Source Jndi</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.DataSourceJndi
+ * @generated
+ */
+ EClass getDataSourceJndi();
+
+ /**
+ * Returns the meta object for the attribute '{@link
org.jboss.tools.smooks.model.datasource.DataSourceJndi#isAutoCommit <em>Auto
Commit</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Auto
Commit</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.DataSourceJndi#isAutoCommit()
+ * @see #getDataSourceJndi()
+ * @generated
+ */
+ EAttribute getDataSourceJndi_AutoCommit();
+
+ /**
+ * Returns the meta object for the attribute '{@link
org.jboss.tools.smooks.model.datasource.DataSourceJndi#getBindOnElement <em>Bind On
Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Bind On
Element</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.DataSourceJndi#getBindOnElement()
+ * @see #getDataSourceJndi()
+ * @generated
+ */
+ EAttribute getDataSourceJndi_BindOnElement();
+
+ /**
+ * Returns the meta object for the attribute '{@link
org.jboss.tools.smooks.model.datasource.DataSourceJndi#getDatasource
<em>Datasource</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Datasource</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.DataSourceJndi#getDatasource()
+ * @see #getDataSourceJndi()
+ * @generated
+ */
+ EAttribute getDataSourceJndi_Datasource();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ DatasourceFactory getDatasourceFactory();
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ interface Literals {
+ /**
+ * The meta object literal for the '{@link
org.jboss.tools.smooks.model.datasource.impl.DirectImpl <em>Direct</em>}'
class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.datasource.impl.DirectImpl
+ * @see org.jboss.tools.smooks.model.datasource.impl.DatasourcePackageImpl#getDirect()
+ * @generated
+ */
+ EClass DIRECT = eINSTANCE.getDirect();
+
+ /**
+ * The meta object literal for the '<em><b>Auto
Commit</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DIRECT__AUTO_COMMIT = eINSTANCE.getDirect_AutoCommit();
+
+ /**
+ * The meta object literal for the '<em><b>Bind On
Element</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DIRECT__BIND_ON_ELEMENT = eINSTANCE.getDirect_BindOnElement();
+
+ /**
+ * The meta object literal for the '<em><b>Bind On Element
NS</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DIRECT__BIND_ON_ELEMENT_NS = eINSTANCE.getDirect_BindOnElementNS();
+
+ /**
+ * The meta object literal for the
'<em><b>Datasource</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DIRECT__DATASOURCE = eINSTANCE.getDirect_Datasource();
+
+ /**
+ * The meta object literal for the
'<em><b>Driver</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DIRECT__DRIVER = eINSTANCE.getDirect_Driver();
+
+ /**
+ * The meta object literal for the
'<em><b>Password</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DIRECT__PASSWORD = eINSTANCE.getDirect_Password();
+
+ /**
+ * The meta object literal for the
'<em><b>Url</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DIRECT__URL = eINSTANCE.getDirect_Url();
+
+ /**
+ * The meta object literal for the
'<em><b>Username</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DIRECT__USERNAME = eINSTANCE.getDirect_Username();
+
+ /**
+ * The meta object literal for the '{@link
org.jboss.tools.smooks.model.datasource.impl.DataSourceDocumentRootImpl <em>Data
Source Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.datasource.impl.DataSourceDocumentRootImpl
+ * @see
org.jboss.tools.smooks.model.datasource.impl.DatasourcePackageImpl#getDataSourceDocumentRoot()
+ * @generated
+ */
+ EClass DATA_SOURCE_DOCUMENT_ROOT = eINSTANCE.getDataSourceDocumentRoot();
+
+ /**
+ * The meta object literal for the
'<em><b>Mixed</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DATA_SOURCE_DOCUMENT_ROOT__MIXED =
eINSTANCE.getDataSourceDocumentRoot_Mixed();
+
+ /**
+ * The meta object literal for the '<em><b>XMLNS Prefix
Map</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DATA_SOURCE_DOCUMENT_ROOT__XMLNS_PREFIX_MAP =
eINSTANCE.getDataSourceDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * The meta object literal for the '<em><b>XSI Schema
Location</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DATA_SOURCE_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION =
eINSTANCE.getDataSourceDocumentRoot_XSISchemaLocation();
+
+ /**
+ * The meta object literal for the
'<em><b>Direct</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DATA_SOURCE_DOCUMENT_ROOT__DIRECT =
eINSTANCE.getDataSourceDocumentRoot_Direct();
+
+ /**
+ * The meta object literal for the
'<em><b>JNDI</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DATA_SOURCE_DOCUMENT_ROOT__JNDI =
eINSTANCE.getDataSourceDocumentRoot_JNDI();
+
+ /**
+ * The meta object literal for the '{@link
org.jboss.tools.smooks.model.datasource.impl.DataSourceJndiImpl <em>Data Source
Jndi</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.datasource.impl.DataSourceJndiImpl
+ * @see
org.jboss.tools.smooks.model.datasource.impl.DatasourcePackageImpl#getDataSourceJndi()
+ * @generated
+ */
+ EClass DATA_SOURCE_JNDI = eINSTANCE.getDataSourceJndi();
+
+ /**
+ * The meta object literal for the '<em><b>Auto
Commit</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DATA_SOURCE_JNDI__AUTO_COMMIT = eINSTANCE.getDataSourceJndi_AutoCommit();
+
+ /**
+ * The meta object literal for the '<em><b>Bind On
Element</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DATA_SOURCE_JNDI__BIND_ON_ELEMENT =
eINSTANCE.getDataSourceJndi_BindOnElement();
+
+ /**
+ * The meta object literal for the
'<em><b>Datasource</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DATA_SOURCE_JNDI__DATASOURCE = eINSTANCE.getDataSourceJndi_Datasource();
+
+ }
+
+} //DatasourcePackage
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DatasourcePackage.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/Direct.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/Direct.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/Direct.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,295 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource;
+
+import org.jboss.tools.smooks.model.smooks.ElementVisitor;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object
'<em><b>Direct</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * Direct Datasource
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.Direct#isAutoCommit
<em>Auto Commit</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.Direct#getBindOnElement
<em>Bind On Element</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.Direct#getBindOnElementNS
<em>Bind On Element NS</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.Direct#getDatasource
<em>Datasource</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.Direct#getDriver
<em>Driver</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.Direct#getPassword
<em>Password</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.Direct#getUrl
<em>Url</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.Direct#getUsername
<em>Username</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDirect()
+ * @model extendedMetaData="name='direct' kind='elementOnly'"
+ * @generated
+ */
+public interface Direct extends ElementVisitor {
+ /**
+ * Returns the value of the '<em><b>Auto
Commit</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * If the datasource should automaticly commit.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Auto Commit</em>' attribute.
+ * @see #isSetAutoCommit()
+ * @see #unsetAutoCommit()
+ * @see #setAutoCommit(boolean)
+ * @see
org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDirect_AutoCommit()
+ * @model unsettable="true"
dataType="org.eclipse.emf.ecore.xml.type.Boolean" required="true"
+ * extendedMetaData="kind='attribute'
name='autoCommit'"
+ * @generated
+ */
+ boolean isAutoCommit();
+
+ /**
+ * Sets the value of the '{@link
org.jboss.tools.smooks.model.datasource.Direct#isAutoCommit <em>Auto
Commit</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Auto Commit</em>'
attribute.
+ * @see #isSetAutoCommit()
+ * @see #unsetAutoCommit()
+ * @see #isAutoCommit()
+ * @generated
+ */
+ void setAutoCommit(boolean value);
+
+ /**
+ * Unsets the value of the '{@link
org.jboss.tools.smooks.model.datasource.Direct#isAutoCommit <em>Auto
Commit</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAutoCommit()
+ * @see #isAutoCommit()
+ * @see #setAutoCommit(boolean)
+ * @generated
+ */
+ void unsetAutoCommit();
+
+ /**
+ * Returns whether the value of the '{@link
org.jboss.tools.smooks.model.datasource.Direct#isAutoCommit <em>Auto
Commit</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Auto Commit</em>' attribute
is set.
+ * @see #unsetAutoCommit()
+ * @see #isAutoCommit()
+ * @see #setAutoCommit(boolean)
+ * @generated
+ */
+ boolean isSetAutoCommit();
+
+ /**
+ * Returns the value of the '<em><b>Bind On
Element</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The element on which the datasource is bound. On the visitAfter
+ * of the element the connection does a Commit or Rollback depending
+ * if a exception got thrown.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Bind On Element</em>' attribute.
+ * @see #setBindOnElement(String)
+ * @see
org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDirect_BindOnElement()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
required="true"
+ * extendedMetaData="kind='attribute'
name='bindOnElement'"
+ * @generated
+ */
+ String getBindOnElement();
+
+ /**
+ * Sets the value of the '{@link
org.jboss.tools.smooks.model.datasource.Direct#getBindOnElement <em>Bind On
Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Bind On Element</em>'
attribute.
+ * @see #getBindOnElement()
+ * @generated
+ */
+ void setBindOnElement(String value);
+
+ /**
+ * Returns the value of the '<em><b>Bind On Element
NS</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The namespace of the bindOnElement element
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Bind On Element NS</em>'
attribute.
+ * @see #setBindOnElementNS(String)
+ * @see
org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDirect_BindOnElementNS()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute'
name='bindOnElementNS'"
+ * @generated
+ */
+ String getBindOnElementNS();
+
+ /**
+ * Sets the value of the '{@link
org.jboss.tools.smooks.model.datasource.Direct#getBindOnElementNS <em>Bind On
Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Bind On Element NS</em>'
attribute.
+ * @see #getBindOnElementNS()
+ * @generated
+ */
+ void setBindOnElementNS(String value);
+
+ /**
+ * Returns the value of the '<em><b>Datasource</b></em>'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The reference name of the datasource. This name must be used
+ * to retrieve the datasource from the ExecutionContext.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Datasource</em>' attribute.
+ * @see #setDatasource(String)
+ * @see
org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDirect_Datasource()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
required="true"
+ * extendedMetaData="kind='attribute'
name='datasource'"
+ * @generated
+ */
+ String getDatasource();
+
+ /**
+ * Sets the value of the '{@link
org.jboss.tools.smooks.model.datasource.Direct#getDatasource
<em>Datasource</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Datasource</em>'
attribute.
+ * @see #getDatasource()
+ * @generated
+ */
+ void setDatasource(String value);
+
+ /**
+ * Returns the value of the '<em><b>Driver</b></em>'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The JDBC driver name
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Driver</em>' attribute.
+ * @see #setDriver(String)
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDirect_Driver()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
required="true"
+ * extendedMetaData="kind='attribute' name='driver'"
+ * @generated
+ */
+ String getDriver();
+
+ /**
+ * Sets the value of the '{@link
org.jboss.tools.smooks.model.datasource.Direct#getDriver <em>Driver</em>}'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Driver</em>' attribute.
+ * @see #getDriver()
+ * @generated
+ */
+ void setDriver(String value);
+
+ /**
+ * Returns the value of the '<em><b>Password</b></em>'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The password
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Password</em>' attribute.
+ * @see #setPassword(String)
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDirect_Password()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
required="true"
+ * extendedMetaData="kind='attribute' name='password'"
+ * @generated
+ */
+ String getPassword();
+
+ /**
+ * Sets the value of the '{@link
org.jboss.tools.smooks.model.datasource.Direct#getPassword
<em>Password</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Password</em>' attribute.
+ * @see #getPassword()
+ * @generated
+ */
+ void setPassword(String value);
+
+ /**
+ * Returns the value of the '<em><b>Url</b></em>'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The JDBC URL
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Url</em>' attribute.
+ * @see #setUrl(String)
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDirect_Url()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.AnyURI"
required="true"
+ * extendedMetaData="kind='attribute' name='url'"
+ * @generated
+ */
+ String getUrl();
+
+ /**
+ * Sets the value of the '{@link
org.jboss.tools.smooks.model.datasource.Direct#getUrl <em>Url</em>}'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Url</em>' attribute.
+ * @see #getUrl()
+ * @generated
+ */
+ void setUrl(String value);
+
+ /**
+ * Returns the value of the '<em><b>Username</b></em>'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The username
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Username</em>' attribute.
+ * @see #setUsername(String)
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDirect_Username()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
required="true"
+ * extendedMetaData="kind='attribute' name='username'"
+ * @generated
+ */
+ String getUsername();
+
+ /**
+ * Sets the value of the '{@link
org.jboss.tools.smooks.model.datasource.Direct#getUsername
<em>Username</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Username</em>' attribute.
+ * @see #getUsername()
+ * @generated
+ */
+ void setUsername(String value);
+
+} // Direct
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/Direct.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DataSourceDocumentRootImpl.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DataSourceDocumentRootImpl.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DataSourceDocumentRootImpl.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,327 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.impl;
+
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EMap;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.EcorePackage;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.EcoreEMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot;
+import org.jboss.tools.smooks.model.datasource.DataSourceJndi;
+import org.jboss.tools.smooks.model.datasource.DatasourcePackage;
+import org.jboss.tools.smooks.model.datasource.Direct;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Data Source Document
Root</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link
org.jboss.tools.smooks.model.datasource.impl.DataSourceDocumentRootImpl#getMixed
<em>Mixed</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.datasource.impl.DataSourceDocumentRootImpl#getXMLNSPrefixMap
<em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.datasource.impl.DataSourceDocumentRootImpl#getXSISchemaLocation
<em>XSI Schema Location</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.datasource.impl.DataSourceDocumentRootImpl#getDirect
<em>Direct</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.datasource.impl.DataSourceDocumentRootImpl#getJNDI
<em>JNDI</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DataSourceDocumentRootImpl extends EObjectImpl implements
DataSourceDocumentRoot {
+ /**
+ * The cached value of the '{@link #getMixed() <em>Mixed</em>}'
attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMixed()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap mixed;
+
+ /**
+ * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix
Map</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXMLNSPrefixMap()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, String> xMLNSPrefixMap;
+
+ /**
+ * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema
Location</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXSISchemaLocation()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, String> xSISchemaLocation;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DataSourceDocumentRootImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DatasourcePackage.Literals.DATA_SOURCE_DOCUMENT_ROOT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getMixed() {
+ if (mixed == null) {
+ mixed = new BasicFeatureMap(this,
DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__MIXED);
+ }
+ return mixed;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EMap<String, String> getXMLNSPrefixMap() {
+ if (xMLNSPrefixMap == null) {
+ xMLNSPrefixMap = new
EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY,
EStringToStringMapEntryImpl.class, this,
DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ }
+ return xMLNSPrefixMap;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EMap<String, String> getXSISchemaLocation() {
+ if (xSISchemaLocation == null) {
+ xSISchemaLocation = new
EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY,
EStringToStringMapEntryImpl.class, this,
DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ }
+ return xSISchemaLocation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Direct getDirect() {
+ return
(Direct)getMixed().get(DatasourcePackage.Literals.DATA_SOURCE_DOCUMENT_ROOT__DIRECT,
true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDirect(Direct newDirect, NotificationChain msgs) {
+ return
((FeatureMap.Internal)getMixed()).basicAdd(DatasourcePackage.Literals.DATA_SOURCE_DOCUMENT_ROOT__DIRECT,
newDirect, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDirect(Direct newDirect) {
+ ((FeatureMap.Internal)getMixed()).set(DatasourcePackage.Literals.DATA_SOURCE_DOCUMENT_ROOT__DIRECT,
newDirect);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataSourceJndi getJNDI() {
+ return
(DataSourceJndi)getMixed().get(DatasourcePackage.Literals.DATA_SOURCE_DOCUMENT_ROOT__JNDI,
true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetJNDI(DataSourceJndi newJNDI, NotificationChain msgs) {
+ return
((FeatureMap.Internal)getMixed()).basicAdd(DatasourcePackage.Literals.DATA_SOURCE_DOCUMENT_ROOT__JNDI,
newJNDI, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setJNDI(DataSourceJndi newJNDI) {
+ ((FeatureMap.Internal)getMixed()).set(DatasourcePackage.Literals.DATA_SOURCE_DOCUMENT_ROOT__JNDI,
newJNDI);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID,
NotificationChain msgs) {
+ switch (featureID) {
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__MIXED:
+ return ((InternalEList<?>)getMixed()).basicRemove(otherEnd, msgs);
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return ((InternalEList<?>)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return ((InternalEList<?>)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__DIRECT:
+ return basicSetDirect(null, msgs);
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__JNDI:
+ return basicSetJNDI(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__MIXED:
+ if (coreType) return getMixed();
+ return ((FeatureMap.Internal)getMixed()).getWrapper();
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ if (coreType) return getXMLNSPrefixMap();
+ else return getXMLNSPrefixMap().map();
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ if (coreType) return getXSISchemaLocation();
+ else return getXSISchemaLocation().map();
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__DIRECT:
+ return getDirect();
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__JNDI:
+ return getJNDI();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__MIXED:
+ ((FeatureMap.Internal)getMixed()).set(newValue);
+ return;
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
+ return;
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
+ return;
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__DIRECT:
+ setDirect((Direct)newValue);
+ return;
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__JNDI:
+ setJNDI((DataSourceJndi)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__MIXED:
+ getMixed().clear();
+ return;
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ getXMLNSPrefixMap().clear();
+ return;
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ getXSISchemaLocation().clear();
+ return;
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__DIRECT:
+ setDirect((Direct)null);
+ return;
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__JNDI:
+ setJNDI((DataSourceJndi)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__MIXED:
+ return mixed != null && !mixed.isEmpty();
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__DIRECT:
+ return getDirect() != null;
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__JNDI:
+ return getJNDI() != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (mixed: ");
+ result.append(mixed);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DataSourceDocumentRootImpl
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DataSourceDocumentRootImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DataSourceJndiImpl.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DataSourceJndiImpl.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DataSourceJndiImpl.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,307 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.jboss.tools.smooks.model.datasource.DataSourceJndi;
+import org.jboss.tools.smooks.model.datasource.DatasourcePackage;
+import org.jboss.tools.smooks.model.smooks.impl.ElementVisitorImpl;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Data Source
Jndi</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link
org.jboss.tools.smooks.model.datasource.impl.DataSourceJndiImpl#isAutoCommit
<em>Auto Commit</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.datasource.impl.DataSourceJndiImpl#getBindOnElement
<em>Bind On Element</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.datasource.impl.DataSourceJndiImpl#getDatasource
<em>Datasource</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DataSourceJndiImpl extends ElementVisitorImpl implements DataSourceJndi {
+ /**
+ * The default value of the '{@link #isAutoCommit() <em>Auto
Commit</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isAutoCommit()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean AUTO_COMMIT_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isAutoCommit() <em>Auto
Commit</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isAutoCommit()
+ * @generated
+ * @ordered
+ */
+ protected boolean autoCommit = AUTO_COMMIT_EDEFAULT;
+
+ /**
+ * This is true if the Auto Commit attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean autoCommitESet;
+
+ /**
+ * The default value of the '{@link #getBindOnElement() <em>Bind On
Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBindOnElement()
+ * @generated
+ * @ordered
+ */
+ protected static final String BIND_ON_ELEMENT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getBindOnElement() <em>Bind On
Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBindOnElement()
+ * @generated
+ * @ordered
+ */
+ protected String bindOnElement = BIND_ON_ELEMENT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDatasource()
<em>Datasource</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDatasource()
+ * @generated
+ * @ordered
+ */
+ protected static final String DATASOURCE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDatasource()
<em>Datasource</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDatasource()
+ * @generated
+ * @ordered
+ */
+ protected String datasource = DATASOURCE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DataSourceJndiImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DatasourcePackage.Literals.DATA_SOURCE_JNDI;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isAutoCommit() {
+ return autoCommit;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAutoCommit(boolean newAutoCommit) {
+ boolean oldAutoCommit = autoCommit;
+ autoCommit = newAutoCommit;
+ boolean oldAutoCommitESet = autoCommitESet;
+ autoCommitESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
DatasourcePackage.DATA_SOURCE_JNDI__AUTO_COMMIT, oldAutoCommit, autoCommit,
!oldAutoCommitESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAutoCommit() {
+ boolean oldAutoCommit = autoCommit;
+ boolean oldAutoCommitESet = autoCommitESet;
+ autoCommit = AUTO_COMMIT_EDEFAULT;
+ autoCommitESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET,
DatasourcePackage.DATA_SOURCE_JNDI__AUTO_COMMIT, oldAutoCommit, AUTO_COMMIT_EDEFAULT,
oldAutoCommitESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAutoCommit() {
+ return autoCommitESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getBindOnElement() {
+ return bindOnElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBindOnElement(String newBindOnElement) {
+ String oldBindOnElement = bindOnElement;
+ bindOnElement = newBindOnElement;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
DatasourcePackage.DATA_SOURCE_JNDI__BIND_ON_ELEMENT, oldBindOnElement, bindOnElement));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDatasource() {
+ return datasource;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDatasource(String newDatasource) {
+ String oldDatasource = datasource;
+ datasource = newDatasource;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
DatasourcePackage.DATA_SOURCE_JNDI__DATASOURCE, oldDatasource, datasource));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DatasourcePackage.DATA_SOURCE_JNDI__AUTO_COMMIT:
+ return isAutoCommit() ? Boolean.TRUE : Boolean.FALSE;
+ case DatasourcePackage.DATA_SOURCE_JNDI__BIND_ON_ELEMENT:
+ return getBindOnElement();
+ case DatasourcePackage.DATA_SOURCE_JNDI__DATASOURCE:
+ return getDatasource();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DatasourcePackage.DATA_SOURCE_JNDI__AUTO_COMMIT:
+ setAutoCommit(((Boolean)newValue).booleanValue());
+ return;
+ case DatasourcePackage.DATA_SOURCE_JNDI__BIND_ON_ELEMENT:
+ setBindOnElement((String)newValue);
+ return;
+ case DatasourcePackage.DATA_SOURCE_JNDI__DATASOURCE:
+ setDatasource((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DatasourcePackage.DATA_SOURCE_JNDI__AUTO_COMMIT:
+ unsetAutoCommit();
+ return;
+ case DatasourcePackage.DATA_SOURCE_JNDI__BIND_ON_ELEMENT:
+ setBindOnElement(BIND_ON_ELEMENT_EDEFAULT);
+ return;
+ case DatasourcePackage.DATA_SOURCE_JNDI__DATASOURCE:
+ setDatasource(DATASOURCE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DatasourcePackage.DATA_SOURCE_JNDI__AUTO_COMMIT:
+ return isSetAutoCommit();
+ case DatasourcePackage.DATA_SOURCE_JNDI__BIND_ON_ELEMENT:
+ return BIND_ON_ELEMENT_EDEFAULT == null ? bindOnElement != null :
!BIND_ON_ELEMENT_EDEFAULT.equals(bindOnElement);
+ case DatasourcePackage.DATA_SOURCE_JNDI__DATASOURCE:
+ return DATASOURCE_EDEFAULT == null ? datasource != null :
!DATASOURCE_EDEFAULT.equals(datasource);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (autoCommit: ");
+ if (autoCommitESet) result.append(autoCommit); else
result.append("<unset>");
+ result.append(", bindOnElement: ");
+ result.append(bindOnElement);
+ result.append(", datasource: ");
+ result.append(datasource);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DataSourceJndiImpl
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DataSourceJndiImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DatasourceFactoryImpl.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DatasourceFactoryImpl.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DatasourceFactoryImpl.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,123 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.impl;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+import org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot;
+import org.jboss.tools.smooks.model.datasource.DataSourceJndi;
+import org.jboss.tools.smooks.model.datasource.DatasourceFactory;
+import org.jboss.tools.smooks.model.datasource.DatasourcePackage;
+import org.jboss.tools.smooks.model.datasource.Direct;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DatasourceFactoryImpl extends EFactoryImpl implements DatasourceFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static DatasourceFactory init() {
+ try {
+ DatasourceFactory theDatasourceFactory =
(
DatasourceFactory)EPackage.Registry.INSTANCE.getEFactory("http://www...);
+ if (theDatasourceFactory != null) {
+ return theDatasourceFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new DatasourceFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatasourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case DatasourcePackage.DIRECT: return createDirect();
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT: return
createDataSourceDocumentRoot();
+ case DatasourcePackage.DATA_SOURCE_JNDI: return createDataSourceJndi();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() +
"' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Direct createDirect() {
+ DirectImpl direct = new DirectImpl();
+ return direct;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataSourceDocumentRoot createDataSourceDocumentRoot() {
+ DataSourceDocumentRootImpl dataSourceDocumentRoot = new DataSourceDocumentRootImpl();
+ return dataSourceDocumentRoot;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataSourceJndi createDataSourceJndi() {
+ DataSourceJndiImpl dataSourceJndi = new DataSourceJndiImpl();
+ return dataSourceJndi;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatasourcePackage getDatasourcePackage() {
+ return (DatasourcePackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static DatasourcePackage getPackage() {
+ return DatasourcePackage.eINSTANCE;
+ }
+
+} //DatasourceFactoryImpl
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DatasourceFactoryImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DatasourcePackageImpl.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DatasourcePackageImpl.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DatasourcePackageImpl.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,568 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.impl;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
+import org.jboss.tools.smooks.model.common.CommonPackage;
+import org.jboss.tools.smooks.model.common.impl.CommonPackageImpl;
+import org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot;
+import org.jboss.tools.smooks.model.datasource.DataSourceJndi;
+import org.jboss.tools.smooks.model.datasource.DatasourceFactory;
+import org.jboss.tools.smooks.model.datasource.DatasourcePackage;
+import org.jboss.tools.smooks.model.datasource.Direct;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+import org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DatasourcePackageImpl extends EPackageImpl implements DatasourcePackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass directEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dataSourceDocumentRootEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dataSourceJndiEClass = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * package URI value.
+ * <p>Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private DatasourcePackageImpl() {
+ super(eNS_URI, DatasourceFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this
+ * model, and for any others upon which it depends. Simple
+ * dependencies are satisfied by calling this method on all
+ * dependent packages before doing anything else. This method drives
+ * initialization for interdependent packages directly, in parallel
+ * with this package, itself.
+ * <p>Of this package and its interdependencies, all packages which
+ * have not yet been registered by their URI values are first created
+ * and registered. The packages are then initialized in two steps:
+ * meta-model objects for all of the packages are created before any
+ * are initialized, since one package's meta-model objects may refer to
+ * those of another.
+ * <p>Invocation of this method will not affect any packages that have
+ * already been initialized.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static DatasourcePackage init() {
+ if (isInited) return
(DatasourcePackage)EPackage.Registry.INSTANCE.getEPackage(DatasourcePackage.eNS_URI);
+
+ // Obtain or create and register package
+ DatasourcePackageImpl theDatasourcePackage =
(DatasourcePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof
DatasourcePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new
DatasourcePackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ XMLTypePackage.eINSTANCE.eClass();
+
+ // Obtain or create and register interdependencies
+ SmooksPackageImpl theSmooksPackage =
(SmooksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SmooksPackage.eNS_URI)
instanceof SmooksPackageImpl ?
EPackage.Registry.INSTANCE.getEPackage(SmooksPackage.eNS_URI) : SmooksPackage.eINSTANCE);
+ CommonPackageImpl theCommonPackage =
(CommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI)
instanceof CommonPackageImpl ?
EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) : CommonPackage.eINSTANCE);
+
+ // Create package meta-data objects
+ theDatasourcePackage.createPackageContents();
+ theSmooksPackage.createPackageContents();
+ theCommonPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theDatasourcePackage.initializePackageContents();
+ theSmooksPackage.initializePackageContents();
+ theCommonPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theDatasourcePackage.freeze();
+
+ return theDatasourcePackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDirect() {
+ return directEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDirect_AutoCommit() {
+ return (EAttribute)directEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDirect_BindOnElement() {
+ return (EAttribute)directEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDirect_BindOnElementNS() {
+ return (EAttribute)directEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDirect_Datasource() {
+ return (EAttribute)directEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDirect_Driver() {
+ return (EAttribute)directEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDirect_Password() {
+ return (EAttribute)directEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDirect_Url() {
+ return (EAttribute)directEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDirect_Username() {
+ return (EAttribute)directEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDataSourceDocumentRoot() {
+ return dataSourceDocumentRootEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDataSourceDocumentRoot_Mixed() {
+ return (EAttribute)dataSourceDocumentRootEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDataSourceDocumentRoot_XMLNSPrefixMap() {
+ return (EReference)dataSourceDocumentRootEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDataSourceDocumentRoot_XSISchemaLocation() {
+ return (EReference)dataSourceDocumentRootEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDataSourceDocumentRoot_Direct() {
+ return (EReference)dataSourceDocumentRootEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDataSourceDocumentRoot_JNDI() {
+ return (EReference)dataSourceDocumentRootEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDataSourceJndi() {
+ return dataSourceJndiEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDataSourceJndi_AutoCommit() {
+ return (EAttribute)dataSourceJndiEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDataSourceJndi_BindOnElement() {
+ return (EAttribute)dataSourceJndiEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDataSourceJndi_Datasource() {
+ return (EAttribute)dataSourceJndiEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatasourceFactory getDatasourceFactory() {
+ return (DatasourceFactory)getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void createPackageContents() {
+ if (isCreated) return;
+ isCreated = true;
+
+ // Create classes and their features
+ directEClass = createEClass(DIRECT);
+ createEAttribute(directEClass, DIRECT__AUTO_COMMIT);
+ createEAttribute(directEClass, DIRECT__BIND_ON_ELEMENT);
+ createEAttribute(directEClass, DIRECT__BIND_ON_ELEMENT_NS);
+ createEAttribute(directEClass, DIRECT__DATASOURCE);
+ createEAttribute(directEClass, DIRECT__DRIVER);
+ createEAttribute(directEClass, DIRECT__PASSWORD);
+ createEAttribute(directEClass, DIRECT__URL);
+ createEAttribute(directEClass, DIRECT__USERNAME);
+
+ dataSourceDocumentRootEClass = createEClass(DATA_SOURCE_DOCUMENT_ROOT);
+ createEAttribute(dataSourceDocumentRootEClass, DATA_SOURCE_DOCUMENT_ROOT__MIXED);
+ createEReference(dataSourceDocumentRootEClass,
DATA_SOURCE_DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ createEReference(dataSourceDocumentRootEClass,
DATA_SOURCE_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ createEReference(dataSourceDocumentRootEClass, DATA_SOURCE_DOCUMENT_ROOT__DIRECT);
+ createEReference(dataSourceDocumentRootEClass, DATA_SOURCE_DOCUMENT_ROOT__JNDI);
+
+ dataSourceJndiEClass = createEClass(DATA_SOURCE_JNDI);
+ createEAttribute(dataSourceJndiEClass, DATA_SOURCE_JNDI__AUTO_COMMIT);
+ createEAttribute(dataSourceJndiEClass, DATA_SOURCE_JNDI__BIND_ON_ELEMENT);
+ createEAttribute(dataSourceJndiEClass, DATA_SOURCE_JNDI__DATASOURCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void initializePackageContents() {
+ if (isInitialized) return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ SmooksPackage theSmooksPackage =
(SmooksPackage)EPackage.Registry.INSTANCE.getEPackage(SmooksPackage.eNS_URI);
+ XMLTypePackage theXMLTypePackage =
(XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ directEClass.getESuperTypes().add(theSmooksPackage.getElementVisitor());
+ dataSourceJndiEClass.getESuperTypes().add(theSmooksPackage.getElementVisitor());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(directEClass, Direct.class, "Direct", !IS_ABSTRACT, !IS_INTERFACE,
IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDirect_AutoCommit(), theXMLTypePackage.getBoolean(),
"autoCommit", null, 1, 1, Direct.class, !IS_TRANSIENT, !IS_VOLATILE,
IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDirect_BindOnElement(), theXMLTypePackage.getString(),
"bindOnElement", null, 1, 1, Direct.class, !IS_TRANSIENT, !IS_VOLATILE,
IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDirect_BindOnElementNS(), theXMLTypePackage.getString(),
"bindOnElementNS", null, 0, 1, Direct.class, !IS_TRANSIENT, !IS_VOLATILE,
IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDirect_Datasource(), theXMLTypePackage.getString(),
"datasource", null, 1, 1, Direct.class, !IS_TRANSIENT, !IS_VOLATILE,
IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDirect_Driver(), theXMLTypePackage.getString(), "driver",
null, 1, 1, Direct.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDirect_Password(), theXMLTypePackage.getString(),
"password", null, 1, 1, Direct.class, !IS_TRANSIENT, !IS_VOLATILE,
IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDirect_Url(), theXMLTypePackage.getAnyURI(), "url", null,
1, 1, Direct.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDirect_Username(), theXMLTypePackage.getString(),
"username", null, 1, 1, Direct.class, !IS_TRANSIENT, !IS_VOLATILE,
IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(dataSourceDocumentRootEClass, DataSourceDocumentRoot.class,
"DataSourceDocumentRoot", !IS_ABSTRACT, !IS_INTERFACE,
IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDataSourceDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(),
"mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
!IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDataSourceDocumentRoot_XMLNSPrefixMap(),
ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1,
null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDataSourceDocumentRoot_XSISchemaLocation(),
ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0,
-1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDataSourceDocumentRoot_Direct(), this.getDirect(), null,
"direct", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE,
IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDataSourceDocumentRoot_JNDI(), this.getDataSourceJndi(), null,
"jNDI", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE,
IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+
+ initEClass(dataSourceJndiEClass, DataSourceJndi.class, "DataSourceJndi",
!IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDataSourceJndi_AutoCommit(), theXMLTypePackage.getBoolean(),
"autoCommit", null, 1, 1, DataSourceJndi.class, !IS_TRANSIENT, !IS_VOLATILE,
IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDataSourceJndi_BindOnElement(), theXMLTypePackage.getString(),
"bindOnElement", null, 1, 1, DataSourceJndi.class, !IS_TRANSIENT, !IS_VOLATILE,
IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDataSourceJndi_Datasource(), theXMLTypePackage.getString(),
"datasource", null, 1, 1, DataSourceJndi.class, !IS_TRANSIENT, !IS_VOLATILE,
IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ // Create resource
+ createResource(eNS_URI);
+
+ // Create annotations
+ // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
+ createExtendedMetaDataAnnotations();
+ }
+
+ /**
+ * Initializes the annotations for
<b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void createExtendedMetaDataAnnotations() {
+ String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
+ addAnnotation
+ (directEClass,
+ source,
+ new String[] {
+ "name", "direct",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getDirect_AutoCommit(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "autoCommit"
+ });
+ addAnnotation
+ (getDirect_BindOnElement(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "bindOnElement"
+ });
+ addAnnotation
+ (getDirect_BindOnElementNS(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "bindOnElementNS"
+ });
+ addAnnotation
+ (getDirect_Datasource(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "datasource"
+ });
+ addAnnotation
+ (getDirect_Driver(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "driver"
+ });
+ addAnnotation
+ (getDirect_Password(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "password"
+ });
+ addAnnotation
+ (getDirect_Url(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "url"
+ });
+ addAnnotation
+ (getDirect_Username(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "username"
+ });
+ addAnnotation
+ (dataSourceDocumentRootEClass,
+ source,
+ new String[] {
+ "name", "",
+ "kind", "mixed"
+ });
+ addAnnotation
+ (getDataSourceDocumentRoot_Mixed(),
+ source,
+ new String[] {
+ "kind", "elementWildcard",
+ "name", ":mixed"
+ });
+ addAnnotation
+ (getDataSourceDocumentRoot_XMLNSPrefixMap(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xmlns:prefix"
+ });
+ addAnnotation
+ (getDataSourceDocumentRoot_XSISchemaLocation(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xsi:schemaLocation"
+ });
+ addAnnotation
+ (getDataSourceDocumentRoot_Direct(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "direct",
+ "namespace", "##targetNamespace",
+ "affiliation",
"http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"
+ });
+ addAnnotation
+ (getDataSourceDocumentRoot_JNDI(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "JNDI",
+ "namespace", "##targetNamespace",
+ "affiliation",
"http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"
+ });
+ addAnnotation
+ (dataSourceJndiEClass,
+ source,
+ new String[] {
+ "name", "Jndi",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getDataSourceJndi_AutoCommit(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "autoCommit"
+ });
+ addAnnotation
+ (getDataSourceJndi_BindOnElement(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "bindOnElement"
+ });
+ addAnnotation
+ (getDataSourceJndi_Datasource(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "datasource"
+ });
+ }
+
+} //DatasourcePackageImpl
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DatasourcePackageImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DirectImpl.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DirectImpl.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DirectImpl.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,577 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.jboss.tools.smooks.model.datasource.DatasourcePackage;
+import org.jboss.tools.smooks.model.datasource.Direct;
+import org.jboss.tools.smooks.model.smooks.impl.ElementVisitorImpl;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object
'<em><b>Direct</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link
org.jboss.tools.smooks.model.datasource.impl.DirectImpl#isAutoCommit <em>Auto
Commit</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.datasource.impl.DirectImpl#getBindOnElement <em>Bind On
Element</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.datasource.impl.DirectImpl#getBindOnElementNS <em>Bind
On Element NS</em>}</li>
+ * <li>{@link
org.jboss.tools.smooks.model.datasource.impl.DirectImpl#getDatasource
<em>Datasource</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.impl.DirectImpl#getDriver
<em>Driver</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.impl.DirectImpl#getPassword
<em>Password</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.impl.DirectImpl#getUrl
<em>Url</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.impl.DirectImpl#getUsername
<em>Username</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DirectImpl extends ElementVisitorImpl implements Direct {
+ /**
+ * The default value of the '{@link #isAutoCommit() <em>Auto
Commit</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isAutoCommit()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean AUTO_COMMIT_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isAutoCommit() <em>Auto
Commit</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isAutoCommit()
+ * @generated
+ * @ordered
+ */
+ protected boolean autoCommit = AUTO_COMMIT_EDEFAULT;
+
+ /**
+ * This is true if the Auto Commit attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean autoCommitESet;
+
+ /**
+ * The default value of the '{@link #getBindOnElement() <em>Bind On
Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBindOnElement()
+ * @generated
+ * @ordered
+ */
+ protected static final String BIND_ON_ELEMENT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getBindOnElement() <em>Bind On
Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBindOnElement()
+ * @generated
+ * @ordered
+ */
+ protected String bindOnElement = BIND_ON_ELEMENT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getBindOnElementNS() <em>Bind On Element
NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBindOnElementNS()
+ * @generated
+ * @ordered
+ */
+ protected static final String BIND_ON_ELEMENT_NS_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getBindOnElementNS() <em>Bind On Element
NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBindOnElementNS()
+ * @generated
+ * @ordered
+ */
+ protected String bindOnElementNS = BIND_ON_ELEMENT_NS_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDatasource()
<em>Datasource</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDatasource()
+ * @generated
+ * @ordered
+ */
+ protected static final String DATASOURCE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDatasource()
<em>Datasource</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDatasource()
+ * @generated
+ * @ordered
+ */
+ protected String datasource = DATASOURCE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDriver() <em>Driver</em>}'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDriver()
+ * @generated
+ * @ordered
+ */
+ protected static final String DRIVER_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDriver() <em>Driver</em>}'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDriver()
+ * @generated
+ * @ordered
+ */
+ protected String driver = DRIVER_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPassword()
<em>Password</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPassword()
+ * @generated
+ * @ordered
+ */
+ protected static final String PASSWORD_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getPassword()
<em>Password</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPassword()
+ * @generated
+ * @ordered
+ */
+ protected String password = PASSWORD_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getUrl() <em>Url</em>}'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUrl()
+ * @generated
+ * @ordered
+ */
+ protected static final String URL_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getUrl() <em>Url</em>}'
attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUrl()
+ * @generated
+ * @ordered
+ */
+ protected String url = URL_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getUsername()
<em>Username</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUsername()
+ * @generated
+ * @ordered
+ */
+ protected static final String USERNAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getUsername()
<em>Username</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUsername()
+ * @generated
+ * @ordered
+ */
+ protected String username = USERNAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DirectImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DatasourcePackage.Literals.DIRECT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isAutoCommit() {
+ return autoCommit;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAutoCommit(boolean newAutoCommit) {
+ boolean oldAutoCommit = autoCommit;
+ autoCommit = newAutoCommit;
+ boolean oldAutoCommitESet = autoCommitESet;
+ autoCommitESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
DatasourcePackage.DIRECT__AUTO_COMMIT, oldAutoCommit, autoCommit, !oldAutoCommitESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAutoCommit() {
+ boolean oldAutoCommit = autoCommit;
+ boolean oldAutoCommitESet = autoCommitESet;
+ autoCommit = AUTO_COMMIT_EDEFAULT;
+ autoCommitESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET,
DatasourcePackage.DIRECT__AUTO_COMMIT, oldAutoCommit, AUTO_COMMIT_EDEFAULT,
oldAutoCommitESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAutoCommit() {
+ return autoCommitESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getBindOnElement() {
+ return bindOnElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBindOnElement(String newBindOnElement) {
+ String oldBindOnElement = bindOnElement;
+ bindOnElement = newBindOnElement;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
DatasourcePackage.DIRECT__BIND_ON_ELEMENT, oldBindOnElement, bindOnElement));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getBindOnElementNS() {
+ return bindOnElementNS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBindOnElementNS(String newBindOnElementNS) {
+ String oldBindOnElementNS = bindOnElementNS;
+ bindOnElementNS = newBindOnElementNS;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
DatasourcePackage.DIRECT__BIND_ON_ELEMENT_NS, oldBindOnElementNS, bindOnElementNS));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDatasource() {
+ return datasource;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDatasource(String newDatasource) {
+ String oldDatasource = datasource;
+ datasource = newDatasource;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
DatasourcePackage.DIRECT__DATASOURCE, oldDatasource, datasource));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDriver() {
+ return driver;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDriver(String newDriver) {
+ String oldDriver = driver;
+ driver = newDriver;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
DatasourcePackage.DIRECT__DRIVER, oldDriver, driver));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getPassword() {
+ return password;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPassword(String newPassword) {
+ String oldPassword = password;
+ password = newPassword;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
DatasourcePackage.DIRECT__PASSWORD, oldPassword, password));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getUrl() {
+ return url;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUrl(String newUrl) {
+ String oldUrl = url;
+ url = newUrl;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatasourcePackage.DIRECT__URL,
oldUrl, url));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getUsername() {
+ return username;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUsername(String newUsername) {
+ String oldUsername = username;
+ username = newUsername;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
DatasourcePackage.DIRECT__USERNAME, oldUsername, username));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DatasourcePackage.DIRECT__AUTO_COMMIT:
+ return isAutoCommit() ? Boolean.TRUE : Boolean.FALSE;
+ case DatasourcePackage.DIRECT__BIND_ON_ELEMENT:
+ return getBindOnElement();
+ case DatasourcePackage.DIRECT__BIND_ON_ELEMENT_NS:
+ return getBindOnElementNS();
+ case DatasourcePackage.DIRECT__DATASOURCE:
+ return getDatasource();
+ case DatasourcePackage.DIRECT__DRIVER:
+ return getDriver();
+ case DatasourcePackage.DIRECT__PASSWORD:
+ return getPassword();
+ case DatasourcePackage.DIRECT__URL:
+ return getUrl();
+ case DatasourcePackage.DIRECT__USERNAME:
+ return getUsername();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DatasourcePackage.DIRECT__AUTO_COMMIT:
+ setAutoCommit(((Boolean)newValue).booleanValue());
+ return;
+ case DatasourcePackage.DIRECT__BIND_ON_ELEMENT:
+ setBindOnElement((String)newValue);
+ return;
+ case DatasourcePackage.DIRECT__BIND_ON_ELEMENT_NS:
+ setBindOnElementNS((String)newValue);
+ return;
+ case DatasourcePackage.DIRECT__DATASOURCE:
+ setDatasource((String)newValue);
+ return;
+ case DatasourcePackage.DIRECT__DRIVER:
+ setDriver((String)newValue);
+ return;
+ case DatasourcePackage.DIRECT__PASSWORD:
+ setPassword((String)newValue);
+ return;
+ case DatasourcePackage.DIRECT__URL:
+ setUrl((String)newValue);
+ return;
+ case DatasourcePackage.DIRECT__USERNAME:
+ setUsername((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DatasourcePackage.DIRECT__AUTO_COMMIT:
+ unsetAutoCommit();
+ return;
+ case DatasourcePackage.DIRECT__BIND_ON_ELEMENT:
+ setBindOnElement(BIND_ON_ELEMENT_EDEFAULT);
+ return;
+ case DatasourcePackage.DIRECT__BIND_ON_ELEMENT_NS:
+ setBindOnElementNS(BIND_ON_ELEMENT_NS_EDEFAULT);
+ return;
+ case DatasourcePackage.DIRECT__DATASOURCE:
+ setDatasource(DATASOURCE_EDEFAULT);
+ return;
+ case DatasourcePackage.DIRECT__DRIVER:
+ setDriver(DRIVER_EDEFAULT);
+ return;
+ case DatasourcePackage.DIRECT__PASSWORD:
+ setPassword(PASSWORD_EDEFAULT);
+ return;
+ case DatasourcePackage.DIRECT__URL:
+ setUrl(URL_EDEFAULT);
+ return;
+ case DatasourcePackage.DIRECT__USERNAME:
+ setUsername(USERNAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DatasourcePackage.DIRECT__AUTO_COMMIT:
+ return isSetAutoCommit();
+ case DatasourcePackage.DIRECT__BIND_ON_ELEMENT:
+ return BIND_ON_ELEMENT_EDEFAULT == null ? bindOnElement != null :
!BIND_ON_ELEMENT_EDEFAULT.equals(bindOnElement);
+ case DatasourcePackage.DIRECT__BIND_ON_ELEMENT_NS:
+ return BIND_ON_ELEMENT_NS_EDEFAULT == null ? bindOnElementNS != null :
!BIND_ON_ELEMENT_NS_EDEFAULT.equals(bindOnElementNS);
+ case DatasourcePackage.DIRECT__DATASOURCE:
+ return DATASOURCE_EDEFAULT == null ? datasource != null :
!DATASOURCE_EDEFAULT.equals(datasource);
+ case DatasourcePackage.DIRECT__DRIVER:
+ return DRIVER_EDEFAULT == null ? driver != null : !DRIVER_EDEFAULT.equals(driver);
+ case DatasourcePackage.DIRECT__PASSWORD:
+ return PASSWORD_EDEFAULT == null ? password != null :
!PASSWORD_EDEFAULT.equals(password);
+ case DatasourcePackage.DIRECT__URL:
+ return URL_EDEFAULT == null ? url != null : !URL_EDEFAULT.equals(url);
+ case DatasourcePackage.DIRECT__USERNAME:
+ return USERNAME_EDEFAULT == null ? username != null :
!USERNAME_EDEFAULT.equals(username);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (autoCommit: ");
+ if (autoCommitESet) result.append(autoCommit); else
result.append("<unset>");
+ result.append(", bindOnElement: ");
+ result.append(bindOnElement);
+ result.append(", bindOnElementNS: ");
+ result.append(bindOnElementNS);
+ result.append(", datasource: ");
+ result.append(datasource);
+ result.append(", driver: ");
+ result.append(driver);
+ result.append(", password: ");
+ result.append(password);
+ result.append(", url: ");
+ result.append(url);
+ result.append(", username: ");
+ result.append(username);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DirectImpl
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DirectImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DataSourceDocumentRootItemProvider.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DataSourceDocumentRootItemProvider.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DataSourceDocumentRootItemProvider.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,178 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.provider;
+
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemProviderAdapter;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+import org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot;
+import org.jboss.tools.smooks.model.datasource.DatasourceFactory;
+import org.jboss.tools.smooks.model.datasource.DatasourcePackage;
+
+/**
+ * This is the item provider adapter for a {@link
org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DataSourceDocumentRootItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataSourceDocumentRootItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an
appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link
org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object)
{
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(DatasourcePackage.Literals.DATA_SOURCE_DOCUMENT_ROOT__DIRECT);
+ childrenFeatures.add(DatasourcePackage.Literals.DATA_SOURCE_DOCUMENT_ROOT__JNDI);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use
for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns DataSourceDocumentRoot.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object,
getResourceLocator().getImage("full/obj16/DataSourceDocumentRoot"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_DataSourceDocumentRoot_type");
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any
cached
+ * children and by creating a viewer notification, which it passes to {@link
#fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(DataSourceDocumentRoot.class)) {
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__DIRECT:
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__JNDI:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(),
true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the
children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors,
Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (DatasourcePackage.Literals.DATA_SOURCE_DOCUMENT_ROOT__DIRECT,
+ DatasourceFactory.eINSTANCE.createDirect()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (DatasourcePackage.Literals.DATA_SOURCE_DOCUMENT_ROOT__JNDI,
+ DatasourceFactory.eINSTANCE.createDataSourceJndi()));
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return Datasource1EditPlugin.INSTANCE;
+ }
+
+}
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DataSourceDocumentRootItemProvider.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DataSourceJndiItemProvider.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DataSourceJndiItemProvider.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DataSourceJndiItemProvider.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,207 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.ResourceLocator;
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+import org.jboss.tools.smooks.model.datasource.DataSourceJndi;
+import org.jboss.tools.smooks.model.datasource.DatasourcePackage;
+import org.jboss.tools.smooks.model.smooks.provider.ElementVisitorItemProvider;
+
+
+/**
+ * This is the item provider adapter for a {@link
org.jboss.tools.smooks.model.datasource.DataSourceJndi} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DataSourceJndiItemProvider
+ extends ElementVisitorItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataSourceJndiItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addAutoCommitPropertyDescriptor(object);
+ addBindOnElementPropertyDescriptor(object);
+ addDatasourcePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Auto Commit feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addAutoCommitPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DataSourceJndi_autoCommit_feature"),
+ getString("_UI_PropertyDescriptor_description",
"_UI_DataSourceJndi_autoCommit_feature", "_UI_DataSourceJndi_type"),
+ DatasourcePackage.Literals.DATA_SOURCE_JNDI__AUTO_COMMIT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Bind On Element feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addBindOnElementPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DataSourceJndi_bindOnElement_feature"),
+ getString("_UI_PropertyDescriptor_description",
"_UI_DataSourceJndi_bindOnElement_feature",
"_UI_DataSourceJndi_type"),
+ DatasourcePackage.Literals.DATA_SOURCE_JNDI__BIND_ON_ELEMENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Datasource feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addDatasourcePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DataSourceJndi_datasource_feature"),
+ getString("_UI_PropertyDescriptor_description",
"_UI_DataSourceJndi_datasource_feature", "_UI_DataSourceJndi_type"),
+ DatasourcePackage.Literals.DATA_SOURCE_JNDI__DATASOURCE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns DataSourceJndi.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object,
getResourceLocator().getImage("full/obj16/DataSourceJndi"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((DataSourceJndi)object).getTargetProfile();
+ return label == null || label.length() == 0 ?
+ getString("_UI_DataSourceJndi_type") :
+ getString("_UI_DataSourceJndi_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any
cached
+ * children and by creating a viewer notification, which it passes to {@link
#fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(DataSourceJndi.class)) {
+ case DatasourcePackage.DATA_SOURCE_JNDI__AUTO_COMMIT:
+ case DatasourcePackage.DATA_SOURCE_JNDI__BIND_ON_ELEMENT:
+ case DatasourcePackage.DATA_SOURCE_JNDI__DATASOURCE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(),
false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the
children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors,
Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return Datasource1EditPlugin.INSTANCE;
+ }
+
+}
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DataSourceJndiItemProvider.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/Datasource1EditPlugin.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/Datasource1EditPlugin.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/Datasource1EditPlugin.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,93 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.provider;
+
+import org.eclipse.emf.common.EMFPlugin;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+/**
+ * This is the central singleton for the Datasource-1 edit plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public final class Datasource1EditPlugin extends EMFPlugin {
+ /**
+ * Keep track of the singleton.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final Datasource1EditPlugin INSTANCE = new Datasource1EditPlugin();
+
+ /**
+ * Keep track of the singleton.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static Implementation plugin;
+
+ /**
+ * Create the instance.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Datasource1EditPlugin() {
+ super
+ (new ResourceLocator [] {
+ });
+ }
+
+ /**
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the singleton instance.
+ * @generated
+ */
+ @Override
+ public ResourceLocator getPluginResourceLocator() {
+ return plugin;
+ }
+
+ /**
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the singleton instance.
+ * @generated
+ */
+ public static Implementation getPlugin() {
+ return plugin;
+ }
+
+ /**
+ * The actual implementation of the Eclipse <b>Plugin</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static class Implementation extends EclipsePlugin {
+ /**
+ * Creates an instance.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Implementation() {
+ super();
+
+ // Remember the static instance.
+ //
+ plugin = this;
+ }
+ }
+
+}
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/Datasource1EditPlugin.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DatasourceItemProviderAdapterFactory.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DatasourceItemProviderAdapterFactory.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DatasourceItemProviderAdapterFactory.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,250 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.provider;
+
+import java.util.ArrayList;
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.Notifier;
+import org.eclipse.emf.edit.provider.ChangeNotifier;
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
+import org.eclipse.emf.edit.provider.IChangeNotifier;
+import org.eclipse.emf.edit.provider.IDisposable;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.INotifyChangedListener;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.jboss.tools.smooks.model.datasource.util.DatasourceAdapterFactory;
+
+
+/**
+ * This is the factory that is used to provide the interfaces needed to support Viewers.
+ * The adapters generated by this factory convert EMF adapter notifications into calls to
{@link #fireNotifyChanged fireNotifyChanged}.
+ * The adapters also support Eclipse property sheets.
+ * Note that most of the adapters are shared among multiple instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DatasourceItemProviderAdapterFactory extends DatasourceAdapterFactory
implements ComposeableAdapterFactory, IChangeNotifier, IDisposable {
+ /**
+ * This keeps track of the root adapter factory that delegates to this adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ComposedAdapterFactory parentAdapterFactory;
+
+ /**
+ * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IChangeNotifier changeNotifier = new ChangeNotifier();
+
+ /**
+ * This keeps track of all the supported types checked by {@link #isFactoryForType
isFactoryForType}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected Collection<Object> supportedTypes = new ArrayList<Object>();
+
+ /**
+ * This constructs an instance.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatasourceItemProviderAdapterFactory() {
+ supportedTypes.add(IEditingDomainItemProvider.class);
+ supportedTypes.add(IStructuredItemContentProvider.class);
+ supportedTypes.add(ITreeItemContentProvider.class);
+ supportedTypes.add(IItemLabelProvider.class);
+ supportedTypes.add(IItemPropertySource.class);
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link
org.jboss.tools.smooks.model.datasource.Direct} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DirectItemProvider directItemProvider;
+
+ /**
+ * This creates an adapter for a {@link
org.jboss.tools.smooks.model.datasource.Direct}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createDirectAdapter() {
+ if (directItemProvider == null) {
+ directItemProvider = new DirectItemProvider(this);
+ }
+
+ return directItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link
org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DataSourceDocumentRootItemProvider dataSourceDocumentRootItemProvider;
+
+ /**
+ * This creates an adapter for a {@link
org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createDataSourceDocumentRootAdapter() {
+ if (dataSourceDocumentRootItemProvider == null) {
+ dataSourceDocumentRootItemProvider = new DataSourceDocumentRootItemProvider(this);
+ }
+
+ return dataSourceDocumentRootItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link
org.jboss.tools.smooks.model.datasource.DataSourceJndi} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DataSourceJndiItemProvider dataSourceJndiItemProvider;
+
+ /**
+ * This creates an adapter for a {@link
org.jboss.tools.smooks.model.datasource.DataSourceJndi}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createDataSourceJndiAdapter() {
+ if (dataSourceJndiItemProvider == null) {
+ dataSourceJndiItemProvider = new DataSourceJndiItemProvider(this);
+ }
+
+ return dataSourceJndiItemProvider;
+ }
+
+ /**
+ * This returns the root adapter factory that contains this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ComposeableAdapterFactory getRootAdapterFactory() {
+ return parentAdapterFactory == null ? this :
parentAdapterFactory.getRootAdapterFactory();
+ }
+
+ /**
+ * This sets the composed adapter factory that contains this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) {
+ this.parentAdapterFactory = parentAdapterFactory;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object type) {
+ return supportedTypes.contains(type) || super.isFactoryForType(type);
+ }
+
+ /**
+ * This implementation substitutes the factory itself as the key for the adapter.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter adapt(Notifier notifier, Object type) {
+ return super.adapt(notifier, this);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object adapt(Object object, Object type) {
+ if (isFactoryForType(type)) {
+ Object adapter = super.adapt(object, type);
+ if (!(type instanceof Class) || (((Class<?>)type).isInstance(adapter))) {
+ return adapter;
+ }
+ }
+
+ return null;
+ }
+
+ /**
+ * This adds a listener.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void addListener(INotifyChangedListener notifyChangedListener) {
+ changeNotifier.addListener(notifyChangedListener);
+ }
+
+ /**
+ * This removes a listener.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeListener(INotifyChangedListener notifyChangedListener) {
+ changeNotifier.removeListener(notifyChangedListener);
+ }
+
+ /**
+ * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void fireNotifyChanged(Notification notification) {
+ changeNotifier.fireNotifyChanged(notification);
+
+ if (parentAdapterFactory != null) {
+ parentAdapterFactory.fireNotifyChanged(notification);
+ }
+ }
+
+ /**
+ * This disposes all of the item providers created by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void dispose() {
+ if (directItemProvider != null) directItemProvider.dispose();
+ if (dataSourceDocumentRootItemProvider != null)
dataSourceDocumentRootItemProvider.dispose();
+ if (dataSourceJndiItemProvider != null) dataSourceJndiItemProvider.dispose();
+ }
+
+}
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DatasourceItemProviderAdapterFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DirectItemProvider.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DirectItemProvider.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DirectItemProvider.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,327 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.ResourceLocator;
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+import org.jboss.tools.smooks.model.datasource.DatasourcePackage;
+import org.jboss.tools.smooks.model.datasource.Direct;
+import org.jboss.tools.smooks.model.smooks.provider.ElementVisitorItemProvider;
+
+
+/**
+ * This is the item provider adapter for a {@link
org.jboss.tools.smooks.model.datasource.Direct} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DirectItemProvider
+ extends ElementVisitorItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DirectItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addAutoCommitPropertyDescriptor(object);
+ addBindOnElementPropertyDescriptor(object);
+ addBindOnElementNSPropertyDescriptor(object);
+ addDatasourcePropertyDescriptor(object);
+ addDriverPropertyDescriptor(object);
+ addPasswordPropertyDescriptor(object);
+ addUrlPropertyDescriptor(object);
+ addUsernamePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Auto Commit feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addAutoCommitPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Direct_autoCommit_feature"),
+ getString("_UI_PropertyDescriptor_description",
"_UI_Direct_autoCommit_feature", "_UI_Direct_type"),
+ DatasourcePackage.Literals.DIRECT__AUTO_COMMIT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Bind On Element feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addBindOnElementPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Direct_bindOnElement_feature"),
+ getString("_UI_PropertyDescriptor_description",
"_UI_Direct_bindOnElement_feature", "_UI_Direct_type"),
+ DatasourcePackage.Literals.DIRECT__BIND_ON_ELEMENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Bind On Element NS feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addBindOnElementNSPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Direct_bindOnElementNS_feature"),
+ getString("_UI_PropertyDescriptor_description",
"_UI_Direct_bindOnElementNS_feature", "_UI_Direct_type"),
+ DatasourcePackage.Literals.DIRECT__BIND_ON_ELEMENT_NS,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Datasource feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addDatasourcePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Direct_datasource_feature"),
+ getString("_UI_PropertyDescriptor_description",
"_UI_Direct_datasource_feature", "_UI_Direct_type"),
+ DatasourcePackage.Literals.DIRECT__DATASOURCE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Driver feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addDriverPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Direct_driver_feature"),
+ getString("_UI_PropertyDescriptor_description",
"_UI_Direct_driver_feature", "_UI_Direct_type"),
+ DatasourcePackage.Literals.DIRECT__DRIVER,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Password feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addPasswordPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Direct_password_feature"),
+ getString("_UI_PropertyDescriptor_description",
"_UI_Direct_password_feature", "_UI_Direct_type"),
+ DatasourcePackage.Literals.DIRECT__PASSWORD,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Url feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addUrlPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Direct_url_feature"),
+ getString("_UI_PropertyDescriptor_description",
"_UI_Direct_url_feature", "_UI_Direct_type"),
+ DatasourcePackage.Literals.DIRECT__URL,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Username feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addUsernamePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Direct_username_feature"),
+ getString("_UI_PropertyDescriptor_description",
"_UI_Direct_username_feature", "_UI_Direct_type"),
+ DatasourcePackage.Literals.DIRECT__USERNAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns Direct.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object,
getResourceLocator().getImage("full/obj16/Direct"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((Direct)object).getUsername();
+ return label == null || label.length() == 0 ?
+ getString("_UI_Direct_type") :
+ getString("_UI_Direct_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any
cached
+ * children and by creating a viewer notification, which it passes to {@link
#fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(Direct.class)) {
+ case DatasourcePackage.DIRECT__AUTO_COMMIT:
+ case DatasourcePackage.DIRECT__BIND_ON_ELEMENT:
+ case DatasourcePackage.DIRECT__BIND_ON_ELEMENT_NS:
+ case DatasourcePackage.DIRECT__DATASOURCE:
+ case DatasourcePackage.DIRECT__DRIVER:
+ case DatasourcePackage.DIRECT__PASSWORD:
+ case DatasourcePackage.DIRECT__URL:
+ case DatasourcePackage.DIRECT__USERNAME:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(),
false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the
children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors,
Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return Datasource1EditPlugin.INSTANCE;
+ }
+
+}
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DirectItemProvider.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceAdapterFactory.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceAdapterFactory.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceAdapterFactory.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,237 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.util;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.xml.type.AnyType;
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+import org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot;
+import org.jboss.tools.smooks.model.datasource.DataSourceJndi;
+import org.jboss.tools.smooks.model.datasource.DatasourcePackage;
+import org.jboss.tools.smooks.model.datasource.Direct;
+import org.jboss.tools.smooks.model.smooks.AbstractResourceConfig;
+import org.jboss.tools.smooks.model.smooks.ElementVisitor;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the
model.
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage
+ * @generated
+ */
+public class DatasourceAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static DatasourcePackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatasourceAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = DatasourcePackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the
model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DatasourceSwitch<Adapter> modelSwitch =
+ new DatasourceSwitch<Adapter>() {
+ @Override
+ public Adapter caseDirect(Direct object) {
+ return createDirectAdapter();
+ }
+ @Override
+ public Adapter caseDataSourceDocumentRoot(DataSourceDocumentRoot object) {
+ return createDataSourceDocumentRootAdapter();
+ }
+ @Override
+ public Adapter caseDataSourceJndi(DataSourceJndi object) {
+ return createDataSourceJndiAdapter();
+ }
+ @Override
+ public Adapter caseAnyType(AnyType object) {
+ return createAnyTypeAdapter();
+ }
+ @Override
+ public Adapter caseAbstractAnyType(AbstractAnyType object) {
+ return createAbstractAnyTypeAdapter();
+ }
+ @Override
+ public Adapter caseAbstractResourceConfig(AbstractResourceConfig object) {
+ return createAbstractResourceConfigAdapter();
+ }
+ @Override
+ public Adapter caseElementVisitor(ElementVisitor object) {
+ return createElementVisitorAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link
org.jboss.tools.smooks.model.datasource.Direct <em>Direct</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.jboss.tools.smooks.model.datasource.Direct
+ * @generated
+ */
+ public Adapter createDirectAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link
org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot <em>Data Source
Document Root</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot
+ * @generated
+ */
+ public Adapter createDataSourceDocumentRootAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link
org.jboss.tools.smooks.model.datasource.DataSourceJndi <em>Data Source
Jndi</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.jboss.tools.smooks.model.datasource.DataSourceJndi
+ * @generated
+ */
+ public Adapter createDataSourceJndiAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link
org.eclipse.emf.ecore.xml.type.AnyType <em>Any Type</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.ecore.xml.type.AnyType
+ * @generated
+ */
+ public Adapter createAnyTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link common.AbstractAnyType
<em>Abstract Any Type</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see common.AbstractAnyType
+ * @generated
+ */
+ public Adapter createAbstractAnyTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link
smooks.AbstractResourceConfig <em>Abstract Resource Config</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see smooks.AbstractResourceConfig
+ * @generated
+ */
+ public Adapter createAbstractResourceConfigAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link smooks.ElementVisitor
<em>Element Visitor</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see smooks.ElementVisitor
+ * @generated
+ */
+ public Adapter createElementVisitorAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //DatasourceAdapterFactory
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceAdapterFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceResourceFactoryImpl.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceResourceFactoryImpl.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceResourceFactoryImpl.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,56 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
+
+import org.eclipse.emf.ecore.xmi.XMLResource;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource Factory</b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.datasource.util.DatasourceResourceImpl
+ * @generated
+ */
+public class DatasourceResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatasourceResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new DatasourceResourceImpl(uri);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA,
Boolean.TRUE);
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA,
Boolean.TRUE);
+
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE,
Boolean.TRUE);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE,
Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER,
Boolean.TRUE);
+ return result;
+ }
+
+} //DatasourceResourceFactoryImpl
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceResourceFactoryImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceResourceImpl.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceResourceImpl.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceResourceImpl.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,32 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource </b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.datasource.util.DatasourceResourceFactoryImpl
+ * @generated
+ */
+public class DatasourceResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public DatasourceResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //DatasourceResourceImpl
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceResourceImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceSwitch.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceSwitch.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceSwitch.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,247 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.util;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.xml.type.AnyType;
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+import org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot;
+import org.jboss.tools.smooks.model.datasource.DataSourceJndi;
+import org.jboss.tools.smooks.model.datasource.DatasourcePackage;
+import org.jboss.tools.smooks.model.datasource.Direct;
+import org.jboss.tools.smooks.model.smooks.AbstractResourceConfig;
+import org.jboss.tools.smooks.model.smooks.ElementVisitor;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage
+ * @generated
+ */
+public class DatasourceSwitch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static DatasourcePackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatasourceSwitch() {
+ if (modelPackage == null) {
+ modelPackage = DatasourcePackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns
a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code>
call.
+ * @generated
+ */
+ public T doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns
a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code>
call.
+ * @generated
+ */
+ protected T doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ }
+ else {
+ List<EClass> eSuperTypes = theEClass.getESuperTypes();
+ return
+ eSuperTypes.isEmpty() ?
+ defaultCase(theEObject) :
+ doSwitch(eSuperTypes.get(0), theEObject);
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns
a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code>
call.
+ * @generated
+ */
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case DatasourcePackage.DIRECT: {
+ Direct direct = (Direct)theEObject;
+ T result = caseDirect(direct);
+ if (result == null) result = caseElementVisitor(direct);
+ if (result == null) result = caseAbstractResourceConfig(direct);
+ if (result == null) result = caseAbstractAnyType(direct);
+ if (result == null) result = caseAnyType(direct);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT: {
+ DataSourceDocumentRoot dataSourceDocumentRoot = (DataSourceDocumentRoot)theEObject;
+ T result = caseDataSourceDocumentRoot(dataSourceDocumentRoot);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DatasourcePackage.DATA_SOURCE_JNDI: {
+ DataSourceJndi dataSourceJndi = (DataSourceJndi)theEObject;
+ T result = caseDataSourceJndi(dataSourceJndi);
+ if (result == null) result = caseElementVisitor(dataSourceJndi);
+ if (result == null) result = caseAbstractResourceConfig(dataSourceJndi);
+ if (result == null) result = caseAbstractAnyType(dataSourceJndi);
+ if (result == null) result = caseAnyType(dataSourceJndi);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of
'<em>Direct</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of
'<em>Direct</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDirect(Direct object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Data
Source Document Root</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Data
Source Document Root</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDataSourceDocumentRoot(DataSourceDocumentRoot object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Data
Source Jndi</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Data
Source Jndi</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDataSourceJndi(DataSourceJndi object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Any
Type</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Any
Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAnyType(AnyType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of
'<em>Abstract Any Type</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of
'<em>Abstract Any Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAbstractAnyType(AbstractAnyType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of
'<em>Abstract Resource Config</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of
'<em>Abstract Resource Config</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAbstractResourceConfig(AbstractResourceConfig object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of
'<em>Element Visitor</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of
'<em>Element Visitor</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseElementVisitor(ElementVisitor object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of
'<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case
anyway.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of
'<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //DatasourceSwitch
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceSwitch.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceXMLProcessor.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceXMLProcessor.java
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceXMLProcessor.java 2009-04-15
04:38:38 UTC (rev 14749)
@@ -0,0 +1,54 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.util;
+
+
+import java.util.Map;
+
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
+import org.jboss.tools.smooks.model.datasource.DatasourcePackage;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DatasourceXMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatasourceXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ DatasourcePackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the
DatasourceResourceFactoryImpl factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected Map<String, Resource.Factory> getRegistrations() {
+ if (registrations == null) {
+ super.getRegistrations();
+ registrations.put(XML_EXTENSION, new DatasourceResourceFactoryImpl());
+ registrations.put(STAR_EXTENSION, new DatasourceResourceFactoryImpl());
+ }
+ return registrations;
+ }
+
+} //DatasourceXMLProcessor
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceXMLProcessor.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain