Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2011-11-01 14:10:14 -0400
committerMartin Taal2011-11-01 14:10:14 -0400
commit709ec105b89258b5e6b27e57cb3deb177529c54c (patch)
tree436b7b45306590da29d24dfa9b6ad252c2a987d1 /examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations
parent0298896cf5731abb5e728ca6997fd2410d0a8f0f (diff)
downloadorg.eclipse.emf.teneo-709ec105b89258b5e6b27e57cb3deb177529c54c.tar.gz
org.eclipse.emf.teneo-709ec105b89258b5e6b27e57cb3deb177529c54c.tar.xz
org.eclipse.emf.teneo-709ec105b89258b5e6b27e57cb3deb177529c54c.zip
Remove everything for restructuring
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/AnyFactory.java64
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/AnyObject.java225
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/AnyPackage.java625
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/DocumentRoot.java171
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/GlobalObjectType.java84
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/impl/AnyFactoryImpl.java121
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/impl/AnyObjectImpl.java492
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/impl/AnyPackageImpl.java577
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/impl/DocumentRootImpl.java364
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/impl/GlobalObjectTypeImpl.java221
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/model/any.ecore156
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/model/any.genmodel32
-rwxr-xr-xexamples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/model/any.xsd71
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/util/AnyAdapterFactory.java160
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/util/AnyResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/util/AnyResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/util/AnySwitch.java172
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/util/AnyXMLProcessor.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Address.java83
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/AssociationoverrideFactory.java73
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/AssociationoverridePackage.java493
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Employee.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Person.java141
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Student.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AddressImpl.java221
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AssociationoverrideFactoryImpl.java132
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AssociationoverridePackageImpl.java455
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/EmployeeImpl.java166
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/PersonImpl.java336
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/StudentImpl.java166
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/AssociationOverride.genmodel26
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/AssociationOverride.xsd56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/associationoverride.ecore92
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/associationoverride.ecore_diagram103
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideAdapterFactory.java178
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideSwitch.java195
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/AddressValidator.java21
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/EmployeeValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/PersonValidator.java23
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/StudentValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/AttributeoverridesFactory.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/AttributeoverridesPackage.java305
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/City.java81
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/Person.java114
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/impl/AttributeoverridesFactoryImpl.java112
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/impl/AttributeoverridesPackageImpl.java284
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/impl/CityImpl.java218
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/impl/PersonImpl.java286
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/model/AttributeOverrides.ecore32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/model/AttributesOverrides.genmodel20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/model/library.mdl1129
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/util/AttributeoverridesAdapterFactory.java143
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/util/AttributeoverridesSwitch.java154
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/validation/CityValidator.java21
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/validation/PersonValidator.java23
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attroverridesecondarytable/Address.java135
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attroverridesecondarytable/AttroverridesecondarytableFactory.java82
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attroverridesecondarytable/AttroverridesecondarytablePackage.java599
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attroverridesecondarytable/Country.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attroverridesecondarytable/Employee.java80
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attroverridesecondarytable/NonEmployee.java53
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attroverridesecondarytable/Person.java81
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attroverridesecondarytable/impl/AddressImpl.java337
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attroverridesecondarytable/impl/AttroverridesecondarytableFactoryImpl.java143
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attroverridesecondarytable/impl/AttroverridesecondarytablePackageImpl.java424
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attroverridesecondarytable/impl/CountryImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attroverridesecondarytable/impl/EmployeeImpl.java227
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attroverridesecondarytable/impl/NonEmployeeImpl.java160
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attroverridesecondarytable/impl/PersonImpl.java221
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attroverridesecondarytable/model/overridesecondarytable.ecore48
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attroverridesecondarytable/model/overridesecondarytable.genmodel31
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attroverridesecondarytable/util/AttroverridesecondarytableAdapterFactory.java196
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attroverridesecondarytable/util/AttroverridesecondarytableSwitch.java216
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/basic/Basic.java141
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/basic/BasicFactory.java46
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/basic/BasicPackage.java209
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/basic/impl/BasicFactoryImpl.java99
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/basic/impl/BasicImpl.java306
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/basic/impl/BasicPackageImpl.java287
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/basic/impl/package.jdo19
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/basic/model/basic.ecore43
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/basic/model/basic.genmodel16
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/basic/model/basic.xsd26
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/basic/util/BasicAdapterFactory.java123
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/basic/util/BasicResourceFactoryImpl.java53
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/basic/util/BasicResourceImpl.java31
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/basic/util/BasicSwitch.java131
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/basic/util/BasicXMLProcessor.java50
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/basic/validation/BasicValidator.java22
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/Book.java199
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/BookCategory.java236
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/CascadenotallFactory.java64
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/CascadenotallPackage.java520
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/Library.java94
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/Writer.java77
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/impl/BookImpl.java459
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/impl/CascadenotallFactoryImpl.java194
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/impl/CascadenotallPackageImpl.java518
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/impl/LibraryImpl.java263
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/impl/WriterImpl.java241
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/impl/package.jdo73
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/model/cascadenotall.ecore111
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/model/library.genmodel32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/model/library.xsd50
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/util/CascadenotallAdapterFactory.java160
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/util/CascadenotallResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/util/CascadenotallResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/util/CascadenotallSwitch.java172
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/util/CascadenotallXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/validation/BookValidator.java25
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/validation/LibraryValidator.java26
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/cascadenotall/validation/WriterValidator.java24
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/column/Book.java172
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/column/ColumnFactory.java46
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/column/ColumnPackage.java237
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/column/impl/BookImpl.java362
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/column/impl/ColumnFactoryImpl.java99
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/column/impl/ColumnPackageImpl.java311
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/column/impl/package.jdo27
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/column/model/column.ecore52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/column/model/column.genmodel17
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/column/model/column.xsd29
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/column/util/ColumnAdapterFactory.java123
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/column/util/ColumnResourceFactoryImpl.java53
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/column/util/ColumnResourceImpl.java31
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/column/util/ColumnSwitch.java131
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/column/util/ColumnXMLProcessor.java50
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/column/validation/BookValidator.java24
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/compositeid/Child.java21
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/compositeid/CompositeidFactory.java64
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/compositeid/CompositeidPackage.java324
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/compositeid/Parent.java44
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/compositeid/Person.java81
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/compositeid/PersonID.java88
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/compositeid/impl/ChildImpl.java42
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/compositeid/impl/CompositeidFactoryImpl.java124
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/compositeid/impl/CompositeidPackageImpl.java291
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/compositeid/impl/ParentImpl.java133
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/compositeid/impl/PersonImpl.java218
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/compositeid/impl/package.jdo43
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/compositeid/model/compositeid.ecore30
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/compositeid/model/compositeid.genmodel19
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/compositeid/util/CompositeidAdapterFactory.java160
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/compositeid/util/CompositeidSwitch.java174
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/compositeid/validation/ChildValidator.java19
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/compositeid/validation/ParentValidator.java23
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/compositeid/validation/PersonValidator.java21
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/duplicates/ChildItem.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/duplicates/DuplicatesFactory.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/duplicates/DuplicatesPackage.java249
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/duplicates/Item.java75
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/duplicates/impl/ChildItemImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/duplicates/impl/DuplicatesFactoryImpl.java110
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/duplicates/impl/DuplicatesPackageImpl.java307
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/duplicates/impl/ItemImpl.java226
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/duplicates/impl/package.jdo37
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/duplicates/model/duplicates.ecore42
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/duplicates/model/duplicates.genmodel18
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/duplicates/model/duplicates.xsd25
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/duplicates/util/DuplicatesAdapterFactory.java142
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/duplicates/util/DuplicatesResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/duplicates/util/DuplicatesResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/duplicates/util/DuplicatesSwitch.java151
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/duplicates/util/DuplicatesXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/duplicates/validation/ChildItemValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/duplicates/validation/ItemValidator.java24
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/Book.java255
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/BookCategory.java239
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/City.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/EavlibraryFactory.java82
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/EavlibraryPackage.java794
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/Library.java94
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/Pen.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/Writer.java178
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/impl/BookImpl.java547
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/impl/CityImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/impl/EavlibraryFactoryImpl.java216
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/impl/EavlibraryPackageImpl.java682
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/impl/LibraryImpl.java263
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/impl/PenImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/impl/WriterImpl.java448
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/model/eavlibrary.ecore147
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/model/eavlibrary.genmodel43
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/util/EavlibraryAdapterFactory.java196
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/util/EavlibraryResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/util/EavlibraryResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/util/EavlibrarySwitch.java214
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/util/EavlibraryXMLProcessor.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/validation/BookValidator.java30
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/validation/CityValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/validation/LibraryValidator.java26
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/validation/PenValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/eavlibrary/validation/WriterValidator.java33
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/edatatypeColumn/Book.java170
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/edatatypeColumn/EdatatypeColumnFactory.java46
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/edatatypeColumn/EdatatypeColumnPackage.java366
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/edatatypeColumn/impl/BookImpl.java365
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/edatatypeColumn/impl/EdatatypeColumnFactoryImpl.java219
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/edatatypeColumn/impl/EdatatypeColumnPackageImpl.java427
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/edatatypeColumn/impl/package.jdo27
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/edatatypeColumn/model/edatatypeColumn.ecore80
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/edatatypeColumn/model/edatatype_column.genmodel21
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/edatatypeColumn/model/edatatype_column.xsd45
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/edatatypeColumn/util/EdatatypeColumnAdapterFactory.java124
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/edatatypeColumn/util/EdatatypeColumnResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/edatatypeColumn/util/EdatatypeColumnResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/edatatypeColumn/util/EdatatypeColumnSwitch.java130
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/edatatypeColumn/util/EdatatypeColumnXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/edatatypeColumn/validation/BookValidator.java24
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/AOneToMany.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/AlsoEmbeddable.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/AnotherEmbeddable.java104
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/Embeddable.java112
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/EmbeddedFactory.java91
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/EmbeddedPackage.java751
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/Embedder.java220
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/NestedEmbeddable.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/impl/AOneToManyImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/impl/AlsoEmbeddableImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/impl/AnotherEmbeddableImpl.java287
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/impl/EmbeddableImpl.java263
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/impl/EmbeddedFactoryImpl.java154
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/impl/EmbeddedPackageImpl.java695
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/impl/EmbedderImpl.java556
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/impl/NestedEmbeddableImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/model/embedded.ecore181
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/model/embedded.genmodel38
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/model/embedded.xsd119
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/model/embedded.xsd2ecore25
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/util/EmbeddedAdapterFactory.java214
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/util/EmbeddedResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/util/EmbeddedResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/util/EmbeddedSwitch.java236
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/util/EmbeddedXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/validation/AOneToManyValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/validation/AlsoEmbeddableValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/validation/AnotherEmbeddableValidator.java25
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/validation/EmbeddableValidator.java26
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/validation/EmbedderValidator.java33
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/EmbeddedidFactory.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/EmbeddedidPackage.java277
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/Name.java85
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/Person.java86
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/impl/EmbeddedidFactoryImpl.java110
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/impl/EmbeddedidPackageImpl.java337
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/impl/NameImpl.java221
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/impl/PersonImpl.java248
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/model/EmbeddedId.genmodel19
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/model/EmbeddedId.xsd30
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/model/embeddedid.ecore55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/util/EmbeddedidAdapterFactory.java142
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/util/EmbeddedidResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/util/EmbeddedidResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/util/EmbeddedidSwitch.java151
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/util/EmbeddedidXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/validation/NameValidator.java21
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/validation/PersonValidator.java22
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/entity/Book.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/entity/EntityFactory.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/entity/EntityPackage.java220
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/entity/Writer.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/entity/impl/BookImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/entity/impl/EntityFactoryImpl.java110
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/entity/impl/EntityPackageImpl.java294
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/entity/impl/WriterImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/entity/model/entity.ecore36
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/entity/model/entity.genmodel17
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/entity/model/entity.xsd23
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/entity/util/EntityAdapterFactory.java142
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/entity/util/EntityResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/entity/util/EntityResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/entity/util/EntitySwitch.java151
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/entity/util/EntityXMLProcessor.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/entity/validation/BookValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/entity/validation/WriterValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/external/ExternalFactory.java46
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/external/ExternalPackage.java238
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/external/ExternalTest.java129
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/external/impl/ExternalFactoryImpl.java99
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/external/impl/ExternalPackageImpl.java274
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/external/impl/ExternalTestImpl.java330
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/external/model/external.ecore31
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/external/model/external.genmodel17
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/external/util/ExternalAdapterFactory.java124
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/external/util/ExternalResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/external/util/ExternalResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/external/util/ExternalSwitch.java130
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/external/util/ExternalXMLProcessor.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/Book.java95
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/ExtralazyFactory.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/ExtralazyPackage.java277
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/Writer.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/impl/BookImpl.java246
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/impl/ExtralazyFactoryImpl.java110
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/impl/ExtralazyPackageImpl.java324
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/impl/WriterImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/model/extralazy.ecore50
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/model/extralazy.genmodel19
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/model/extralazy.xsd27
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/util/ExtralazyAdapterFactory.java142
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/util/ExtralazyResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/util/ExtralazyResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/util/ExtralazySwitch.java151
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/util/ExtralazyXMLProcessor.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/validation/BookValidator.java24
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/validation/WriterValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/ForcedidbagFactory.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/ForcedidbagPackage.java277
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/Role.java77
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/User.java78
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/impl/ForcedidbagFactoryImpl.java110
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/impl/ForcedidbagPackageImpl.java330
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/impl/RoleImpl.java238
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/impl/UserImpl.java243
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/model/ForcedIdBag.genmodel19
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/model/ForcedIdBag.xsd27
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/model/forcedidbag.ecore50
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/util/ForcedidbagAdapterFactory.java142
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/util/ForcedidbagResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/util/ForcedidbagResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/util/ForcedidbagSwitch.java151
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/util/ForcedidbagXMLProcessor.java53
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/validation/RoleValidator.java25
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/validation/UserValidator.java23
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/IdFactory.java64
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/IdPackage.java317
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/IdentityID.java83
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/SimpleID.java141
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/TableID.java83
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/impl/IdFactoryImpl.java123
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/impl/IdPackageImpl.java378
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/impl/IdentityIDImpl.java201
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/impl/SimpleIDImpl.java291
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/impl/TableIDImpl.java201
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.ecore68
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.ecore_diagram7
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.genmodel21
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.xsd57
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/util/IdAdapterFactory.java160
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/util/IdResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/util/IdResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/util/IdSwitch.java172
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/util/IdXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/validation/IdentityIDValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/validation/SimpleIDValidator.java29
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/validation/TableIDValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbcascade/Child.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbcascade/HbCascadeFactory.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbcascade/HbCascadePackage.java249
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbcascade/Parent.java73
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbcascade/impl/ChildImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbcascade/impl/HbCascadeFactoryImpl.java110
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbcascade/impl/HbCascadePackageImpl.java233
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbcascade/impl/ParentImpl.java209
-rwxr-xr-xexamples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbcascade/model/hbcascade.ecore16
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbcascade/model/hbcascade.genmodel18
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbcascade/util/HbCascadeAdapterFactory.java142
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbcascade/util/HbCascadeResourceFactoryImpl.java47
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbcascade/util/HbCascadeResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbcascade/util/HbCascadeSwitch.java151
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbcascade/util/HbCascadeXMLProcessor.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/Book.java97
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/City.java84
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/HbmapkeysFactory.java64
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/HbmapkeysPackage.java571
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/Writer.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/impl/BookImpl.java261
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/impl/CityImpl.java210
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/impl/HbmapkeysFactoryImpl.java145
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/impl/HbmapkeysPackageImpl.java535
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/impl/StringToWriterMapEntryImpl.java291
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/impl/WriterImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/impl/WriterToCityMapEntryImpl.java266
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/model/hbmapkeys.ecore114
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/model/hbmapkeys.genmodel31
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/model/hbmapkeys.xsd56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/util/HbmapkeysAdapterFactory.java198
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/util/HbmapkeysResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/util/HbmapkeysResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/util/HbmapkeysSwitch.java215
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/util/HbmapkeysXMLProcessor.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/City.java78
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/HibernateFactory.java73
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/HibernatePackage.java413
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/State.java57
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/StateDetail.java57
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/Street.java85
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/impl/CityImpl.java243
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/impl/HibernateFactoryImpl.java132
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/impl/HibernatePackageImpl.java391
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/impl/StateDetailImpl.java214
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/impl/StateImpl.java215
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/impl/StreetImpl.java267
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/model/city.ecore56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/model/city.genmodel25
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/util/HibernateAdapterFactory.java178
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/util/HibernateResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/util/HibernateResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/util/HibernateSwitch.java193
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/util/HibernateXMLProcessor.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/AutoID.java81
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/IdFactory.java91
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/IdPackage.java521
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/IdentityID.java83
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/OtherTableGeneratorID.java84
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/SimpleID.java83
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/TableGeneratorID.java83
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/TableID.java83
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/AutoIDImpl.java221
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/IdFactoryImpl.java158
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/IdPackageImpl.java440
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/IdentityIDImpl.java201
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/OtherTableGeneratorIDImpl.java201
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/SimpleIDImpl.java201
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/TableGeneratorIDImpl.java201
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/TableIDImpl.java201
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/package.jdo70
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/model/id.ecore98
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/model/id.genmodel30
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/model/id_with_sequence.ecore114
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdAdapterFactory.java214
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdSwitch.java235
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/AutoIDValidator.java21
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/IdentityIDValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/OtherTableGeneratorIDValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/SeqGeneratorTwoValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/SeqGeneratorValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/SimpleIDValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/TableGeneratorIDValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/TableIDValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/idbag/Address.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/idbag/IdbagFactory.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/idbag/IdbagPackage.java277
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/idbag/User.java94
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/idbag/impl/AddressImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/idbag/impl/IdbagFactoryImpl.java110
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/idbag/impl/IdbagPackageImpl.java323
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/idbag/impl/UserImpl.java263
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/idbag/model/IdBag.genmodel19
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/idbag/model/IdBag.xsd27
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/idbag/model/idbag.ecore50
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/idbag/util/IdbagAdapterFactory.java142
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/idbag/util/IdbagResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/idbag/util/IdbagResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/idbag/util/IdbagSwitch.java151
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/idbag/util/IdbagXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/idbag/validation/UserValidator.java22
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/Address.java114
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/ChildOne.java21
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/ContentList.java93
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/Customer.java57
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/DistrictUKAddress.java81
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/InheritancemappingFactory.java145
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/InheritancemappingPackage.java1251
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/InternationalPrice.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/ParentOne.java22
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/ParentTwo.java22
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/Price.java86
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/SpecificCustomer.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/UKAddress.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/UKAddressList.java76
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/USAddress.java142
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/USState.java236
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/AddressImpl.java272
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/ChildOneImpl.java43
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/ContentListImpl.java239
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/CustomerImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/DistrictUKAddressImpl.java197
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/InheritancemappingFactoryImpl.java300
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/InheritancemappingPackageImpl.java954
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/InternationalPriceImpl.java163
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/ParentOneImpl.java45
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/ParentTwoImpl.java45
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/PriceImpl.java220
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/SpecificCustomerImpl.java166
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/UKAddressImpl.java163
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/UKAddressListImpl.java226
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/USAddressImpl.java288
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/package.jdo151
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/model/inheritancemapping.ecore232
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/model/inheritancemapping.genmodel57
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingAdapterFactory.java340
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingSwitch.java390
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/AddressValidator.java22
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/ChildOneValidator.java19
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/ContentListValidator.java26
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/CustomerValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/DistrictUKAddressValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/InternationalPriceValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/ParentOneValidator.java19
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/ParentTwoValidator.java19
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/PriceValidator.java22
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/SpecificCustomerValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/UKAddressListValidator.java24
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/UKAddressValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/USAddressValidator.java24
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/AbstractSub.java21
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/IntegerdiscriminatorFactory.java82
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/IntegerdiscriminatorPackage.java416
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/OtherSub.java21
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/Sub.java22
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/SubFormula.java21
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/Super.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/SuperFormula.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/impl/AbstractSubImpl.java43
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/impl/IntegerdiscriminatorFactoryImpl.java143
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/impl/IntegerdiscriminatorPackageImpl.java380
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/impl/OtherSubImpl.java43
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/impl/SubFormulaImpl.java43
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/impl/SubImpl.java45
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/impl/SuperFormulaImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/impl/SuperImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/model/IntegerDiscriminator.genmodel21
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/model/integerdiscriminator.ecore41
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/util/IntegerdiscriminatorAdapterFactory.java214
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/util/IntegerdiscriminatorResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/util/IntegerdiscriminatorResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/util/IntegerdiscriminatorSwitch.java239
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/util/IntegerdiscriminatorXMLProcessor.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/Child.java21
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/House.java73
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/JoincolumnsFactory.java73
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/JoincolumnsPackage.java512
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/Parent.java45
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/Person.java122
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/PersonID.java88
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/impl/ChildImpl.java43
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/impl/HouseImpl.java203
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/impl/JoincolumnsFactoryImpl.java134
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/impl/JoincolumnsPackageImpl.java376
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/impl/ParentImpl.java154
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/impl/PersonImpl.java329
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/model/jc.ecore51
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/model/jc.genmodel25
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/util/JoincolumnsAdapterFactory.java179
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/util/JoincolumnsSwitch.java198
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/validation/ChildValidator.java19
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/validation/HouseValidator.java25
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/validation/ParentValidator.java23
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/validation/PersonValidator.java28
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/Book.java200
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/BookCategory.java236
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/LazyFactory.java64
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/LazyPackage.java520
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/Library.java94
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/Writer.java77
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/impl/BookImpl.java456
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/impl/LazyFactoryImpl.java197
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/impl/LazyPackageImpl.java521
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/impl/LibraryImpl.java258
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/impl/WriterImpl.java236
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/impl/package.jdo73
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/model/lazy.ecore113
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/model/lazy.genmodel32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/model/lazy.xsd54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/util/LazyAdapterFactory.java160
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/util/LazyResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/util/LazyResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/util/LazySwitch.java172
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/util/LazyXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/validation/BookValidator.java25
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/validation/LibraryValidator.java26
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/validation/WriterValidator.java24
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lob/LobFactory.java46
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lob/LobPackage.java237
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lob/Person.java169
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lob/impl/LobFactoryImpl.java99
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lob/impl/LobPackageImpl.java308
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lob/impl/PersonImpl.java363
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lob/impl/package.jdo23
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lob/model/lob.ecore48
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lob/model/lob.genmodel17
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lob/model/lob.xsd29
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lob/util/LobAdapterFactory.java124
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lob/util/LobResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lob/util/LobResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lob/util/LobSwitch.java130
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lob/util/LobXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lob/validation/PersonValidator.java23
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/Cntr.java70
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/Lft.java49
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/ManytomanyFactory.java64
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/ManytomanyPackage.java315
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/Rght.java49
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/CntrImpl.java210
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/LftImpl.java171
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/ManytomanyFactoryImpl.java121
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/ManytomanyPackageImpl.java362
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/RghtImpl.java171
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/package.jdo58
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/model/manytomany.ecore64
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/model/mtm.genmodel21
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/model/mtm.xsd51
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanyAdapterFactory.java160
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanyResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanyResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanySwitch.java172
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanyXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/validation/CntrValidator.java25
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/validation/LftValidator.java23
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/validation/RghtValidator.java23
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mapkey/Book.java77
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mapkey/MapkeyFactory.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mapkey/MapkeyPackage.java349
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mapkey/Writer.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mapkey/impl/BookImpl.java224
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mapkey/impl/MapkeyFactoryImpl.java123
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mapkey/impl/MapkeyPackageImpl.java372
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mapkey/impl/StringToWriterMapEntryImpl.java291
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mapkey/impl/WriterImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mapkey/model/emap.genmodel22
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mapkey/model/emap.xsd32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mapkey/model/mapkey.ecore61
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mapkey/util/MapkeyAdapterFactory.java162
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mapkey/util/MapkeyResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mapkey/util/MapkeyResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mapkey/util/MapkeySwitch.java173
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mapkey/util/MapkeyXMLProcessor.java53
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mapkey/validation/BookValidator.java24
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mapkey/validation/StringToWriterMapEntryValidator.java22
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mapkey/validation/WriterValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/AddIDDocument.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/Document.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/MappedsuperclassFactory.java73
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/MappedsuperclassPackage.java390
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/ParentDocument.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/SpecificDocument.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/impl/AddIDDocumentImpl.java166
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/impl/DocumentImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/impl/MappedsuperclassFactoryImpl.java132
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/impl/MappedsuperclassPackageImpl.java407
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/impl/ParentDocumentImpl.java166
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/impl/SpecificDocumentImpl.java166
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/impl/package.jdo39
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/model/mappedsuperclass.ecore73
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/model/mps.genmodel23
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/model/mps.xsd65
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/util/MappedsuperclassAdapterFactory.java178
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/util/MappedsuperclassResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/util/MappedsuperclassResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/util/MappedsuperclassSwitch.java197
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/util/MappedsuperclassXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/validation/AddIDDocumentValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/validation/DocumentValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/validation/ParentDocumentValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/validation/SpecificDocumentValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/naturalId/Family.java109
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/naturalId/NaturalIdFactory.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/naturalId/NaturalIdPackage.java389
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/naturalId/Person.java165
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/naturalId/impl/FamilyImpl.java275
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/naturalId/impl/NaturalIdFactoryImpl.java110
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/naturalId/impl/NaturalIdPackageImpl.java331
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/naturalId/impl/PersonImpl.java391
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/naturalId/model/naturalid.ecore42
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/naturalId/model/naturalid.genmodel23
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/naturalId/util/NaturalIdAdapterFactory.java142
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/naturalId/util/NaturalIdSwitch.java151
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/MyItem.java77
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/NmsetFactory.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/NmsetPackage.java277
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/YourItem.java77
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/impl/MyItemImpl.java236
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/impl/NmsetFactoryImpl.java111
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/impl/NmsetPackageImpl.java328
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/impl/YourItemImpl.java236
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/impl/package.jdo39
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/model/NMSet.genmodel19
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/model/NMSet.xsd33
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/model/nmset.ecore52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/util/NmsetAdapterFactory.java142
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/util/NmsetResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/util/NmsetResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/util/NmsetSwitch.java151
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/util/NmsetXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/validation/MyItemValidator.java24
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/validation/YourItemValidator.java24
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/otopk/Employee.java81
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/otopk/EmployeeInfo.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/otopk/OtopkFactory.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/otopk/OtopkPackage.java249
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/otopk/impl/EmployeeImpl.java229
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/otopk/impl/EmployeeInfoImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/otopk/impl/OtopkFactoryImpl.java110
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/otopk/impl/OtopkPackageImpl.java264
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/otopk/model/otopk.ecore25
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/otopk/model/otopk.genmodel18
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/otopk/util/OtopkAdapterFactory.java142
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/otopk/util/OtopkSwitch.java151
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/primarykeyjoin/Body.java112
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/primarykeyjoin/Head.java83
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/primarykeyjoin/PrimarykeyjoinFactory.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/primarykeyjoin/PrimarykeyjoinPackage.java249
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/primarykeyjoin/impl/BodyImpl.java282
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/primarykeyjoin/impl/HeadImpl.java201
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/primarykeyjoin/impl/PrimarykeyjoinFactoryImpl.java110
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/primarykeyjoin/impl/PrimarykeyjoinPackageImpl.java319
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/primarykeyjoin/model/pkey.genmodel18
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/primarykeyjoin/model/pkey.xsd31
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/primarykeyjoin/model/primarykeyjoin.ecore49
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/primarykeyjoin/util/PrimarykeyjoinAdapterFactory.java142
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/primarykeyjoin/util/PrimarykeyjoinResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/primarykeyjoin/util/PrimarykeyjoinResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/primarykeyjoin/util/PrimarykeyjoinSwitch.java151
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/primarykeyjoin/util/PrimarykeyjoinXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/primarykeyjoin/validation/BodyValidator.java22
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/primarykeyjoin/validation/HeadValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/Printer.java142
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/SecondarytableFactory.java46
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/SecondarytablePackage.java237
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/impl/PrinterImpl.java329
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/impl/SecondarytableFactoryImpl.java99
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/impl/SecondarytablePackageImpl.java308
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/impl/package.jdo27
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/model/SecondaryTable.genmodel17
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/model/SecondaryTable.xsd28
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/model/secondarytable.ecore50
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableAdapterFactory.java124
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableSwitch.java130
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/validation/PrinterValidator.java23
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytablehibernate/Person.java170
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytablehibernate/SecondarytablehibernateFactory.java46
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytablehibernate/SecondarytablehibernatePackage.java237
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytablehibernate/impl/PersonImpl.java363
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytablehibernate/impl/SecondarytablehibernateFactoryImpl.java99
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytablehibernate/impl/SecondarytablehibernatePackageImpl.java314
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytablehibernate/model/SecondaryTableHibernate.genmodel17
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytablehibernate/model/SecondaryTableHibernate.xsd34
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytablehibernate/model/secondarytablehibernate.ecore50
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytablehibernate/util/SecondarytablehibernateAdapterFactory.java124
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytablehibernate/util/SecondarytablehibernateResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytablehibernate/util/SecondarytablehibernateResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytablehibernate/util/SecondarytablehibernateSwitch.java130
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytablehibernate/util/SecondarytablehibernateXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytablehibernate/validation/PersonValidator.java23
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/set/ContainedItem.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/set/Item.java112
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/set/ItemList.java115
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/set/SetFactory.java64
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/set/SetPackage.java428
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/set/impl/ContainedItemImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/set/impl/ItemImpl.java318
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/set/impl/ItemListImpl.java314
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/set/impl/SetFactoryImpl.java121
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/set/impl/SetPackageImpl.java423
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/set/impl/package.jdo66
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/set/model/Set.genmodel25
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/set/model/set.ecore83
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/set/package.html1
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/set/util/SetAdapterFactory.java160
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/set/util/SetResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/set/util/SetResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/set/util/SetSwitch.java172
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/set/util/SetXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/set/validation/ContainedItemValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/set/validation/ItemListValidator.java27
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/set/validation/ItemValidator.java22
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/Address.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/Arm.java82
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/Head.java86
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/Person.java116
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/TooneFactory.java73
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/ToonePackage.java439
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/impl/AddressImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/impl/ArmImpl.java201
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/impl/HeadImpl.java266
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/impl/PersonImpl.java284
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/impl/TooneFactoryImpl.java132
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/impl/ToonePackageImpl.java453
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/impl/package.jdo65
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/model/toone.ecore92
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/model/toone.genmodel26
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/model/toone.xsd51
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/util/TooneAdapterFactory.java178
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/util/TooneResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/util/TooneResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/util/TooneSwitch.java193
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/util/TooneXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/validation/AddressValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/validation/ArmValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/validation/HeadValidator.java22
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/toone/validation/PersonValidator.java26
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/transent/Body.java112
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/transent/Head.java84
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/transent/TransentFactory.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/transent/TransentPackage.java249
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/transent/impl/BodyImpl.java282
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/transent/impl/HeadImpl.java201
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/transent/impl/TransentFactoryImpl.java110
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/transent/impl/TransentPackageImpl.java325
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/transent/model/transent.ecore51
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/transent/model/transent.genmodel18
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/transent/model/transent.xsd34
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/transent/util/TransentAdapterFactory.java142
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/transent/util/TransentResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/transent/util/TransentResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/transent/util/TransentSwitch.java151
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/transent/util/TransentXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/transent/validation/BodyValidator.java22
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/transent/validation/HeadValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/uniqueconstraints/Item.java142
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/uniqueconstraints/Project.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/uniqueconstraints/UniqueconstraintsFactory.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/uniqueconstraints/UniqueconstraintsPackage.java278
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/uniqueconstraints/impl/ItemImpl.java298
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/uniqueconstraints/impl/ProjectImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/uniqueconstraints/impl/UniqueconstraintsFactoryImpl.java110
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/uniqueconstraints/impl/UniqueconstraintsPackageImpl.java343
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/uniqueconstraints/impl/package.jdo43
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/uniqueconstraints/model/unique.genmodel19
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/uniqueconstraints/model/unique.xsd40
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/uniqueconstraints/model/uniqueconstraints.ecore59
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/uniqueconstraints/util/UniqueconstraintsAdapterFactory.java142
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/uniqueconstraints/util/UniqueconstraintsResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/uniqueconstraints/util/UniqueconstraintsResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/uniqueconstraints/util/UniqueconstraintsSwitch.java151
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/uniqueconstraints/util/UniqueconstraintsXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/uniqueconstraints/validation/ItemValidator.java25
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/uniqueconstraints/validation/ProjectValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/various/Child.java21
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/various/ImmutableCity.java73
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/various/Parent.java73
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/various/VariousFactory.java64
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/various/VariousPackage.java334
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/various/impl/ChildImpl.java43
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/various/impl/ImmutableCityImpl.java209
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/various/impl/ParentImpl.java209
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/various/impl/VariousFactoryImpl.java121
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/various/impl/VariousPackageImpl.java309
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/various/model/various.ecore35
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/various/model/various.genmodel20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/various/util/VariousAdapterFactory.java160
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/various/util/VariousSwitch.java173
845 files changed, 0 insertions, 110379 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/AnyFactory.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/AnyFactory.java
deleted file mode 100644
index 82e56b65b..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/AnyFactory.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AnyFactory.java,v 1.1 2009/06/28 02:03:50 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.any;
-
-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.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage
- * @generated
- */
-public interface AnyFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- AnyFactory eINSTANCE = org.eclipse.emf.teneo.samples.emf.annotations.any.impl.AnyFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Object</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Object</em>'.
- * @generated
- */
- AnyObject createAnyObject();
-
- /**
- * 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
- */
- DocumentRoot createDocumentRoot();
-
- /**
- * Returns a new object of class '<em>Global Object Type</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Global Object Type</em>'.
- * @generated
- */
- GlobalObjectType createGlobalObjectType();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- AnyPackage getAnyPackage();
-
-} //AnyFactory
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/AnyObject.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/AnyObject.java
deleted file mode 100644
index bbaa552d2..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/AnyObject.java
+++ /dev/null
@@ -1,225 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AnyObject.java,v 1.2 2009/06/30 05:30:57 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.any;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.util.FeatureMap;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Object</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getId <em>Id</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getGlobalInt <em>Global Int</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getGlobalString <em>Global String</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getAnyOne <em>Any One</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getAny <em>Any</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getGroup <em>Group</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getAny1 <em>Any1</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage#getAnyObject()
- * @model extendedMetaData="name='AnyObject' kind='elementOnly'"
- * @generated
- */
-public interface AnyObject extends EObject {
- /**
- * Returns the value of the '<em><b>Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Id</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Id</em>' attribute.
- * @see #setId(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage#getAnyObject_Id()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * annotation="teneo.jpa appinfo='@Id'"
- * extendedMetaData="kind='element' name='id'"
- * @generated
- */
- String getId();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getId <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Id</em>' attribute.
- * @see #getId()
- * @generated
- */
- void setId(String value);
-
- /**
- * Returns the value of the '<em><b>Global Int</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Global Int</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Global Int</em>' attribute.
- * @see #isSetGlobalInt()
- * @see #unsetGlobalInt()
- * @see #setGlobalInt(int)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage#getAnyObject_GlobalInt()
- * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Int"
- * extendedMetaData="kind='element' name='globalInt' namespace='##targetNamespace'"
- * @generated
- */
- int getGlobalInt();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getGlobalInt <em>Global Int</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Global Int</em>' attribute.
- * @see #isSetGlobalInt()
- * @see #unsetGlobalInt()
- * @see #getGlobalInt()
- * @generated
- */
- void setGlobalInt(int value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getGlobalInt <em>Global Int</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetGlobalInt()
- * @see #getGlobalInt()
- * @see #setGlobalInt(int)
- * @generated
- */
- void unsetGlobalInt();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getGlobalInt <em>Global Int</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Global Int</em>' attribute is set.
- * @see #unsetGlobalInt()
- * @see #getGlobalInt()
- * @see #setGlobalInt(int)
- * @generated
- */
- boolean isSetGlobalInt();
-
- /**
- * Returns the value of the '<em><b>Global String</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Global String</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Global String</em>' attribute.
- * @see #setGlobalString(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage#getAnyObject_GlobalString()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String"
- * extendedMetaData="kind='element' name='globalString' namespace='##targetNamespace'"
- * @generated
- */
- String getGlobalString();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getGlobalString <em>Global String</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Global String</em>' attribute.
- * @see #getGlobalString()
- * @generated
- */
- void setGlobalString(String value);
-
- /**
- * Returns the value of the '<em><b>Any One</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Any One</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Any One</em>' containment reference.
- * @see #setAnyOne(EObject)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage#getAnyObject_AnyOne()
- * @model containment="true" required="true"
- * annotation="teneo.jpa appinfo='\n\t\t\t\t\t\t@Any( metaColumn = @Column( name =\n\t\t\t\t\t\t\"any_type\" ), fetch=FetchType.EAGER\n\t\t\t\t\t\t)\n\t\t\t\t\t\t@AnyMetaDef(idType =\n\t\t\t\t\t\t\"string\",metaType = \"string\") \n\t\t\t\t\t'"
- * extendedMetaData="kind='element' name='anyOne'"
- * @generated
- */
- EObject getAnyOne();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getAnyOne <em>Any One</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Any One</em>' containment reference.
- * @see #getAnyOne()
- * @generated
- */
- void setAnyOne(EObject value);
-
- /**
- * Returns the value of the '<em><b>Any</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>Any</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>Any</em>' attribute list.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage#getAnyObject_Any()
- * @model dataType="org.eclipse.emf.ecore.EFeatureMapEntry" required="true" many="false"
- * annotation="teneo.jpa appinfo='\n\t\t\t\t\t\t@Any( metaColumn = @Column( name =\n\t\t\t\t\t\t\"any_type\" ), fetch=FetchType.EAGER\n\t\t\t\t\t\t)\n\t\t\t\t\t\t@AnyMetaDef(idType =\n\t\t\t\t\t\t\"string\",metaType = \"string\") \n\t\t\t\t\t'"
- * extendedMetaData="kind='elementWildcard' wildcards='##any' name=':4' processing='lax'"
- * @generated
- */
- FeatureMap getAny();
-
- /**
- * Returns the value of the '<em><b>Group</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>Group</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>Group</em>' attribute list.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage#getAnyObject_Group()
- * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
- * extendedMetaData="kind='group' name='group:5'"
- * @generated
- */
- FeatureMap getGroup();
-
- /**
- * Returns the value of the '<em><b>Any1</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>Any1</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>Any1</em>' attribute list.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage#getAnyObject_Any1()
- * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" transient="true" volatile="true" derived="true"
- * annotation="teneo.jpa appinfo='\n\t\t\t\t\t\t\t@Any( metaColumn = @Column( name =\n\t\t\t\t\t\t\t\"any_type\" ), fetch=FetchType.EAGER\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t@AnyMetaDef(idType =\n\t\t\t\t\t\t\t\"string\",metaType = \"string\") \n\t\t\t\t\t'"
- * extendedMetaData="kind='elementWildcard' wildcards='##any' name=':6' processing='lax' group='#group:5'"
- * @generated
- */
- FeatureMap getAny1();
-
-} // AnyObject
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/AnyPackage.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/AnyPackage.java
deleted file mode 100644
index 5128ee01e..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/AnyPackage.java
+++ /dev/null
@@ -1,625 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AnyPackage.java,v 1.2 2009/06/30 05:30:57 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.any;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- 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 -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyFactory
- * @model kind="package"
- * @generated
- */
-public interface AnyPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "any";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/emf/teneo/samples/emf/annotations/any";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "any";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- AnyPackage eINSTANCE = org.eclipse.emf.teneo.samples.emf.annotations.any.impl.AnyPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.impl.AnyObjectImpl <em>Object</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.impl.AnyObjectImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.impl.AnyPackageImpl#getAnyObject()
- * @generated
- */
- int ANY_OBJECT = 0;
-
- /**
- * The feature id for the '<em><b>Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ANY_OBJECT__ID = 0;
-
- /**
- * The feature id for the '<em><b>Global Int</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ANY_OBJECT__GLOBAL_INT = 1;
-
- /**
- * The feature id for the '<em><b>Global String</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ANY_OBJECT__GLOBAL_STRING = 2;
-
- /**
- * The feature id for the '<em><b>Any One</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ANY_OBJECT__ANY_ONE = 3;
-
- /**
- * The feature id for the '<em><b>Any</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ANY_OBJECT__ANY = 4;
-
- /**
- * The feature id for the '<em><b>Group</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ANY_OBJECT__GROUP = 5;
-
- /**
- * The feature id for the '<em><b>Any1</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ANY_OBJECT__ANY1 = 6;
-
- /**
- * The number of structural features of the '<em>Object</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ANY_OBJECT_FEATURE_COUNT = 7;
-
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.impl.DocumentRootImpl <em>Document Root</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.impl.DocumentRootImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.impl.AnyPackageImpl#getDocumentRoot()
- * @generated
- */
- int DOCUMENT_ROOT = 1;
-
- /**
- * The feature id for the '<em><b>Mixed</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int 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 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 DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
-
- /**
- * The feature id for the '<em><b>Global Int</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__GLOBAL_INT = 3;
-
- /**
- * The feature id for the '<em><b>Global Object</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__GLOBAL_OBJECT = 4;
-
- /**
- * The feature id for the '<em><b>Global String</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__GLOBAL_STRING = 5;
-
- /**
- * The number of structural features of the '<em>Document Root</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT_FEATURE_COUNT = 6;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.impl.GlobalObjectTypeImpl <em>Global Object Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.impl.GlobalObjectTypeImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.impl.AnyPackageImpl#getGlobalObjectType()
- * @generated
- */
- int GLOBAL_OBJECT_TYPE = 2;
-
- /**
- * The feature id for the '<em><b>Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GLOBAL_OBJECT_TYPE__ID = 0;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GLOBAL_OBJECT_TYPE__NAME = 1;
-
- /**
- * The number of structural features of the '<em>Global Object Type</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int GLOBAL_OBJECT_TYPE_FEATURE_COUNT = 2;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject <em>Object</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Object</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject
- * @generated
- */
- EClass getAnyObject();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getId <em>Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Id</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getId()
- * @see #getAnyObject()
- * @generated
- */
- EAttribute getAnyObject_Id();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getGlobalInt <em>Global Int</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Global Int</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getGlobalInt()
- * @see #getAnyObject()
- * @generated
- */
- EAttribute getAnyObject_GlobalInt();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getGlobalString <em>Global String</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Global String</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getGlobalString()
- * @see #getAnyObject()
- * @generated
- */
- EAttribute getAnyObject_GlobalString();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getAnyOne <em>Any One</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Any One</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getAnyOne()
- * @see #getAnyObject()
- * @generated
- */
- EReference getAnyObject_AnyOne();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getAny <em>Any</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Any</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getAny()
- * @see #getAnyObject()
- * @generated
- */
- EAttribute getAnyObject_Any();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getGroup <em>Group</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Group</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getGroup()
- * @see #getAnyObject()
- * @generated
- */
- EAttribute getAnyObject_Group();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getAny1 <em>Any1</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Any1</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject#getAny1()
- * @see #getAnyObject()
- * @generated
- */
- EAttribute getAnyObject_Any1();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot <em>Document Root</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Document Root</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot
- * @generated
- */
- EClass getDocumentRoot();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot#getMixed <em>Mixed</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Mixed</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot#getMixed()
- * @see #getDocumentRoot()
- * @generated
- */
- EAttribute getDocumentRoot_Mixed();
-
- /**
- * Returns the meta object for the map '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot#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.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot#getXMLNSPrefixMap()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_XMLNSPrefixMap();
-
- /**
- * Returns the meta object for the map '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot#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.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot#getXSISchemaLocation()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_XSISchemaLocation();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot#getGlobalInt <em>Global Int</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Global Int</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot#getGlobalInt()
- * @see #getDocumentRoot()
- * @generated
- */
- EAttribute getDocumentRoot_GlobalInt();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot#getGlobalObject <em>Global Object</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Global Object</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot#getGlobalObject()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_GlobalObject();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot#getGlobalString <em>Global String</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Global String</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot#getGlobalString()
- * @see #getDocumentRoot()
- * @generated
- */
- EAttribute getDocumentRoot_GlobalString();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.GlobalObjectType <em>Global Object Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Global Object Type</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.GlobalObjectType
- * @generated
- */
- EClass getGlobalObjectType();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.GlobalObjectType#getId <em>Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Id</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.GlobalObjectType#getId()
- * @see #getGlobalObjectType()
- * @generated
- */
- EAttribute getGlobalObjectType_Id();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.GlobalObjectType#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.GlobalObjectType#getName()
- * @see #getGlobalObjectType()
- * @generated
- */
- EAttribute getGlobalObjectType_Name();
-
- /**
- * 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
- */
- AnyFactory getAnyFactory();
-
- /**
- * <!-- 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.eclipse.emf.teneo.samples.emf.annotations.any.impl.AnyObjectImpl <em>Object</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.impl.AnyObjectImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.impl.AnyPackageImpl#getAnyObject()
- * @generated
- */
- EClass ANY_OBJECT = eINSTANCE.getAnyObject();
-
- /**
- * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ANY_OBJECT__ID = eINSTANCE.getAnyObject_Id();
-
- /**
- * The meta object literal for the '<em><b>Global Int</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ANY_OBJECT__GLOBAL_INT = eINSTANCE.getAnyObject_GlobalInt();
-
- /**
- * The meta object literal for the '<em><b>Global String</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ANY_OBJECT__GLOBAL_STRING = eINSTANCE.getAnyObject_GlobalString();
-
- /**
- * The meta object literal for the '<em><b>Any One</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference ANY_OBJECT__ANY_ONE = eINSTANCE.getAnyObject_AnyOne();
-
- /**
- * The meta object literal for the '<em><b>Any</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ANY_OBJECT__ANY = eINSTANCE.getAnyObject_Any();
-
- /**
- * The meta object literal for the '<em><b>Group</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ANY_OBJECT__GROUP = eINSTANCE.getAnyObject_Group();
-
- /**
- * The meta object literal for the '<em><b>Any1</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ANY_OBJECT__ANY1 = eINSTANCE.getAnyObject_Any1();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.impl.DocumentRootImpl <em>Document Root</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.impl.DocumentRootImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.impl.AnyPackageImpl#getDocumentRoot()
- * @generated
- */
- EClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot();
-
- /**
- * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute DOCUMENT_ROOT__MIXED = eINSTANCE.getDocumentRoot_Mixed();
-
- /**
- * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE.getDocumentRoot_XMLNSPrefixMap();
-
- /**
- * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE.getDocumentRoot_XSISchemaLocation();
-
- /**
- * The meta object literal for the '<em><b>Global Int</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute DOCUMENT_ROOT__GLOBAL_INT = eINSTANCE.getDocumentRoot_GlobalInt();
-
- /**
- * The meta object literal for the '<em><b>Global Object</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DOCUMENT_ROOT__GLOBAL_OBJECT = eINSTANCE.getDocumentRoot_GlobalObject();
-
- /**
- * The meta object literal for the '<em><b>Global String</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute DOCUMENT_ROOT__GLOBAL_STRING = eINSTANCE.getDocumentRoot_GlobalString();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.impl.GlobalObjectTypeImpl <em>Global Object Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.impl.GlobalObjectTypeImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.impl.AnyPackageImpl#getGlobalObjectType()
- * @generated
- */
- EClass GLOBAL_OBJECT_TYPE = eINSTANCE.getGlobalObjectType();
-
- /**
- * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute GLOBAL_OBJECT_TYPE__ID = eINSTANCE.getGlobalObjectType_Id();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute GLOBAL_OBJECT_TYPE__NAME = eINSTANCE.getGlobalObjectType_Name();
-
- }
-
-} //AnyPackage
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/DocumentRoot.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/DocumentRoot.java
deleted file mode 100644
index f3f137220..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/DocumentRoot.java
+++ /dev/null
@@ -1,171 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DocumentRoot.java,v 1.1 2009/06/28 02:03:50 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.any;
-
-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.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot#getMixed <em>Mixed</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot#getGlobalInt <em>Global Int</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot#getGlobalObject <em>Global Object</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot#getGlobalString <em>Global String</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage#getDocumentRoot()
- * @model extendedMetaData="name='' kind='mixed'"
- * @generated
- */
-public interface DocumentRoot 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.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage#getDocumentRoot_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.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage#getDocumentRoot_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.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage#getDocumentRoot_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>Global Int</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Global Int</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Global Int</em>' attribute.
- * @see #setGlobalInt(int)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage#getDocumentRoot_GlobalInt()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.Int" upper="-2" transient="true" volatile="true" derived="true"
- * extendedMetaData="kind='element' name='globalInt' namespace='##targetNamespace'"
- * @generated
- */
- int getGlobalInt();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot#getGlobalInt <em>Global Int</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Global Int</em>' attribute.
- * @see #getGlobalInt()
- * @generated
- */
- void setGlobalInt(int value);
-
- /**
- * Returns the value of the '<em><b>Global Object</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Global Object</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Global Object</em>' containment reference.
- * @see #setGlobalObject(GlobalObjectType)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage#getDocumentRoot_GlobalObject()
- * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
- * extendedMetaData="kind='element' name='globalObject' namespace='##targetNamespace'"
- * @generated
- */
- GlobalObjectType getGlobalObject();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot#getGlobalObject <em>Global Object</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Global Object</em>' containment reference.
- * @see #getGlobalObject()
- * @generated
- */
- void setGlobalObject(GlobalObjectType value);
-
- /**
- * Returns the value of the '<em><b>Global String</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Global String</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Global String</em>' attribute.
- * @see #setGlobalString(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage#getDocumentRoot_GlobalString()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" upper="-2" transient="true" volatile="true" derived="true"
- * extendedMetaData="kind='element' name='globalString' namespace='##targetNamespace'"
- * @generated
- */
- String getGlobalString();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot#getGlobalString <em>Global String</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Global String</em>' attribute.
- * @see #getGlobalString()
- * @generated
- */
- void setGlobalString(String value);
-
-} // DocumentRoot
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/GlobalObjectType.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/GlobalObjectType.java
deleted file mode 100644
index 993cbc61c..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/GlobalObjectType.java
+++ /dev/null
@@ -1,84 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: GlobalObjectType.java,v 1.2 2009/06/30 05:30:57 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.any;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Global Object Type</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.GlobalObjectType#getId <em>Id</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.GlobalObjectType#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage#getGlobalObjectType()
- * @model extendedMetaData="name='globalObject_._type' kind='elementOnly'"
- * @generated
- */
-public interface GlobalObjectType extends EObject {
- /**
- * Returns the value of the '<em><b>Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Id</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Id</em>' attribute.
- * @see #setId(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage#getGlobalObjectType_Id()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * annotation="teneo.jpa appinfo='@Id'"
- * extendedMetaData="kind='element' name='id'"
- * @generated
- */
- String getId();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.GlobalObjectType#getId <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Id</em>' attribute.
- * @see #getId()
- * @generated
- */
- void setId(String value);
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage#getGlobalObjectType_Name()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='name'"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.GlobalObjectType#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
-} // GlobalObjectType
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/impl/AnyFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/impl/AnyFactoryImpl.java
deleted file mode 100644
index b4f5a82fc..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/impl/AnyFactoryImpl.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AnyFactoryImpl.java,v 1.1 2009/06/28 02:03:49 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.any.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.eclipse.emf.teneo.samples.emf.annotations.any.*;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class AnyFactoryImpl extends EFactoryImpl implements AnyFactory {
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static AnyFactory init() {
- try {
- AnyFactory theAnyFactory = (AnyFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/emf/teneo/samples/emf/annotations/any");
- if (theAnyFactory != null) {
- return theAnyFactory;
- }
- }
- catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new AnyFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AnyFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case AnyPackage.ANY_OBJECT: return createAnyObject();
- case AnyPackage.DOCUMENT_ROOT: return createDocumentRoot();
- case AnyPackage.GLOBAL_OBJECT_TYPE: return createGlobalObjectType();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AnyObject createAnyObject() {
- AnyObjectImpl anyObject = new AnyObjectImpl();
- return anyObject;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DocumentRoot createDocumentRoot() {
- DocumentRootImpl documentRoot = new DocumentRootImpl();
- return documentRoot;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public GlobalObjectType createGlobalObjectType() {
- GlobalObjectTypeImpl globalObjectType = new GlobalObjectTypeImpl();
- return globalObjectType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AnyPackage getAnyPackage() {
- return (AnyPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static AnyPackage getPackage() {
- return AnyPackage.eINSTANCE;
- }
-
-} //AnyFactoryImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/impl/AnyObjectImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/impl/AnyObjectImpl.java
deleted file mode 100644
index 0227825d4..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/impl/AnyObjectImpl.java
+++ /dev/null
@@ -1,492 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AnyObjectImpl.java,v 1.2 2009/06/30 05:30:58 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.any.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.ecore.util.BasicFeatureMap;
-import org.eclipse.emf.ecore.util.FeatureMap;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject;
-import org.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Object</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.impl.AnyObjectImpl#getId <em>Id</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.impl.AnyObjectImpl#getGlobalInt <em>Global Int</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.impl.AnyObjectImpl#getGlobalString <em>Global String</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.impl.AnyObjectImpl#getAnyOne <em>Any One</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.impl.AnyObjectImpl#getAny <em>Any</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.impl.AnyObjectImpl#getGroup <em>Group</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.impl.AnyObjectImpl#getAny1 <em>Any1</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class AnyObjectImpl extends EObjectImpl implements AnyObject {
- /**
- * The default value of the '{@link #getId() <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getId()
- * @generated
- * @ordered
- */
- protected static final String ID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getId()
- * @generated
- * @ordered
- */
- protected String id = ID_EDEFAULT;
-
- /**
- * The default value of the '{@link #getGlobalInt() <em>Global Int</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getGlobalInt()
- * @generated
- * @ordered
- */
- protected static final int GLOBAL_INT_EDEFAULT = 0;
-
- /**
- * The cached value of the '{@link #getGlobalInt() <em>Global Int</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getGlobalInt()
- * @generated
- * @ordered
- */
- protected int globalInt = GLOBAL_INT_EDEFAULT;
-
- /**
- * This is true if the Global Int attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean globalIntESet;
-
- /**
- * The default value of the '{@link #getGlobalString() <em>Global String</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getGlobalString()
- * @generated
- * @ordered
- */
- protected static final String GLOBAL_STRING_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getGlobalString() <em>Global String</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getGlobalString()
- * @generated
- * @ordered
- */
- protected String globalString = GLOBAL_STRING_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getAnyOne() <em>Any One</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAnyOne()
- * @generated
- * @ordered
- */
- protected EObject anyOne;
-
- /**
- * The cached value of the '{@link #getAny() <em>Any</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAny()
- * @generated
- * @ordered
- */
- protected FeatureMap any;
-
- /**
- * The cached value of the '{@link #getGroup() <em>Group</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getGroup()
- * @generated
- * @ordered
- */
- protected FeatureMap group;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected AnyObjectImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return AnyPackage.Literals.ANY_OBJECT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getId() {
- return id;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setId(String newId) {
- String oldId = id;
- id = newId;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AnyPackage.ANY_OBJECT__ID, oldId, id));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getGlobalInt() {
- return globalInt;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setGlobalInt(int newGlobalInt) {
- int oldGlobalInt = globalInt;
- globalInt = newGlobalInt;
- boolean oldGlobalIntESet = globalIntESet;
- globalIntESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AnyPackage.ANY_OBJECT__GLOBAL_INT, oldGlobalInt, globalInt, !oldGlobalIntESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetGlobalInt() {
- int oldGlobalInt = globalInt;
- boolean oldGlobalIntESet = globalIntESet;
- globalInt = GLOBAL_INT_EDEFAULT;
- globalIntESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, AnyPackage.ANY_OBJECT__GLOBAL_INT, oldGlobalInt, GLOBAL_INT_EDEFAULT, oldGlobalIntESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetGlobalInt() {
- return globalIntESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getGlobalString() {
- return globalString;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setGlobalString(String newGlobalString) {
- String oldGlobalString = globalString;
- globalString = newGlobalString;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AnyPackage.ANY_OBJECT__GLOBAL_STRING, oldGlobalString, globalString));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getAnyOne() {
- return anyOne;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetAnyOne(EObject newAnyOne, NotificationChain msgs) {
- EObject oldAnyOne = anyOne;
- anyOne = newAnyOne;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AnyPackage.ANY_OBJECT__ANY_ONE, oldAnyOne, newAnyOne);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setAnyOne(EObject newAnyOne) {
- if (newAnyOne != anyOne) {
- NotificationChain msgs = null;
- if (anyOne != null)
- msgs = ((InternalEObject)anyOne).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AnyPackage.ANY_OBJECT__ANY_ONE, null, msgs);
- if (newAnyOne != null)
- msgs = ((InternalEObject)newAnyOne).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AnyPackage.ANY_OBJECT__ANY_ONE, null, msgs);
- msgs = basicSetAnyOne(newAnyOne, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AnyPackage.ANY_OBJECT__ANY_ONE, newAnyOne, newAnyOne));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FeatureMap getAny() {
- if (any == null) {
- any = new BasicFeatureMap(this, AnyPackage.ANY_OBJECT__ANY);
- }
- return any;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FeatureMap getGroup() {
- if (group == null) {
- group = new BasicFeatureMap(this, AnyPackage.ANY_OBJECT__GROUP);
- }
- return group;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FeatureMap getAny1() {
- return (FeatureMap)getGroup().<FeatureMap.Entry>list(AnyPackage.Literals.ANY_OBJECT__ANY1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case AnyPackage.ANY_OBJECT__ANY_ONE:
- return basicSetAnyOne(null, msgs);
- case AnyPackage.ANY_OBJECT__ANY:
- return ((InternalEList<?>)getAny()).basicRemove(otherEnd, msgs);
- case AnyPackage.ANY_OBJECT__GROUP:
- return ((InternalEList<?>)getGroup()).basicRemove(otherEnd, msgs);
- case AnyPackage.ANY_OBJECT__ANY1:
- return ((InternalEList<?>)getAny1()).basicRemove(otherEnd, 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 AnyPackage.ANY_OBJECT__ID:
- return getId();
- case AnyPackage.ANY_OBJECT__GLOBAL_INT:
- return getGlobalInt();
- case AnyPackage.ANY_OBJECT__GLOBAL_STRING:
- return getGlobalString();
- case AnyPackage.ANY_OBJECT__ANY_ONE:
- return getAnyOne();
- case AnyPackage.ANY_OBJECT__ANY:
- if (coreType) return getAny();
- return ((FeatureMap.Internal)getAny()).getWrapper();
- case AnyPackage.ANY_OBJECT__GROUP:
- if (coreType) return getGroup();
- return ((FeatureMap.Internal)getGroup()).getWrapper();
- case AnyPackage.ANY_OBJECT__ANY1:
- if (coreType) return getAny1();
- return ((FeatureMap.Internal)getAny1()).getWrapper();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case AnyPackage.ANY_OBJECT__ID:
- setId((String)newValue);
- return;
- case AnyPackage.ANY_OBJECT__GLOBAL_INT:
- setGlobalInt((Integer)newValue);
- return;
- case AnyPackage.ANY_OBJECT__GLOBAL_STRING:
- setGlobalString((String)newValue);
- return;
- case AnyPackage.ANY_OBJECT__ANY_ONE:
- setAnyOne((EObject)newValue);
- return;
- case AnyPackage.ANY_OBJECT__ANY:
- ((FeatureMap.Internal)getAny()).set(newValue);
- return;
- case AnyPackage.ANY_OBJECT__GROUP:
- ((FeatureMap.Internal)getGroup()).set(newValue);
- return;
- case AnyPackage.ANY_OBJECT__ANY1:
- ((FeatureMap.Internal)getAny1()).set(newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case AnyPackage.ANY_OBJECT__ID:
- setId(ID_EDEFAULT);
- return;
- case AnyPackage.ANY_OBJECT__GLOBAL_INT:
- unsetGlobalInt();
- return;
- case AnyPackage.ANY_OBJECT__GLOBAL_STRING:
- setGlobalString(GLOBAL_STRING_EDEFAULT);
- return;
- case AnyPackage.ANY_OBJECT__ANY_ONE:
- setAnyOne((EObject)null);
- return;
- case AnyPackage.ANY_OBJECT__ANY:
- getAny().clear();
- return;
- case AnyPackage.ANY_OBJECT__GROUP:
- getGroup().clear();
- return;
- case AnyPackage.ANY_OBJECT__ANY1:
- getAny1().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case AnyPackage.ANY_OBJECT__ID:
- return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
- case AnyPackage.ANY_OBJECT__GLOBAL_INT:
- return isSetGlobalInt();
- case AnyPackage.ANY_OBJECT__GLOBAL_STRING:
- return GLOBAL_STRING_EDEFAULT == null ? globalString != null : !GLOBAL_STRING_EDEFAULT.equals(globalString);
- case AnyPackage.ANY_OBJECT__ANY_ONE:
- return anyOne != null;
- case AnyPackage.ANY_OBJECT__ANY:
- return any != null && !any.isEmpty();
- case AnyPackage.ANY_OBJECT__GROUP:
- return group != null && !group.isEmpty();
- case AnyPackage.ANY_OBJECT__ANY1:
- return !getAny1().isEmpty();
- }
- 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(" (id: ");
- result.append(id);
- result.append(", globalInt: ");
- if (globalIntESet) result.append(globalInt); else result.append("<unset>");
- result.append(", globalString: ");
- result.append(globalString);
- result.append(", any: ");
- result.append(any);
- result.append(", group: ");
- result.append(group);
- result.append(')');
- return result.toString();
- }
-
-} //AnyObjectImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/impl/AnyPackageImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/impl/AnyPackageImpl.java
deleted file mode 100644
index 60d379e1c..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/impl/AnyPackageImpl.java
+++ /dev/null
@@ -1,577 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AnyPackageImpl.java,v 1.2 2009/06/30 05:30:58 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.any.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.eclipse.emf.teneo.samples.emf.annotations.any.AnyFactory;
-import org.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject;
-import org.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot;
-import org.eclipse.emf.teneo.samples.emf.annotations.any.GlobalObjectType;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class AnyPackageImpl extends EPackageImpl implements AnyPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass anyObjectEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass documentRootEClass = null;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass globalObjectTypeEClass = 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.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private AnyPackageImpl() {
- super(eNS_URI, AnyFactory.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.
- *
- * <p>This method is used to initialize {@link AnyPackage#eINSTANCE} when that field is accessed.
- * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static AnyPackage init() {
- if (isInited) return (AnyPackage)EPackage.Registry.INSTANCE.getEPackage(AnyPackage.eNS_URI);
-
- // Obtain or create and register package
- AnyPackageImpl theAnyPackage = (AnyPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof AnyPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new AnyPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- XMLTypePackage.eINSTANCE.eClass();
-
- // Create package meta-data objects
- theAnyPackage.createPackageContents();
-
- // Initialize created meta-data
- theAnyPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theAnyPackage.freeze();
-
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(AnyPackage.eNS_URI, theAnyPackage);
- return theAnyPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getAnyObject() {
- return anyObjectEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAnyObject_Id() {
- return (EAttribute)anyObjectEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAnyObject_GlobalInt() {
- return (EAttribute)anyObjectEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAnyObject_GlobalString() {
- return (EAttribute)anyObjectEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getAnyObject_AnyOne() {
- return (EReference)anyObjectEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAnyObject_Any() {
- return (EAttribute)anyObjectEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAnyObject_Group() {
- return (EAttribute)anyObjectEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAnyObject_Any1() {
- return (EAttribute)anyObjectEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getDocumentRoot() {
- return documentRootEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDocumentRoot_Mixed() {
- return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_XMLNSPrefixMap() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_XSISchemaLocation() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDocumentRoot_GlobalInt() {
- return (EAttribute)documentRootEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_GlobalObject() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDocumentRoot_GlobalString() {
- return (EAttribute)documentRootEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getGlobalObjectType() {
- return globalObjectTypeEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getGlobalObjectType_Id() {
- return (EAttribute)globalObjectTypeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getGlobalObjectType_Name() {
- return (EAttribute)globalObjectTypeEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AnyFactory getAnyFactory() {
- return (AnyFactory)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
- anyObjectEClass = createEClass(ANY_OBJECT);
- createEAttribute(anyObjectEClass, ANY_OBJECT__ID);
- createEAttribute(anyObjectEClass, ANY_OBJECT__GLOBAL_INT);
- createEAttribute(anyObjectEClass, ANY_OBJECT__GLOBAL_STRING);
- createEReference(anyObjectEClass, ANY_OBJECT__ANY_ONE);
- createEAttribute(anyObjectEClass, ANY_OBJECT__ANY);
- createEAttribute(anyObjectEClass, ANY_OBJECT__GROUP);
- createEAttribute(anyObjectEClass, ANY_OBJECT__ANY1);
-
- documentRootEClass = createEClass(DOCUMENT_ROOT);
- createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED);
- createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
- createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
- createEAttribute(documentRootEClass, DOCUMENT_ROOT__GLOBAL_INT);
- createEReference(documentRootEClass, DOCUMENT_ROOT__GLOBAL_OBJECT);
- createEAttribute(documentRootEClass, DOCUMENT_ROOT__GLOBAL_STRING);
-
- globalObjectTypeEClass = createEClass(GLOBAL_OBJECT_TYPE);
- createEAttribute(globalObjectTypeEClass, GLOBAL_OBJECT_TYPE__ID);
- createEAttribute(globalObjectTypeEClass, GLOBAL_OBJECT_TYPE__NAME);
- }
-
- /**
- * <!-- 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
- XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
-
- // Initialize classes and features; add operations and parameters
- initEClass(anyObjectEClass, AnyObject.class, "AnyObject", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getAnyObject_Id(), theXMLTypePackage.getString(), "id", null, 1, 1, AnyObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAnyObject_GlobalInt(), theXMLTypePackage.getInt(), "globalInt", null, 0, 1, AnyObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAnyObject_GlobalString(), theXMLTypePackage.getString(), "globalString", null, 0, 1, AnyObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAnyObject_AnyOne(), ecorePackage.getEObject(), null, "anyOne", null, 1, 1, AnyObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAnyObject_Any(), ecorePackage.getEFeatureMapEntry(), "any", null, 1, 1, AnyObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAnyObject_Group(), ecorePackage.getEFeatureMapEntry(), "group", null, 0, -1, AnyObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAnyObject_Any1(), ecorePackage.getEFeatureMapEntry(), "any1", null, 0, -1, AnyObject.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
-
- initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getDocumentRoot_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(getDocumentRoot_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(getDocumentRoot_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);
- initEAttribute(getDocumentRoot_GlobalInt(), theXMLTypePackage.getInt(), "globalInt", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_GlobalObject(), this.getGlobalObjectType(), null, "globalObject", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEAttribute(getDocumentRoot_GlobalString(), theXMLTypePackage.getString(), "globalString", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
-
- initEClass(globalObjectTypeEClass, GlobalObjectType.class, "GlobalObjectType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getGlobalObjectType_Id(), theXMLTypePackage.getString(), "id", null, 1, 1, GlobalObjectType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getGlobalObjectType_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, GlobalObjectType.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();
- // teneo.jpa
- createTeneoAnnotations();
- }
-
- /**
- * 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
- (anyObjectEClass,
- source,
- new String[] {
- "name", "AnyObject",
- "kind", "elementOnly"
- });
- addAnnotation
- (getAnyObject_Id(),
- source,
- new String[] {
- "kind", "element",
- "name", "id"
- });
- addAnnotation
- (getAnyObject_GlobalInt(),
- source,
- new String[] {
- "kind", "element",
- "name", "globalInt",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getAnyObject_GlobalString(),
- source,
- new String[] {
- "kind", "element",
- "name", "globalString",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getAnyObject_AnyOne(),
- source,
- new String[] {
- "kind", "element",
- "name", "anyOne"
- });
- addAnnotation
- (getAnyObject_Any(),
- source,
- new String[] {
- "kind", "elementWildcard",
- "wildcards", "##any",
- "name", ":4",
- "processing", "lax"
- });
- addAnnotation
- (getAnyObject_Group(),
- source,
- new String[] {
- "kind", "group",
- "name", "group:5"
- });
- addAnnotation
- (getAnyObject_Any1(),
- source,
- new String[] {
- "kind", "elementWildcard",
- "wildcards", "##any",
- "name", ":6",
- "processing", "lax",
- "group", "#group:5"
- });
- addAnnotation
- (documentRootEClass,
- source,
- new String[] {
- "name", "",
- "kind", "mixed"
- });
- addAnnotation
- (getDocumentRoot_Mixed(),
- source,
- new String[] {
- "kind", "elementWildcard",
- "name", ":mixed"
- });
- addAnnotation
- (getDocumentRoot_XMLNSPrefixMap(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "xmlns:prefix"
- });
- addAnnotation
- (getDocumentRoot_XSISchemaLocation(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "xsi:schemaLocation"
- });
- addAnnotation
- (getDocumentRoot_GlobalInt(),
- source,
- new String[] {
- "kind", "element",
- "name", "globalInt",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getDocumentRoot_GlobalObject(),
- source,
- new String[] {
- "kind", "element",
- "name", "globalObject",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getDocumentRoot_GlobalString(),
- source,
- new String[] {
- "kind", "element",
- "name", "globalString",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (globalObjectTypeEClass,
- source,
- new String[] {
- "name", "globalObject_._type",
- "kind", "elementOnly"
- });
- addAnnotation
- (getGlobalObjectType_Id(),
- source,
- new String[] {
- "kind", "element",
- "name", "id"
- });
- addAnnotation
- (getGlobalObjectType_Name(),
- source,
- new String[] {
- "kind", "element",
- "name", "name"
- });
- }
-
- /**
- * Initializes the annotations for <b>teneo.jpa</b>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void createTeneoAnnotations() {
- String source = "teneo.jpa";
- addAnnotation
- (getAnyObject_Id(),
- source,
- new String[] {
- "appinfo", "@Id"
- });
- addAnnotation
- (getAnyObject_AnyOne(),
- source,
- new String[] {
- "appinfo", "\n\t\t\t\t\t\t@Any( metaColumn = @Column( name =\n\t\t\t\t\t\t\"any_type\" ), fetch=FetchType.EAGER\n\t\t\t\t\t\t)\n\t\t\t\t\t\t@AnyMetaDef(idType =\n\t\t\t\t\t\t\"string\",metaType = \"string\") \n\t\t\t\t\t"
- });
- addAnnotation
- (getAnyObject_Any(),
- source,
- new String[] {
- "appinfo", "\n\t\t\t\t\t\t@Any( metaColumn = @Column( name =\n\t\t\t\t\t\t\"any_type\" ), fetch=FetchType.EAGER\n\t\t\t\t\t\t)\n\t\t\t\t\t\t@AnyMetaDef(idType =\n\t\t\t\t\t\t\"string\",metaType = \"string\") \n\t\t\t\t\t"
- });
- addAnnotation
- (getAnyObject_Any1(),
- source,
- new String[] {
- "appinfo", "\n\t\t\t\t\t\t\t@Any( metaColumn = @Column( name =\n\t\t\t\t\t\t\t\"any_type\" ), fetch=FetchType.EAGER\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t@AnyMetaDef(idType =\n\t\t\t\t\t\t\t\"string\",metaType = \"string\") \n\t\t\t\t\t"
- });
- addAnnotation
- (getGlobalObjectType_Id(),
- source,
- new String[] {
- "appinfo", "@Id"
- });
- }
-
-} //AnyPackageImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/impl/DocumentRootImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/impl/DocumentRootImpl.java
deleted file mode 100644
index 2e5079c01..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/impl/DocumentRootImpl.java
+++ /dev/null
@@ -1,364 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DocumentRootImpl.java,v 1.1 2009/06/28 02:03:49 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.any.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.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot;
-import org.eclipse.emf.teneo.samples.emf.annotations.any.GlobalObjectType;
-
-/**
- * <!-- 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.eclipse.emf.teneo.samples.emf.annotations.any.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.impl.DocumentRootImpl#getGlobalInt <em>Global Int</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.impl.DocumentRootImpl#getGlobalObject <em>Global Object</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.impl.DocumentRootImpl#getGlobalString <em>Global String</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
- /**
- * 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;
-
- /**
- * The default value of the '{@link #getGlobalInt() <em>Global Int</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getGlobalInt()
- * @generated
- * @ordered
- */
- protected static final int GLOBAL_INT_EDEFAULT = 0;
-
- /**
- * The default value of the '{@link #getGlobalString() <em>Global String</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getGlobalString()
- * @generated
- * @ordered
- */
- protected static final String GLOBAL_STRING_EDEFAULT = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DocumentRootImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return AnyPackage.Literals.DOCUMENT_ROOT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FeatureMap getMixed() {
- if (mixed == null) {
- mixed = new BasicFeatureMap(this, AnyPackage.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, AnyPackage.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, AnyPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
- }
- return xSISchemaLocation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getGlobalInt() {
- return (Integer)getMixed().get(AnyPackage.Literals.DOCUMENT_ROOT__GLOBAL_INT, true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setGlobalInt(int newGlobalInt) {
- ((FeatureMap.Internal)getMixed()).set(AnyPackage.Literals.DOCUMENT_ROOT__GLOBAL_INT, newGlobalInt);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public GlobalObjectType getGlobalObject() {
- return (GlobalObjectType)getMixed().get(AnyPackage.Literals.DOCUMENT_ROOT__GLOBAL_OBJECT, true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetGlobalObject(GlobalObjectType newGlobalObject, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(AnyPackage.Literals.DOCUMENT_ROOT__GLOBAL_OBJECT, newGlobalObject, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setGlobalObject(GlobalObjectType newGlobalObject) {
- ((FeatureMap.Internal)getMixed()).set(AnyPackage.Literals.DOCUMENT_ROOT__GLOBAL_OBJECT, newGlobalObject);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getGlobalString() {
- return (String)getMixed().get(AnyPackage.Literals.DOCUMENT_ROOT__GLOBAL_STRING, true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setGlobalString(String newGlobalString) {
- ((FeatureMap.Internal)getMixed()).set(AnyPackage.Literals.DOCUMENT_ROOT__GLOBAL_STRING, newGlobalString);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case AnyPackage.DOCUMENT_ROOT__MIXED:
- return ((InternalEList<?>)getMixed()).basicRemove(otherEnd, msgs);
- case AnyPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- return ((InternalEList<?>)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
- case AnyPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- return ((InternalEList<?>)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
- case AnyPackage.DOCUMENT_ROOT__GLOBAL_OBJECT:
- return basicSetGlobalObject(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 AnyPackage.DOCUMENT_ROOT__MIXED:
- if (coreType) return getMixed();
- return ((FeatureMap.Internal)getMixed()).getWrapper();
- case AnyPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- if (coreType) return getXMLNSPrefixMap();
- else return getXMLNSPrefixMap().map();
- case AnyPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- if (coreType) return getXSISchemaLocation();
- else return getXSISchemaLocation().map();
- case AnyPackage.DOCUMENT_ROOT__GLOBAL_INT:
- return getGlobalInt();
- case AnyPackage.DOCUMENT_ROOT__GLOBAL_OBJECT:
- return getGlobalObject();
- case AnyPackage.DOCUMENT_ROOT__GLOBAL_STRING:
- return getGlobalString();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case AnyPackage.DOCUMENT_ROOT__MIXED:
- ((FeatureMap.Internal)getMixed()).set(newValue);
- return;
- case AnyPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
- return;
- case AnyPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
- return;
- case AnyPackage.DOCUMENT_ROOT__GLOBAL_INT:
- setGlobalInt((Integer)newValue);
- return;
- case AnyPackage.DOCUMENT_ROOT__GLOBAL_OBJECT:
- setGlobalObject((GlobalObjectType)newValue);
- return;
- case AnyPackage.DOCUMENT_ROOT__GLOBAL_STRING:
- setGlobalString((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case AnyPackage.DOCUMENT_ROOT__MIXED:
- getMixed().clear();
- return;
- case AnyPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- getXMLNSPrefixMap().clear();
- return;
- case AnyPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- getXSISchemaLocation().clear();
- return;
- case AnyPackage.DOCUMENT_ROOT__GLOBAL_INT:
- setGlobalInt(GLOBAL_INT_EDEFAULT);
- return;
- case AnyPackage.DOCUMENT_ROOT__GLOBAL_OBJECT:
- setGlobalObject((GlobalObjectType)null);
- return;
- case AnyPackage.DOCUMENT_ROOT__GLOBAL_STRING:
- setGlobalString(GLOBAL_STRING_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case AnyPackage.DOCUMENT_ROOT__MIXED:
- return mixed != null && !mixed.isEmpty();
- case AnyPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
- case AnyPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
- case AnyPackage.DOCUMENT_ROOT__GLOBAL_INT:
- return getGlobalInt() != GLOBAL_INT_EDEFAULT;
- case AnyPackage.DOCUMENT_ROOT__GLOBAL_OBJECT:
- return getGlobalObject() != null;
- case AnyPackage.DOCUMENT_ROOT__GLOBAL_STRING:
- return GLOBAL_STRING_EDEFAULT == null ? getGlobalString() != null : !GLOBAL_STRING_EDEFAULT.equals(getGlobalString());
- }
- 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();
- }
-
-} //DocumentRootImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/impl/GlobalObjectTypeImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/impl/GlobalObjectTypeImpl.java
deleted file mode 100644
index 05949ab5a..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/impl/GlobalObjectTypeImpl.java
+++ /dev/null
@@ -1,221 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: GlobalObjectTypeImpl.java,v 1.2 2009/06/30 05:30:58 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.any.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.any.GlobalObjectType;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Global Object Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.impl.GlobalObjectTypeImpl#getId <em>Id</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.any.impl.GlobalObjectTypeImpl#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class GlobalObjectTypeImpl extends EObjectImpl implements GlobalObjectType {
- /**
- * The default value of the '{@link #getId() <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getId()
- * @generated
- * @ordered
- */
- protected static final String ID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getId()
- * @generated
- * @ordered
- */
- protected String id = ID_EDEFAULT;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected GlobalObjectTypeImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return AnyPackage.Literals.GLOBAL_OBJECT_TYPE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getId() {
- return id;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setId(String newId) {
- String oldId = id;
- id = newId;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AnyPackage.GLOBAL_OBJECT_TYPE__ID, oldId, id));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AnyPackage.GLOBAL_OBJECT_TYPE__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case AnyPackage.GLOBAL_OBJECT_TYPE__ID:
- return getId();
- case AnyPackage.GLOBAL_OBJECT_TYPE__NAME:
- return getName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case AnyPackage.GLOBAL_OBJECT_TYPE__ID:
- setId((String)newValue);
- return;
- case AnyPackage.GLOBAL_OBJECT_TYPE__NAME:
- setName((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case AnyPackage.GLOBAL_OBJECT_TYPE__ID:
- setId(ID_EDEFAULT);
- return;
- case AnyPackage.GLOBAL_OBJECT_TYPE__NAME:
- setName(NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case AnyPackage.GLOBAL_OBJECT_TYPE__ID:
- return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
- case AnyPackage.GLOBAL_OBJECT_TYPE__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- }
- 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(" (id: ");
- result.append(id);
- result.append(", name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-} //GlobalObjectTypeImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/model/any.ecore b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/model/any.ecore
deleted file mode 100644
index 2c8fe0f4b..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/model/any.ecore
+++ /dev/null
@@ -1,156 +0,0 @@
-<?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="any"
- nsURI="http://www.eclipse.org/emf/teneo/samples/emf/annotations/any" nsPrefix="any">
- <eClassifiers xsi:type="ecore:EClass" name="AnyObject">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="AnyObject"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@Id"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="id"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="globalInt" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"
- unsettable="true">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="globalInt"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="globalString" 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="globalString"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="anyOne" lowerBound="1"
- eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject" containment="true"
- resolveProxies="false">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;@Any( metaColumn = @Column( name =&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&quot;any_type&quot; ), fetch=FetchType.EAGER&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;)&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;@AnyMetaDef(idType =&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&quot;string&quot;,metaType = &quot;string&quot;) &#xA;&#x9;&#x9;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="anyOne"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="any" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;@Any( metaColumn = @Column( name =&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&quot;any_type&quot; ), fetch=FetchType.EAGER&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;)&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;@AnyMetaDef(idType =&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&quot;string&quot;,metaType = &quot;string&quot;) &#xA;&#x9;&#x9;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="elementWildcard"/>
- <details key="wildcards" value="##any"/>
- <details key="name" value=":4"/>
- <details key="processing" value="lax"/>
- </eAnnotations>
- </eStructuralFeatures>
- <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:5"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="any1" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry"
- volatile="true" transient="true" derived="true">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;@Any( metaColumn = @Column( name =&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&quot;any_type&quot; ), fetch=FetchType.EAGER&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;)&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;@AnyMetaDef(idType =&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&quot;string&quot;,metaType = &quot;string&quot;) &#xA;&#x9;&#x9;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="elementWildcard"/>
- <details key="wildcards" value="##any"/>
- <details key="name" value=":6"/>
- <details key="processing" value="lax"/>
- <details key="group" value="#group:5"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="DocumentRoot">
- <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:EAttribute" name="globalInt" unique="false"
- upperBound="-2" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"
- volatile="true" transient="true" derived="true">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="globalInt"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="globalObject" upperBound="-2"
- eType="#//GlobalObjectType" 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="globalObject"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="globalString" unique="false"
- upperBound="-2" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"
- volatile="true" transient="true" derived="true">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="globalString"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="GlobalObjectType">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="globalObject_._type"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@Id"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="id"/>
- </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:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="name"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/model/any.genmodel b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/model/any.genmodel
deleted file mode 100644
index 1e1ead72c..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/model/any.genmodel
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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.eclipse.emf.teneo.samples/src"
- modelPluginID="org.eclipse.emf.teneo.samples" modelName="Any" importerID="org.eclipse.xsd.ecore.importer"
- complianceLevel="6.0" copyrightFields="false">
- <foreignModel>any.xsd</foreignModel>
- <genPackages prefix="Any" basePackage="org.eclipse.emf.teneo.samples.emf.annotations"
- resource="XML" disposableProviderFactory="true" ecorePackage="any.ecore#/">
- <genClasses ecoreClass="any.ecore#//AnyObject">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute any.ecore#//AnyObject/id"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute any.ecore#//AnyObject/globalInt"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute any.ecore#//AnyObject/globalString"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EReference any.ecore#//AnyObject/anyOne"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute any.ecore#//AnyObject/any"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute any.ecore#//AnyObject/group"/>
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute any.ecore#//AnyObject/any1"/>
- </genClasses>
- <genClasses ecoreClass="any.ecore#//DocumentRoot">
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute any.ecore#//DocumentRoot/mixed"/>
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference any.ecore#//DocumentRoot/xMLNSPrefixMap"/>
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference any.ecore#//DocumentRoot/xSISchemaLocation"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute any.ecore#//DocumentRoot/globalInt"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference any.ecore#//DocumentRoot/globalObject"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute any.ecore#//DocumentRoot/globalString"/>
- </genClasses>
- <genClasses ecoreClass="any.ecore#//GlobalObjectType">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute any.ecore#//GlobalObjectType/id"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute any.ecore#//GlobalObjectType/name"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/model/any.xsd b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/model/any.xsd
deleted file mode 100755
index 91adc579b..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/model/any.xsd
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema
- targetNamespace="http://www.eclipse.org/emf/teneo/samples/emf/annotations/any"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:this="http://www.eclipse.org/emf/teneo/samples/emf/annotations/any"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
- <xsd:complexType name="AnyObject">
- <xsd:sequence>
- <xsd:element name="id" type="xsd:string">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">@Id</xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="this:globalInt" minOccurs="0" />
- <xsd:element ref="this:globalString" minOccurs="0" />
- <xsd:element name="anyOne" type="xsd:anyType">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @Any( metaColumn = @Column( name =
- "any_type" ), fetch=FetchType.EAGER
- )
- @AnyMetaDef(idType =
- "string",metaType = "string")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:any namespace="##any" processContents="lax">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @Any( metaColumn = @Column( name =
- "any_type" ), fetch=FetchType.EAGER
- )
- @AnyMetaDef(idType =
- "string",metaType = "string")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:any>
- <xsd:choice maxOccurs="unbounded">
- <xsd:any namespace="##any" processContents="lax">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @Any( metaColumn = @Column( name =
- "any_type" ), fetch=FetchType.EAGER
- )
- @AnyMetaDef(idType =
- "string",metaType = "string")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:any>
- </xsd:choice>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:element name="globalObject">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="id" type="xsd:string">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">@Id</xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="name" type="xsd:string" />
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="globalInt" type="xsd:int" />
- <xsd:element name="globalString" type="xsd:string" />
-
-</xsd:schema>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/util/AnyAdapterFactory.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/util/AnyAdapterFactory.java
deleted file mode 100644
index d74b0d90c..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/util/AnyAdapterFactory.java
+++ /dev/null
@@ -1,160 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AnyAdapterFactory.java,v 1.1 2009/06/28 02:03:49 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.any.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.teneo.samples.emf.annotations.any.*;
-
-/**
- * <!-- 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.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage
- * @generated
- */
-public class AnyAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static AnyPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AnyAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = AnyPackage.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 AnySwitch<Adapter> modelSwitch =
- new AnySwitch<Adapter>() {
- @Override
- public Adapter caseAnyObject(AnyObject object) {
- return createAnyObjectAdapter();
- }
- @Override
- public Adapter caseDocumentRoot(DocumentRoot object) {
- return createDocumentRootAdapter();
- }
- @Override
- public Adapter caseGlobalObjectType(GlobalObjectType object) {
- return createGlobalObjectTypeAdapter();
- }
- @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.eclipse.emf.teneo.samples.emf.annotations.any.AnyObject <em>Object</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.teneo.samples.emf.annotations.any.AnyObject
- * @generated
- */
- public Adapter createAnyObjectAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot <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.eclipse.emf.teneo.samples.emf.annotations.any.DocumentRoot
- * @generated
- */
- public Adapter createDocumentRootAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.any.GlobalObjectType <em>Global Object 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.teneo.samples.emf.annotations.any.GlobalObjectType
- * @generated
- */
- public Adapter createGlobalObjectTypeAdapter() {
- 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;
- }
-
-} //AnyAdapterFactory
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/util/AnyResourceFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/util/AnyResourceFactoryImpl.java
deleted file mode 100644
index dc5ac10a7..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/util/AnyResourceFactoryImpl.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AnyResourceFactoryImpl.java,v 1.1 2009/06/28 02:03:49 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.any.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.eclipse.emf.teneo.samples.emf.annotations.any.util.AnyResourceImpl
- * @generated
- */
-public class AnyResourceFactoryImpl extends ResourceFactoryImpl {
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AnyResourceFactoryImpl() {
- super();
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Resource createResource(URI uri) {
- XMLResource result = new AnyResourceImpl(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;
- }
-
-} //AnyResourceFactoryImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/util/AnyResourceImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/util/AnyResourceImpl.java
deleted file mode 100644
index 49bcf55e0..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/util/AnyResourceImpl.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AnyResourceImpl.java,v 1.1 2009/06/28 02:03:49 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.any.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.eclipse.emf.teneo.samples.emf.annotations.any.util.AnyResourceFactoryImpl
- * @generated
- */
-public class AnyResourceImpl extends XMLResourceImpl {
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param uri the URI of the new resource.
- * @generated
- */
- public AnyResourceImpl(URI uri) {
- super(uri);
- }
-
-} //AnyResourceImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/util/AnySwitch.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/util/AnySwitch.java
deleted file mode 100644
index d4f9d4710..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/util/AnySwitch.java
+++ /dev/null
@@ -1,172 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AnySwitch.java,v 1.1 2009/06/28 02:03:49 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.any.util;
-
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.any.*;
-
-/**
- * <!-- 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.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage
- * @generated
- */
-public class AnySwitch<T> {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static AnyPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AnySwitch() {
- if (modelPackage == null) {
- modelPackage = AnyPackage.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 AnyPackage.ANY_OBJECT: {
- AnyObject anyObject = (AnyObject)theEObject;
- T result = caseAnyObject(anyObject);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case AnyPackage.DOCUMENT_ROOT: {
- DocumentRoot documentRoot = (DocumentRoot)theEObject;
- T result = caseDocumentRoot(documentRoot);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case AnyPackage.GLOBAL_OBJECT_TYPE: {
- GlobalObjectType globalObjectType = (GlobalObjectType)theEObject;
- T result = caseGlobalObjectType(globalObjectType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Object</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>Object</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAnyObject(AnyObject 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 caseDocumentRoot(DocumentRoot object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Global Object 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>Global Object Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseGlobalObjectType(GlobalObjectType 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;
- }
-
-} //AnySwitch
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/util/AnyXMLProcessor.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/util/AnyXMLProcessor.java
deleted file mode 100644
index 43d046695..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/any/util/AnyXMLProcessor.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AnyXMLProcessor.java,v 1.1 2009/06/28 02:03:49 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.any.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.eclipse.emf.teneo.samples.emf.annotations.any.AnyPackage;
-
-/**
- * This class contains helper methods to serialize and deserialize XML documents
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class AnyXMLProcessor extends XMLProcessor {
-
- /**
- * Public constructor to instantiate the helper.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AnyXMLProcessor() {
- super((EPackage.Registry.INSTANCE));
- AnyPackage.eINSTANCE.eClass();
- }
-
- /**
- * Register for "*" and "xml" file extensions the AnyResourceFactoryImpl 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 AnyResourceFactoryImpl());
- registrations.put(STAR_EXTENSION, new AnyResourceFactoryImpl());
- }
- return registrations;
- }
-
-} //AnyXMLProcessor
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Address.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Address.java
deleted file mode 100644
index 5ff272017..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Address.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Address.java,v 1.3 2010/02/06 18:17:46 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Address</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address#getStreet <em>Street</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address#getPostalCode <em>Postal Code</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#getAddress()
- * @model extendedMetaData="name='Address' kind='elementOnly'"
- * @generated
- */
-public interface Address extends EObject {
- /**
- * Returns the value of the '<em><b>Street</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Street</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Street</em>' attribute.
- * @see #setStreet(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#getAddress_Street()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='street'"
- * @generated
- */
- String getStreet();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address#getStreet <em>Street</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Street</em>' attribute.
- * @see #getStreet()
- * @generated
- */
- void setStreet(String value);
-
- /**
- * Returns the value of the '<em><b>Postal Code</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Postal Code</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Postal Code</em>' attribute.
- * @see #setPostalCode(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#getAddress_PostalCode()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='postalCode'"
- * @generated
- */
- String getPostalCode();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address#getPostalCode <em>Postal Code</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Postal Code</em>' attribute.
- * @see #getPostalCode()
- * @generated
- */
- void setPostalCode(String value);
-
-} // Address \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/AssociationoverrideFactory.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/AssociationoverrideFactory.java
deleted file mode 100644
index 17b33d764..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/AssociationoverrideFactory.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AssociationoverrideFactory.java,v 1.3 2010/02/06 18:17:46 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride;
-
-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.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage
- * @generated
- */
-public interface AssociationoverrideFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- AssociationoverrideFactory eINSTANCE = org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AssociationoverrideFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Address</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Address</em>'.
- * @generated
- */
- Address createAddress();
-
- /**
- * Returns a new object of class '<em>Employee</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Employee</em>'.
- * @generated
- */
- Employee createEmployee();
-
- /**
- * Returns a new object of class '<em>Person</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Person</em>'.
- * @generated
- */
- Person createPerson();
-
- /**
- * Returns a new object of class '<em>Student</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Student</em>'.
- * @generated
- */
- Student createStudent();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- AssociationoverridePackage getAssociationoverridePackage();
-
-} //AssociationoverrideFactory
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/AssociationoverridePackage.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/AssociationoverridePackage.java
deleted file mode 100644
index 1ade0096e..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/AssociationoverridePackage.java
+++ /dev/null
@@ -1,493 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AssociationoverridePackage.java,v 1.3 2010/02/06 18:17:46 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- 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 -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverrideFactory
- * @model kind="package"
- * @generated
- */
-public interface AssociationoverridePackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "associationoverride";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "associationoverride";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- AssociationoverridePackage eINSTANCE = org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AssociationoverridePackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AddressImpl <em>Address</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AddressImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AssociationoverridePackageImpl#getAddress()
- * @generated
- */
- int ADDRESS = 0;
-
- /**
- * The feature id for the '<em><b>Street</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADDRESS__STREET = 0;
-
- /**
- * The feature id for the '<em><b>Postal Code</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADDRESS__POSTAL_CODE = 1;
-
- /**
- * The number of structural features of the '<em>Address</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADDRESS_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.PersonImpl <em>Person</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.PersonImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AssociationoverridePackageImpl#getPerson()
- * @generated
- */
- int PERSON = 2;
-
- /**
- * The feature id for the '<em><b>Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PERSON__ID = 0;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PERSON__NAME = 1;
-
- /**
- * The feature id for the '<em><b>Address</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PERSON__ADDRESS = 2;
-
- /**
- * The number of structural features of the '<em>Person</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PERSON_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.EmployeeImpl <em>Employee</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.EmployeeImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AssociationoverridePackageImpl#getEmployee()
- * @generated
- */
- int EMPLOYEE = 1;
-
- /**
- * The feature id for the '<em><b>Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EMPLOYEE__ID = PERSON__ID;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EMPLOYEE__NAME = PERSON__NAME;
-
- /**
- * The feature id for the '<em><b>Address</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EMPLOYEE__ADDRESS = PERSON__ADDRESS;
-
- /**
- * The feature id for the '<em><b>Department</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EMPLOYEE__DEPARTMENT = PERSON_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Employee</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EMPLOYEE_FEATURE_COUNT = PERSON_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.StudentImpl <em>Student</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.StudentImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AssociationoverridePackageImpl#getStudent()
- * @generated
- */
- int STUDENT = 3;
-
- /**
- * The feature id for the '<em><b>Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int STUDENT__ID = PERSON__ID;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int STUDENT__NAME = PERSON__NAME;
-
- /**
- * The feature id for the '<em><b>Address</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int STUDENT__ADDRESS = PERSON__ADDRESS;
-
- /**
- * The feature id for the '<em><b>Faculty</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int STUDENT__FACULTY = PERSON_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Student</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int STUDENT_FEATURE_COUNT = PERSON_FEATURE_COUNT + 1;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address <em>Address</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Address</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address
- * @generated
- */
- EClass getAddress();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address#getStreet <em>Street</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Street</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address#getStreet()
- * @see #getAddress()
- * @generated
- */
- EAttribute getAddress_Street();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address#getPostalCode <em>Postal Code</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Postal Code</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address#getPostalCode()
- * @see #getAddress()
- * @generated
- */
- EAttribute getAddress_PostalCode();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Employee <em>Employee</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Employee</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Employee
- * @generated
- */
- EClass getEmployee();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Employee#getDepartment <em>Department</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Department</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Employee#getDepartment()
- * @see #getEmployee()
- * @generated
- */
- EAttribute getEmployee_Department();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person <em>Person</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Person</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person
- * @generated
- */
- EClass getPerson();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getId <em>Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Id</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getId()
- * @see #getPerson()
- * @generated
- */
- EAttribute getPerson_Id();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getName()
- * @see #getPerson()
- * @generated
- */
- EAttribute getPerson_Name();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getAddress <em>Address</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Address</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getAddress()
- * @see #getPerson()
- * @generated
- */
- EReference getPerson_Address();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Student <em>Student</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Student</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Student
- * @generated
- */
- EClass getStudent();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Student#getFaculty <em>Faculty</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Faculty</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Student#getFaculty()
- * @see #getStudent()
- * @generated
- */
- EAttribute getStudent_Faculty();
-
- /**
- * 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
- */
- AssociationoverrideFactory getAssociationoverrideFactory();
-
- /**
- * <!-- 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.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AddressImpl <em>Address</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AddressImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AssociationoverridePackageImpl#getAddress()
- * @generated
- */
- EClass ADDRESS = eINSTANCE.getAddress();
-
- /**
- * The meta object literal for the '<em><b>Street</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ADDRESS__STREET = eINSTANCE.getAddress_Street();
-
- /**
- * The meta object literal for the '<em><b>Postal Code</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ADDRESS__POSTAL_CODE = eINSTANCE.getAddress_PostalCode();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.EmployeeImpl <em>Employee</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.EmployeeImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AssociationoverridePackageImpl#getEmployee()
- * @generated
- */
- EClass EMPLOYEE = eINSTANCE.getEmployee();
-
- /**
- * The meta object literal for the '<em><b>Department</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute EMPLOYEE__DEPARTMENT = eINSTANCE.getEmployee_Department();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.PersonImpl <em>Person</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.PersonImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AssociationoverridePackageImpl#getPerson()
- * @generated
- */
- EClass PERSON = eINSTANCE.getPerson();
-
- /**
- * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PERSON__ID = eINSTANCE.getPerson_Id();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PERSON__NAME = eINSTANCE.getPerson_Name();
-
- /**
- * The meta object literal for the '<em><b>Address</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PERSON__ADDRESS = eINSTANCE.getPerson_Address();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.StudentImpl <em>Student</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.StudentImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AssociationoverridePackageImpl#getStudent()
- * @generated
- */
- EClass STUDENT = eINSTANCE.getStudent();
-
- /**
- * The meta object literal for the '<em><b>Faculty</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute STUDENT__FACULTY = eINSTANCE.getStudent_Faculty();
-
- }
-
-} //AssociationoverridePackage
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Employee.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Employee.java
deleted file mode 100644
index cc3bf6e22..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Employee.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Employee.java,v 1.3 2010/02/06 18:17:46 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Employee</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Employee#getDepartment <em>Department</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#getEmployee()
- * @model annotation="teneo.jpa appinfo='@AssociationOverride(name=\"address\" joinColumns=@JoinColumn(name=\"employee_address_id\"))'"
- * extendedMetaData="name='Employee' kind='elementOnly'"
- * @generated
- */
-public interface Employee extends Person {
- /**
- * Returns the value of the '<em><b>Department</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Department</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Department</em>' attribute.
- * @see #setDepartment(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#getEmployee_Department()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='department'"
- * @generated
- */
- String getDepartment();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Employee#getDepartment <em>Department</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Department</em>' attribute.
- * @see #getDepartment()
- * @generated
- */
- void setDepartment(String value);
-
-} // Employee \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Person.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Person.java
deleted file mode 100644
index ffab3bd9e..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Person.java
+++ /dev/null
@@ -1,141 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Person.java,v 1.4 2010/02/06 18:17:46 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Person</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getId <em>Id</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getAddress <em>Address</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#getPerson()
- * @model annotation="teneo.jpa appinfo='@MappedSuperclass'"
- * extendedMetaData="name='Person' kind='elementOnly'"
- * @generated
- */
-public interface Person extends EObject {
- /**
- * Returns the value of the '<em><b>Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Id</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Id</em>' attribute.
- * @see #isSetId()
- * @see #unsetId()
- * @see #setId(long)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#getPerson_Id()
- * @model unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Long" required="true"
- * annotation="teneo.jpa appinfo='@Id'"
- * extendedMetaData="kind='element' name='id'"
- * @generated
- */
- long getId();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getId <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Id</em>' attribute.
- * @see #isSetId()
- * @see #unsetId()
- * @see #getId()
- * @generated
- */
- void setId(long value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getId <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetId()
- * @see #getId()
- * @see #setId(long)
- * @generated
- */
- void unsetId();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getId <em>Id</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Id</em>' attribute is set.
- * @see #unsetId()
- * @see #getId()
- * @see #setId(long)
- * @generated
- */
- boolean isSetId();
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#getPerson_Name()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='name'"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Address</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Address</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Address</em>' containment reference.
- * @see #setAddress(Address)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#getPerson_Address()
- * @model containment="true" required="true"
- * annotation="teneo.jpa appinfo='@ManyToOne'"
- * extendedMetaData="kind='element' name='address'"
- * @generated
- */
- Address getAddress();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getAddress <em>Address</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Address</em>' containment reference.
- * @see #getAddress()
- * @generated
- */
- void setAddress(Address value);
-
-} // Person \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Student.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Student.java
deleted file mode 100644
index edbae2879..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Student.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Student.java,v 1.3 2010/02/06 18:17:46 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Student</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Student#getFaculty <em>Faculty</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#getStudent()
- * @model extendedMetaData="name='Student' kind='elementOnly'"
- * @generated
- */
-public interface Student extends Person {
- /**
- * Returns the value of the '<em><b>Faculty</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Faculty</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Faculty</em>' attribute.
- * @see #setFaculty(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#getStudent_Faculty()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='faculty'"
- * @generated
- */
- String getFaculty();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Student#getFaculty <em>Faculty</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Faculty</em>' attribute.
- * @see #getFaculty()
- * @generated
- */
- void setFaculty(String value);
-
-} // Student \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AddressImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AddressImpl.java
deleted file mode 100644
index 198cb574f..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AddressImpl.java
+++ /dev/null
@@ -1,221 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AddressImpl.java,v 1.4 2010/02/06 18:17:47 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address;
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Address</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AddressImpl#getStreet <em>Street</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AddressImpl#getPostalCode <em>Postal Code</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class AddressImpl extends EObjectImpl implements Address {
- /**
- * The default value of the '{@link #getStreet() <em>Street</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStreet()
- * @generated
- * @ordered
- */
- protected static final String STREET_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getStreet() <em>Street</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStreet()
- * @generated
- * @ordered
- */
- protected String street = STREET_EDEFAULT;
-
- /**
- * The default value of the '{@link #getPostalCode() <em>Postal Code</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPostalCode()
- * @generated
- * @ordered
- */
- protected static final String POSTAL_CODE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getPostalCode() <em>Postal Code</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPostalCode()
- * @generated
- * @ordered
- */
- protected String postalCode = POSTAL_CODE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected AddressImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return AssociationoverridePackage.Literals.ADDRESS;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getStreet() {
- return street;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setStreet(String newStreet) {
- String oldStreet = street;
- street = newStreet;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AssociationoverridePackage.ADDRESS__STREET, oldStreet, street));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getPostalCode() {
- return postalCode;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPostalCode(String newPostalCode) {
- String oldPostalCode = postalCode;
- postalCode = newPostalCode;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AssociationoverridePackage.ADDRESS__POSTAL_CODE, oldPostalCode, postalCode));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case AssociationoverridePackage.ADDRESS__STREET:
- return getStreet();
- case AssociationoverridePackage.ADDRESS__POSTAL_CODE:
- return getPostalCode();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case AssociationoverridePackage.ADDRESS__STREET:
- setStreet((String)newValue);
- return;
- case AssociationoverridePackage.ADDRESS__POSTAL_CODE:
- setPostalCode((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case AssociationoverridePackage.ADDRESS__STREET:
- setStreet(STREET_EDEFAULT);
- return;
- case AssociationoverridePackage.ADDRESS__POSTAL_CODE:
- setPostalCode(POSTAL_CODE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case AssociationoverridePackage.ADDRESS__STREET:
- return STREET_EDEFAULT == null ? street != null : !STREET_EDEFAULT.equals(street);
- case AssociationoverridePackage.ADDRESS__POSTAL_CODE:
- return POSTAL_CODE_EDEFAULT == null ? postalCode != null : !POSTAL_CODE_EDEFAULT.equals(postalCode);
- }
- 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(" (street: ");
- result.append(street);
- result.append(", postalCode: ");
- result.append(postalCode);
- result.append(')');
- return result.toString();
- }
-
-} //AddressImpl \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AssociationoverrideFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AssociationoverrideFactoryImpl.java
deleted file mode 100644
index 19499c0b8..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AssociationoverrideFactoryImpl.java
+++ /dev/null
@@ -1,132 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AssociationoverrideFactoryImpl.java,v 1.4 2010/02/06 18:17:47 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.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.eclipse.emf.teneo.samples.emf.annotations.associationoverride.*;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class AssociationoverrideFactoryImpl extends EFactoryImpl implements AssociationoverrideFactory {
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static AssociationoverrideFactory init() {
- try {
- AssociationoverrideFactory theAssociationoverrideFactory = (AssociationoverrideFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride");
- if (theAssociationoverrideFactory != null) {
- return theAssociationoverrideFactory;
- }
- }
- catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new AssociationoverrideFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AssociationoverrideFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case AssociationoverridePackage.ADDRESS: return createAddress();
- case AssociationoverridePackage.EMPLOYEE: return createEmployee();
- case AssociationoverridePackage.PERSON: return createPerson();
- case AssociationoverridePackage.STUDENT: return createStudent();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Address createAddress() {
- AddressImpl address = new AddressImpl();
- return address;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Employee createEmployee() {
- EmployeeImpl employee = new EmployeeImpl();
- return employee;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Person createPerson() {
- PersonImpl person = new PersonImpl();
- return person;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Student createStudent() {
- StudentImpl student = new StudentImpl();
- return student;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AssociationoverridePackage getAssociationoverridePackage() {
- return (AssociationoverridePackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static AssociationoverridePackage getPackage() {
- return AssociationoverridePackage.eINSTANCE;
- }
-
-} //AssociationoverrideFactoryImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AssociationoverridePackageImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AssociationoverridePackageImpl.java
deleted file mode 100644
index 0d49f8032..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AssociationoverridePackageImpl.java
+++ /dev/null
@@ -1,455 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AssociationoverridePackageImpl.java,v 1.5 2010/02/06 18:17:47 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.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.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address;
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverrideFactory;
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Employee;
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person;
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Student;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class AssociationoverridePackageImpl extends EPackageImpl implements AssociationoverridePackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass addressEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass employeeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass personEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass studentEClass = 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.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#eNS_URI
- * @see #init()
- * @generated
- */
- private AssociationoverridePackageImpl() {
- super(eNS_URI, AssociationoverrideFactory.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 AssociationoverridePackage init() {
- if (isInited) return (AssociationoverridePackage)EPackage.Registry.INSTANCE.getEPackage(AssociationoverridePackage.eNS_URI);
-
- // Obtain or create and register package
- AssociationoverridePackageImpl theAssociationoverridePackage = (AssociationoverridePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof AssociationoverridePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new AssociationoverridePackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- XMLTypePackage.eINSTANCE.eClass();
-
- // Create package meta-data objects
- theAssociationoverridePackage.createPackageContents();
-
- // Initialize created meta-data
- theAssociationoverridePackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theAssociationoverridePackage.freeze();
-
- return theAssociationoverridePackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getAddress() {
- return addressEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAddress_Street() {
- return (EAttribute)addressEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAddress_PostalCode() {
- return (EAttribute)addressEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getEmployee() {
- return employeeEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getEmployee_Department() {
- return (EAttribute)employeeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPerson() {
- return personEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPerson_Id() {
- return (EAttribute)personEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPerson_Name() {
- return (EAttribute)personEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPerson_Address() {
- return (EReference)personEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getStudent() {
- return studentEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getStudent_Faculty() {
- return (EAttribute)studentEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AssociationoverrideFactory getAssociationoverrideFactory() {
- return (AssociationoverrideFactory)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
- addressEClass = createEClass(ADDRESS);
- createEAttribute(addressEClass, ADDRESS__STREET);
- createEAttribute(addressEClass, ADDRESS__POSTAL_CODE);
-
- employeeEClass = createEClass(EMPLOYEE);
- createEAttribute(employeeEClass, EMPLOYEE__DEPARTMENT);
-
- personEClass = createEClass(PERSON);
- createEAttribute(personEClass, PERSON__ID);
- createEAttribute(personEClass, PERSON__NAME);
- createEReference(personEClass, PERSON__ADDRESS);
-
- studentEClass = createEClass(STUDENT);
- createEAttribute(studentEClass, STUDENT__FACULTY);
- }
-
- /**
- * <!-- 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
- XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
- employeeEClass.getESuperTypes().add(this.getPerson());
- studentEClass.getESuperTypes().add(this.getPerson());
-
- // Initialize classes and features; add operations and parameters
- initEClass(addressEClass, Address.class, "Address", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getAddress_Street(), theXMLTypePackage.getString(), "street", null, 1, 1, Address.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAddress_PostalCode(), theXMLTypePackage.getString(), "postalCode", null, 1, 1, Address.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(employeeEClass, Employee.class, "Employee", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getEmployee_Department(), theXMLTypePackage.getString(), "department", null, 1, 1, Employee.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(personEClass, Person.class, "Person", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPerson_Id(), theXMLTypePackage.getLong(), "id", null, 1, 1, Person.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPerson_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, Person.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPerson_Address(), this.getAddress(), null, "address", null, 1, 1, Person.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(studentEClass, Student.class, "Student", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getStudent_Faculty(), theXMLTypePackage.getString(), "faculty", null, 1, 1, Student.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();
- // teneo.jpa
- createTeneoAnnotations();
- }
-
- /**
- * 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
- (addressEClass,
- source,
- new String[] {
- "name", "Address",
- "kind", "elementOnly"
- });
- addAnnotation
- (getAddress_Street(),
- source,
- new String[] {
- "kind", "element",
- "name", "street"
- });
- addAnnotation
- (getAddress_PostalCode(),
- source,
- new String[] {
- "kind", "element",
- "name", "postalCode"
- });
- addAnnotation
- (employeeEClass,
- source,
- new String[] {
- "name", "Employee",
- "kind", "elementOnly"
- });
- addAnnotation
- (getEmployee_Department(),
- source,
- new String[] {
- "kind", "element",
- "name", "department"
- });
- addAnnotation
- (personEClass,
- source,
- new String[] {
- "name", "Person",
- "kind", "elementOnly"
- });
- addAnnotation
- (getPerson_Id(),
- source,
- new String[] {
- "kind", "element",
- "name", "id"
- });
- addAnnotation
- (getPerson_Name(),
- source,
- new String[] {
- "kind", "element",
- "name", "name"
- });
- addAnnotation
- (getPerson_Address(),
- source,
- new String[] {
- "kind", "element",
- "name", "address"
- });
- addAnnotation
- (studentEClass,
- source,
- new String[] {
- "name", "Student",
- "kind", "elementOnly"
- });
- addAnnotation
- (getStudent_Faculty(),
- source,
- new String[] {
- "kind", "element",
- "name", "faculty"
- });
- }
-
- /**
- * Initializes the annotations for <b>teneo.jpa</b>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void createTeneoAnnotations() {
- String source = "teneo.jpa";
- addAnnotation
- (employeeEClass,
- source,
- new String[] {
- "appinfo", "@AssociationOverride(name=\"address\" joinColumns=@JoinColumn(name=\"employee_address_id\"))"
- });
- addAnnotation
- (personEClass,
- source,
- new String[] {
- "appinfo", "@MappedSuperclass"
- });
- addAnnotation
- (getPerson_Id(),
- source,
- new String[] {
- "appinfo", "@Id"
- });
- addAnnotation
- (getPerson_Address(),
- source,
- new String[] {
- "appinfo", "@ManyToOne"
- });
- }
-
-} //AssociationoverridePackageImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/EmployeeImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/EmployeeImpl.java
deleted file mode 100644
index a684be18b..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/EmployeeImpl.java
+++ /dev/null
@@ -1,166 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: EmployeeImpl.java,v 1.4 2010/02/06 18:17:47 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Employee;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Employee</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.EmployeeImpl#getDepartment <em>Department</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EmployeeImpl extends PersonImpl implements Employee {
- /**
- * The default value of the '{@link #getDepartment() <em>Department</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDepartment()
- * @generated
- * @ordered
- */
- protected static final String DEPARTMENT_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDepartment() <em>Department</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDepartment()
- * @generated
- * @ordered
- */
- protected String department = DEPARTMENT_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EmployeeImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return AssociationoverridePackage.Literals.EMPLOYEE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDepartment() {
- return department;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDepartment(String newDepartment) {
- String oldDepartment = department;
- department = newDepartment;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AssociationoverridePackage.EMPLOYEE__DEPARTMENT, oldDepartment, department));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case AssociationoverridePackage.EMPLOYEE__DEPARTMENT:
- return getDepartment();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case AssociationoverridePackage.EMPLOYEE__DEPARTMENT:
- setDepartment((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case AssociationoverridePackage.EMPLOYEE__DEPARTMENT:
- setDepartment(DEPARTMENT_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case AssociationoverridePackage.EMPLOYEE__DEPARTMENT:
- return DEPARTMENT_EDEFAULT == null ? department != null : !DEPARTMENT_EDEFAULT.equals(department);
- }
- 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(" (department: ");
- result.append(department);
- result.append(')');
- return result.toString();
- }
-
-} //EmployeeImpl \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/PersonImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/PersonImpl.java
deleted file mode 100644
index 8b4029f02..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/PersonImpl.java
+++ /dev/null
@@ -1,336 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: PersonImpl.java,v 1.4 2010/02/06 18:17:47 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address;
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Person</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.PersonImpl#getId <em>Id</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.PersonImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.PersonImpl#getAddress <em>Address</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class PersonImpl extends EObjectImpl implements Person {
- /**
- * The default value of the '{@link #getId() <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getId()
- * @generated
- * @ordered
- */
- protected static final long ID_EDEFAULT = 0L;
-
- /**
- * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getId()
- * @generated
- * @ordered
- */
- protected long id = ID_EDEFAULT;
-
- /**
- * This is true if the Id attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean idESet = false;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getAddress() <em>Address</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAddress()
- * @generated
- * @ordered
- */
- protected Address address = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PersonImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return AssociationoverridePackage.Literals.PERSON;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public long getId() {
- return id;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setId(long newId) {
- long oldId = id;
- id = newId;
- boolean oldIdESet = idESet;
- idESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AssociationoverridePackage.PERSON__ID, oldId, id, !oldIdESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetId() {
- long oldId = id;
- boolean oldIdESet = idESet;
- id = ID_EDEFAULT;
- idESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, AssociationoverridePackage.PERSON__ID, oldId, ID_EDEFAULT, oldIdESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetId() {
- return idESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AssociationoverridePackage.PERSON__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Address getAddress() {
- return address;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetAddress(Address newAddress, NotificationChain msgs) {
- Address oldAddress = address;
- address = newAddress;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AssociationoverridePackage.PERSON__ADDRESS, oldAddress, newAddress);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setAddress(Address newAddress) {
- if (newAddress != address) {
- NotificationChain msgs = null;
- if (address != null)
- msgs = ((InternalEObject)address).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AssociationoverridePackage.PERSON__ADDRESS, null, msgs);
- if (newAddress != null)
- msgs = ((InternalEObject)newAddress).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AssociationoverridePackage.PERSON__ADDRESS, null, msgs);
- msgs = basicSetAddress(newAddress, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AssociationoverridePackage.PERSON__ADDRESS, newAddress, newAddress));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case AssociationoverridePackage.PERSON__ADDRESS:
- return basicSetAddress(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 AssociationoverridePackage.PERSON__ID:
- return new Long(getId());
- case AssociationoverridePackage.PERSON__NAME:
- return getName();
- case AssociationoverridePackage.PERSON__ADDRESS:
- return getAddress();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case AssociationoverridePackage.PERSON__ID:
- setId(((Long)newValue).longValue());
- return;
- case AssociationoverridePackage.PERSON__NAME:
- setName((String)newValue);
- return;
- case AssociationoverridePackage.PERSON__ADDRESS:
- setAddress((Address)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case AssociationoverridePackage.PERSON__ID:
- unsetId();
- return;
- case AssociationoverridePackage.PERSON__NAME:
- setName(NAME_EDEFAULT);
- return;
- case AssociationoverridePackage.PERSON__ADDRESS:
- setAddress((Address)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case AssociationoverridePackage.PERSON__ID:
- return isSetId();
- case AssociationoverridePackage.PERSON__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case AssociationoverridePackage.PERSON__ADDRESS:
- return address != 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(" (id: ");
- if (idESet) result.append(id); else result.append("<unset>");
- result.append(", name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-} //PersonImpl \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/StudentImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/StudentImpl.java
deleted file mode 100644
index 99477ef65..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/StudentImpl.java
+++ /dev/null
@@ -1,166 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: StudentImpl.java,v 1.4 2010/02/06 18:17:47 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Student;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Student</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.StudentImpl#getFaculty <em>Faculty</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class StudentImpl extends PersonImpl implements Student {
- /**
- * The default value of the '{@link #getFaculty() <em>Faculty</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFaculty()
- * @generated
- * @ordered
- */
- protected static final String FACULTY_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getFaculty() <em>Faculty</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFaculty()
- * @generated
- * @ordered
- */
- protected String faculty = FACULTY_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected StudentImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return AssociationoverridePackage.Literals.STUDENT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getFaculty() {
- return faculty;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setFaculty(String newFaculty) {
- String oldFaculty = faculty;
- faculty = newFaculty;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AssociationoverridePackage.STUDENT__FACULTY, oldFaculty, faculty));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case AssociationoverridePackage.STUDENT__FACULTY:
- return getFaculty();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case AssociationoverridePackage.STUDENT__FACULTY:
- setFaculty((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case AssociationoverridePackage.STUDENT__FACULTY:
- setFaculty(FACULTY_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case AssociationoverridePackage.STUDENT__FACULTY:
- return FACULTY_EDEFAULT == null ? faculty != null : !FACULTY_EDEFAULT.equals(faculty);
- }
- 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(" (faculty: ");
- result.append(faculty);
- result.append(')');
- return result.toString();
- }
-
-} //StudentImpl \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/AssociationOverride.genmodel b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/AssociationOverride.genmodel
deleted file mode 100644
index 4edc7eeca..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/AssociationOverride.genmodel
+++ /dev/null
@@ -1,26 +0,0 @@
-<?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.eclipse.emf.teneo.samples/src"
- modelPluginID="org.eclipse.emf.teneo.samples" modelName="AssociationOverride"
- importerID="org.eclipse.xsd.ecore.importer" complianceLevel="5.0">
- <foreignModel>AssociationOverride.xsd</foreignModel>
- <genPackages prefix="Associationoverride" basePackage="org.eclipse.emf.teneo.samples.emf.annotations"
- resource="XML" disposableProviderFactory="true" ecorePackage="associationoverride.ecore#/">
- <genClasses ecoreClass="associationoverride.ecore#//Address">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute associationoverride.ecore#//Address/street"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute associationoverride.ecore#//Address/postalCode"/>
- </genClasses>
- <genClasses ecoreClass="associationoverride.ecore#//Employee">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute associationoverride.ecore#//Employee/department"/>
- </genClasses>
- <genClasses ecoreClass="associationoverride.ecore#//Person">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute associationoverride.ecore#//Person/id"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute associationoverride.ecore#//Person/name"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference associationoverride.ecore#//Person/address"/>
- </genClasses>
- <genClasses ecoreClass="associationoverride.ecore#//Student">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute associationoverride.ecore#//Student/faculty"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/AssociationOverride.xsd b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/AssociationOverride.xsd
deleted file mode 100644
index 4dea7e203..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/AssociationOverride.xsd
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:this="http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride">
-
- <xsd:complexType name="Address">
- <xsd:sequence>
- <xsd:element name="street" type="xsd:string"/>
- <xsd:element name="postalCode" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:complexType name="Person">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">@MappedSuperclass</xsd:appinfo>
- </xsd:annotation>
- <xsd:sequence>
- <xsd:element name="id" type="xsd:long">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">@Id</xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="name" type="xsd:string"/>
- <xsd:element name="address" type="this:Address">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">@ManyToOne</xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:complexType name="Student">
- <!-- Leave the Address foreign key column as-is. ("address_id") -->
- <xsd:complexContent>
- <xsd:extension base="this:Person">
- <xsd:sequence>
- <xsd:element name="faculty" type="xsd:string"/>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
-
- <xsd:complexType name="Employee">
- <xsd:annotation>
- <!-- Override the Address foreign key column. ("employee_address_id") -->
- <xsd:appinfo source="teneo.jpa">@AssociationOverride(name="address" joinColumns=@JoinColumn(name="employee_address_id"))</xsd:appinfo>
- </xsd:annotation>
- <xsd:complexContent>
- <xsd:extension base="this:Person">
- <xsd:sequence>
- <xsd:element name="department" type="xsd:string"/>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
-
-</xsd:schema> \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/associationoverride.ecore b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/associationoverride.ecore
deleted file mode 100644
index ec2fbffca..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/associationoverride.ecore
+++ /dev/null
@@ -1,92 +0,0 @@
-<?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="associationoverride"
- nsURI="http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride"
- nsPrefix="associationoverride">
- <eClassifiers xsi:type="ecore:EClass" name="Address">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Address"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="street" unique="false"
- 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="element"/>
- <details key="name" value="street"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="postalCode" unique="false"
- 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="element"/>
- <details key="name" value="postalCode"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Employee" eSuperTypes="#//Person">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@AssociationOverride(name=&quot;address&quot; joinColumns=@JoinColumn(name=&quot;employee_address_id&quot;))"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Employee"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="department" unique="false"
- 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="element"/>
- <details key="name" value="department"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Person">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@MappedSuperclass"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Person"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" unique="false" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Long" unsettable="true">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@Id"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="id"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" 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="element"/>
- <details key="name" value="name"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="address" lowerBound="1"
- eType="#//Address" containment="true" resolveProxies="false">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@ManyToOne"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="address"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Student" eSuperTypes="#//Person">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Student"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="faculty" unique="false"
- 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="element"/>
- <details key="name" value="faculty"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/associationoverride.ecore_diagram b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/associationoverride.ecore_diagram
deleted file mode 100644
index 44ee51987..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/associationoverride.ecore_diagram
+++ /dev/null
@@ -1,103 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.0/notation" xmi:id="_TMWwQAuNEdurFblPbm8dBg" type="Ecore" measurementUnit="Pixel">
- <children xmi:type="notation:Node" xmi:id="_xt_4MAuOEdurFblPbm8dBg" type="2001">
- <children xmi:type="notation:Node" xmi:id="_xt_4NguOEdurFblPbm8dBg" type="5001"/>
- <children xmi:type="notation:Node" xmi:id="_xt_4NwuOEdurFblPbm8dBg" type="7001">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuAfQAuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuAfQQuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuAfQguOEdurFblPbm8dBg"/>
- </children>
- <children xmi:type="notation:Node" xmi:id="_xuAfQwuOEdurFblPbm8dBg" type="7002">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuAfRAuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuAfRQuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuAfRguOEdurFblPbm8dBg"/>
- </children>
- <children xmi:type="notation:Node" xmi:id="_xuAfRwuOEdurFblPbm8dBg" type="7003">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuAfSAuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuAfSQuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuAfSguOEdurFblPbm8dBg"/>
- </children>
- <styles xmi:type="notation:FontStyle" xmi:id="_xt_4MQuOEdurFblPbm8dBg" fontName="Sans"/>
- <styles xmi:type="notation:DescriptionStyle" xmi:id="_xt_4MguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FillStyle" xmi:id="_xt_4MwuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:LineStyle" xmi:id="_xt_4NAuOEdurFblPbm8dBg"/>
- <element xmi:type="ecore:EClass" href="associationoverride.ecore#//Address"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xt_4NQuOEdurFblPbm8dBg" x="128" y="16" width="176" height="80"/>
- </children>
- <children xmi:type="notation:Node" xmi:id="_xuAfSwuOEdurFblPbm8dBg" type="2001">
- <children xmi:type="notation:Node" xmi:id="_xuBGUAuOEdurFblPbm8dBg" type="5001"/>
- <children xmi:type="notation:Node" xmi:id="_xuBGUQuOEdurFblPbm8dBg" type="7001">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuBGUguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuBGUwuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuBGVAuOEdurFblPbm8dBg"/>
- </children>
- <children xmi:type="notation:Node" xmi:id="_xuBGVQuOEdurFblPbm8dBg" type="7002">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuBGVguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuBGVwuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuBGWAuOEdurFblPbm8dBg"/>
- </children>
- <children xmi:type="notation:Node" xmi:id="_xuBGWQuOEdurFblPbm8dBg" type="7003">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuBGWguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuBGWwuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuBGXAuOEdurFblPbm8dBg"/>
- </children>
- <styles xmi:type="notation:FontStyle" xmi:id="_xuAfTAuOEdurFblPbm8dBg" fontName="Sans"/>
- <styles xmi:type="notation:DescriptionStyle" xmi:id="_xuAfTQuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FillStyle" xmi:id="_xuAfTguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:LineStyle" xmi:id="_xuAfTwuOEdurFblPbm8dBg"/>
- <element xmi:type="ecore:EClass" href="associationoverride.ecore#//Employee"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xuAfUAuOEdurFblPbm8dBg" x="320" y="192" width="320" height="112"/>
- </children>
- <children xmi:type="notation:Node" xmi:id="_xuBtYAuOEdurFblPbm8dBg" type="2001">
- <children xmi:type="notation:Node" xmi:id="_xuBtZguOEdurFblPbm8dBg" type="5001"/>
- <children xmi:type="notation:Node" xmi:id="_xuBtZwuOEdurFblPbm8dBg" type="7001">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuBtaAuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuBtaQuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuBtaguOEdurFblPbm8dBg"/>
- </children>
- <children xmi:type="notation:Node" xmi:id="_xuCUcAuOEdurFblPbm8dBg" type="7002">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuCUcQuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuCUcguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuCUcwuOEdurFblPbm8dBg"/>
- </children>
- <children xmi:type="notation:Node" xmi:id="_xuCUdAuOEdurFblPbm8dBg" type="7003">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuCUdQuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuCUdguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuCUdwuOEdurFblPbm8dBg"/>
- </children>
- <styles xmi:type="notation:FontStyle" xmi:id="_xuBtYQuOEdurFblPbm8dBg" fontName="Sans"/>
- <styles xmi:type="notation:DescriptionStyle" xmi:id="_xuBtYguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FillStyle" xmi:id="_xuBtYwuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:LineStyle" xmi:id="_xuBtZAuOEdurFblPbm8dBg"/>
- <element xmi:type="ecore:EClass" href="associationoverride.ecore#//Person"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xuBtZQuOEdurFblPbm8dBg" x="480" width="272" height="112"/>
- </children>
- <children xmi:type="notation:Node" xmi:id="_xuCUeAuOEdurFblPbm8dBg" type="2001">
- <children xmi:type="notation:Node" xmi:id="_xuCUfguOEdurFblPbm8dBg" type="5001"/>
- <children xmi:type="notation:Node" xmi:id="_xuC7gAuOEdurFblPbm8dBg" type="7001">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuC7gQuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuC7gguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuC7gwuOEdurFblPbm8dBg"/>
- </children>
- <children xmi:type="notation:Node" xmi:id="_xuC7hAuOEdurFblPbm8dBg" type="7002">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuC7hQuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuC7hguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuC7hwuOEdurFblPbm8dBg"/>
- </children>
- <children xmi:type="notation:Node" xmi:id="_xuC7iAuOEdurFblPbm8dBg" type="7003">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuC7iQuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuC7iguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuC7iwuOEdurFblPbm8dBg"/>
- </children>
- <styles xmi:type="notation:FontStyle" xmi:id="_xuCUeQuOEdurFblPbm8dBg" fontName="Sans"/>
- <styles xmi:type="notation:DescriptionStyle" xmi:id="_xuCUeguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FillStyle" xmi:id="_xuCUewuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:LineStyle" xmi:id="_xuCUfAuOEdurFblPbm8dBg"/>
- <element xmi:type="ecore:EClass" href="associationoverride.ecore#//Student"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xuCUfQuOEdurFblPbm8dBg" x="752" y="192" width="304" height="80"/>
- </children>
- <styles xmi:type="notation:PageStyle" xmi:id="_TMWwQQuNEdurFblPbm8dBg"/>
- <styles xmi:type="notation:GuideStyle" xmi:id="_TMWwQguNEdurFblPbm8dBg"/>
- <styles xmi:type="notation:DescriptionStyle" xmi:id="_TMWwQwuNEdurFblPbm8dBg"/>
- <element xmi:type="ecore:EPackage" href="associationoverride.ecore#/"/>
-</notation:Diagram>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideAdapterFactory.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideAdapterFactory.java
deleted file mode 100644
index c987f243d..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideAdapterFactory.java
+++ /dev/null
@@ -1,178 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AssociationoverrideAdapterFactory.java,v 1.4 2010/02/06 18:17:47 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.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.teneo.samples.emf.annotations.associationoverride.*;
-
-/**
- * <!-- 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.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage
- * @generated
- */
-public class AssociationoverrideAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static AssociationoverridePackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AssociationoverrideAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = AssociationoverridePackage.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 the delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected AssociationoverrideSwitch<Adapter> modelSwitch =
- new AssociationoverrideSwitch<Adapter>() {
- @Override
- public Adapter caseAddress(Address object) {
- return createAddressAdapter();
- }
- @Override
- public Adapter caseEmployee(Employee object) {
- return createEmployeeAdapter();
- }
- @Override
- public Adapter casePerson(Person object) {
- return createPersonAdapter();
- }
- @Override
- public Adapter caseStudent(Student object) {
- return createStudentAdapter();
- }
- @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.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address <em>Address</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.teneo.samples.emf.annotations.associationoverride.Address
- * @generated
- */
- public Adapter createAddressAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Employee <em>Employee</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.teneo.samples.emf.annotations.associationoverride.Employee
- * @generated
- */
- public Adapter createEmployeeAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person <em>Person</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.teneo.samples.emf.annotations.associationoverride.Person
- * @generated
- */
- public Adapter createPersonAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Student <em>Student</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.teneo.samples.emf.annotations.associationoverride.Student
- * @generated
- */
- public Adapter createStudentAdapter() {
- 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;
- }
-
-} //AssociationoverrideAdapterFactory
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideResourceFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideResourceFactoryImpl.java
deleted file mode 100644
index 08182a795..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideResourceFactoryImpl.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AssociationoverrideResourceFactoryImpl.java,v 1.4 2010/02/06 18:17:47 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.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.eclipse.emf.teneo.samples.emf.annotations.associationoverride.util.AssociationoverrideResourceImpl
- * @generated
- */
-public class AssociationoverrideResourceFactoryImpl extends ResourceFactoryImpl {
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AssociationoverrideResourceFactoryImpl() {
- super();
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Resource createResource(URI uri) {
- XMLResource result = new AssociationoverrideResourceImpl(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;
- }
-
-} //AssociationoverrideResourceFactoryImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideResourceImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideResourceImpl.java
deleted file mode 100644
index f1d9814c2..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideResourceImpl.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AssociationoverrideResourceImpl.java,v 1.3 2010/02/06 18:17:47 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.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.eclipse.emf.teneo.samples.emf.annotations.associationoverride.util.AssociationoverrideResourceFactoryImpl
- * @generated
- */
-public class AssociationoverrideResourceImpl extends XMLResourceImpl {
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param uri the URI of the new resource.
- * @generated
- */
- public AssociationoverrideResourceImpl(URI uri) {
- super(uri);
- }
-
-} //AssociationoverrideResourceImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideSwitch.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideSwitch.java
deleted file mode 100644
index 3c8bef084..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideSwitch.java
+++ /dev/null
@@ -1,195 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AssociationoverrideSwitch.java,v 1.4 2010/02/06 18:17:47 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.util;
-
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.*;
-
-/**
- * <!-- 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.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage
- * @generated
- */
-public class AssociationoverrideSwitch<T> {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static AssociationoverridePackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AssociationoverrideSwitch() {
- if (modelPackage == null) {
- modelPackage = AssociationoverridePackage.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 AssociationoverridePackage.ADDRESS: {
- Address address = (Address)theEObject;
- T result = caseAddress(address);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case AssociationoverridePackage.EMPLOYEE: {
- Employee employee = (Employee)theEObject;
- T result = caseEmployee(employee);
- if (result == null) result = casePerson(employee);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case AssociationoverridePackage.PERSON: {
- Person person = (Person)theEObject;
- T result = casePerson(person);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case AssociationoverridePackage.STUDENT: {
- Student student = (Student)theEObject;
- T result = caseStudent(student);
- if (result == null) result = casePerson(student);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Address</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 interpretting the object as an instance of '<em>Address</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAddress(Address object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Employee</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 interpretting the object as an instance of '<em>Employee</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEmployee(Employee object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Person</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 interpretting the object as an instance of '<em>Person</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePerson(Person object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Student</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 interpretting the object as an instance of '<em>Student</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseStudent(Student object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting 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 interpretting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- public T defaultCase(EObject object) {
- return null;
- }
-
-} //AssociationoverrideSwitch
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideXMLProcessor.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideXMLProcessor.java
deleted file mode 100644
index 3df59cc5e..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideXMLProcessor.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AssociationoverrideXMLProcessor.java,v 1.4 2010/02/06 18:17:47 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.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.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage;
-
-/**
- * This class contains helper methods to serialize and deserialize XML documents
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class AssociationoverrideXMLProcessor extends XMLProcessor {
- /**
- * Public constructor to instantiate the helper.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AssociationoverrideXMLProcessor() {
- super((EPackage.Registry.INSTANCE));
- AssociationoverridePackage.eINSTANCE.eClass();
- }
-
- /**
- * Register for "*" and "xml" file extensions the AssociationoverrideResourceFactoryImpl 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 AssociationoverrideResourceFactoryImpl());
- registrations.put(STAR_EXTENSION, new AssociationoverrideResourceFactoryImpl());
- }
- return registrations;
- }
-
-} //AssociationoverrideXMLProcessor
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/AddressValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/AddressValidator.java
deleted file mode 100644
index 10e747931..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/AddressValidator.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AddressValidator.java,v 1.1 2007/02/08 23:09:23 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address}.
- * This doesn't really do anything, and it's not a real EMF artifact.
- * It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
- * This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
- */
-public interface AddressValidator {
- boolean validate();
-
- boolean validateStreet(String value);
- boolean validatePostalCode(String value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/EmployeeValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/EmployeeValidator.java
deleted file mode 100644
index 60c7e39de..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/EmployeeValidator.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: EmployeeValidator.java,v 1.1 2007/02/08 23:09:23 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Employee}.
- * This doesn't really do anything, and it's not a real EMF artifact.
- * It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
- * This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
- */
-public interface EmployeeValidator {
- boolean validate();
-
- boolean validateDepartment(String value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/PersonValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/PersonValidator.java
deleted file mode 100644
index 6ae82a9f7..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/PersonValidator.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: PersonValidator.java,v 1.1 2007/02/08 23:09:24 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.validation;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address;
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person}.
- * This doesn't really do anything, and it's not a real EMF artifact.
- * It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
- * This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
- */
-public interface PersonValidator {
- boolean validate();
-
- boolean validateId(long value);
- boolean validateName(String value);
- boolean validateAddress(Address value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/StudentValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/StudentValidator.java
deleted file mode 100644
index ee77035b5..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/StudentValidator.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: StudentValidator.java,v 1.1 2007/02/08 23:09:24 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Student}.
- * This doesn't really do anything, and it's not a real EMF artifact.
- * It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
- * This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
- */
-public interface StudentValidator {
- boolean validate();
-
- boolean validateFaculty(String value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/AttributeoverridesFactory.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/AttributeoverridesFactory.java
deleted file mode 100644
index 3765d3115..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/AttributeoverridesFactory.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AttributeoverridesFactory.java,v 1.1 2006/07/11 16:57:08 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides;
-
-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.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.AttributeoverridesPackage
- * @generated
- */
-public interface AttributeoverridesFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- AttributeoverridesFactory eINSTANCE = org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.AttributeoverridesFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Person</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Person</em>'.
- * @generated
- */
- Person createPerson();
-
- /**
- * Returns a new object of class '<em>City</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>City</em>'.
- * @generated
- */
- City createCity();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- AttributeoverridesPackage getAttributeoverridesPackage();
-
-} //AttributeoverridesFactory
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/AttributeoverridesPackage.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/AttributeoverridesPackage.java
deleted file mode 100644
index 1ae82cc3d..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/AttributeoverridesPackage.java
+++ /dev/null
@@ -1,305 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AttributeoverridesPackage.java,v 1.2 2006/09/04 15:42:25 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- 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 -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.AttributeoverridesFactory
- * @model kind="package"
- * @generated
- */
-public interface AttributeoverridesPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "attributeoverrides";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http:///org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides.ecore";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- AttributeoverridesPackage eINSTANCE = org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.AttributeoverridesPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.PersonImpl <em>Person</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.PersonImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.AttributeoverridesPackageImpl#getPerson()
- * @generated
- */
- int PERSON = 0;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PERSON__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Born In</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PERSON__BORN_IN = 1;
-
- /**
- * The feature id for the '<em><b>Lives In</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PERSON__LIVES_IN = 2;
-
- /**
- * The number of structural features of the '<em>Person</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PERSON_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.CityImpl <em>City</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.CityImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.AttributeoverridesPackageImpl#getCity()
- * @generated
- */
- int CITY = 1;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CITY__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Country</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CITY__COUNTRY = 1;
-
- /**
- * The number of structural features of the '<em>City</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CITY_FEATURE_COUNT = 2;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.Person <em>Person</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Person</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.Person
- * @generated
- */
- EClass getPerson();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.Person#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.Person#getName()
- * @see #getPerson()
- * @generated
- */
- EAttribute getPerson_Name();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.Person#getBornIn <em>Born In</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Born In</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.Person#getBornIn()
- * @see #getPerson()
- * @generated
- */
- EReference getPerson_BornIn();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.Person#getLivesIn <em>Lives In</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Lives In</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.Person#getLivesIn()
- * @see #getPerson()
- * @generated
- */
- EReference getPerson_LivesIn();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.City <em>City</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>City</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.City
- * @generated
- */
- EClass getCity();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.City#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.City#getName()
- * @see #getCity()
- * @generated
- */
- EAttribute getCity_Name();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.City#getCountry <em>Country</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Country</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.City#getCountry()
- * @see #getCity()
- * @generated
- */
- EAttribute getCity_Country();
-
- /**
- * 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
- */
- AttributeoverridesFactory getAttributeoverridesFactory();
-
- /**
- * <!-- 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.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.PersonImpl <em>Person</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.PersonImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.AttributeoverridesPackageImpl#getPerson()
- * @generated
- */
- EClass PERSON = eINSTANCE.getPerson();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PERSON__NAME = eINSTANCE.getPerson_Name();
-
- /**
- * The meta object literal for the '<em><b>Born In</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PERSON__BORN_IN = eINSTANCE.getPerson_BornIn();
-
- /**
- * The meta object literal for the '<em><b>Lives In</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PERSON__LIVES_IN = eINSTANCE.getPerson_LivesIn();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.CityImpl <em>City</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.CityImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.impl.AttributeoverridesPackageImpl#getCity()
- * @generated
- */
- EClass CITY = eINSTANCE.getCity();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CITY__NAME = eINSTANCE.getCity_Name();
-
- /**
- * The meta object literal for the '<em><b>Country</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CITY__COUNTRY = eINSTANCE.getCity_Country();
-
- }
-
-} //AttributeoverridesPackage
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/City.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/City.java
deleted file mode 100644
index caa600ae7..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/City.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: City.java,v 1.2 2006/11/07 10:22:28 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>City</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.City#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.City#getCountry <em>Country</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.AttributeoverridesPackage#getCity()
- * @model annotation="teneo.jpa appinfo='@Embeddable'"
- * @generated
- */
-public interface City extends EObject {
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.AttributeoverridesPackage#getCity_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.City#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Country</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Country</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Country</em>' attribute.
- * @see #setCountry(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.AttributeoverridesPackage#getCity_Country()
- * @model
- * @generated
- */
- String getCountry();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.City#getCountry <em>Country</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Country</em>' attribute.
- * @see #getCountry()
- * @generated
- */
- void setCountry(String value);
-
-} // City
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/Person.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/Person.java
deleted file mode 100644
index a24349377..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/Person.java
+++ /dev/null
@@ -1,114 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Person.java,v 1.3 2006/11/07 10:22:28 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Person</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * Test MappedSuperclass annotation
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.Person#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.Person#getBornIn <em>Born In</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.Person#getLivesIn <em>Lives In</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.AttributeoverridesPackage#getPerson()
- * @model
- * @generated
- */
-public interface Person extends EObject {
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.AttributeoverridesPackage#getPerson_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.Person#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Born In</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Born In</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Born In</em>' reference.
- * @see #setBornIn(City)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.AttributeoverridesPackage#getPerson_BornIn()
- * @model required="true"
- * annotation="teneo.jpa appinfo='@Embedded\n@AttributeOverride(name=\"name\" column=@Column(name=\"bornNameColumn\"))'"
- * @generated
- */
- City getBornIn();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.Person#getBornIn <em>Born In</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Born In</em>' reference.
- * @see #getBornIn()
- * @generated
- */
- void setBornIn(City value);
-
- /**
- * Returns the value of the '<em><b>Lives In</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Lives In</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Lives In</em>' reference.
- * @see #setLivesIn(City)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.AttributeoverridesPackage#getPerson_LivesIn()
- * @model required="true"
- * annotation="teneo.jpa appinfo='@Embedded\n@AttributeOverrides({\n\t@AttributeOverride(name=\"name\" column=@Column(name=\"nameColumn\")),\n\t@AttributeOverride(name=\"country\" column=@Column(name=\"countryColumn\"))\n})'"
- * @generated
- */
- City getLivesIn();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.Person#getLivesIn <em>Lives In</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Lives In</em>' reference.
- * @see #getLivesIn()
- * @generated
- */
- void setLivesIn(City value);
-
-} // Person
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/impl/AttributeoverridesFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/impl/AttributeoverridesFactoryImpl.java
deleted file mode 100644
index 179a64d35..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/impl/AttributeoverridesFactoryImpl.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AttributeoverridesFactoryImpl.java,v 1.5 2007/02/08 23:09:19 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.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.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.*;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.AttributeoverridesFactory;
-import org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.AttributeoverridesPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.City;
-import org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.Person;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class AttributeoverridesFactoryImpl extends EFactoryImpl implements AttributeoverridesFactory {
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static AttributeoverridesFactory init() {
- try {
- AttributeoverridesFactory theAttributeoverridesFactory = (AttributeoverridesFactory)EPackage.Registry.INSTANCE.getEFactory("http:///org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides.ecore");
- if (theAttributeoverridesFactory != null) {
- return theAttributeoverridesFactory;
- }
- }
- catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new AttributeoverridesFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AttributeoverridesFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case AttributeoverridesPackage.PERSON: return createPerson();
- case AttributeoverridesPackage.CITY: return createCity();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Person createPerson() {
- PersonImpl person = new PersonImpl();
- return person;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public City createCity() {
- CityImpl city = new CityImpl();
- return city;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AttributeoverridesPackage getAttributeoverridesPackage() {
- return (AttributeoverridesPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static AttributeoverridesPackage getPackage() {
- return AttributeoverridesPackage.eINSTANCE;
- }
-
-} //AttributeoverridesFactoryImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/impl/AttributeoverridesPackageImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/impl/AttributeoverridesPackageImpl.java
deleted file mode 100644
index 590662532..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides/impl/AttributeoverridesPackageImpl.java
+++ /dev/null
@@ -1,284 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AttributeoverridesPackageImpl.java,v 1.4 2007/02/08 23:09:19 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.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.teneo.samples.emf.annotations.attributeoverrides.AttributeoverridesFactory;
-import org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.AttributeoverridesPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.City;
-import org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.Person;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class AttributeoverridesPackageImpl extends EPackageImpl implements AttributeoverridesPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass personEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass cityEClass = 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.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides.AttributeoverridesPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private AttributeoverridesPackageImpl() {
- super(eNS_URI, AttributeoverridesFactory.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 AttributeoverridesPackage init() {
- if (isInited) return (AttributeoverridesPackage)EPackage.Registry.INSTANCE.getEPackage(AttributeoverridesPackage.eNS_URI);
-
- // Obtain or create and register package
- AttributeoverridesPackageImpl theAttributeoverridesPackage = (AttributeoverridesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof AttributeoverridesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new AttributeoverridesPackageImpl());
-
- isInited = true;
-
- // Create package meta-data objects
- theAttributeoverridesPackage.createPackageContents();
-
- // Initialize created meta-data
- theAttributeoverridesPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theAttributeoverridesPackage.freeze();
-
- return theAttributeoverridesPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPerson() {
- return personEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPerson_Name() {
- return (EAttribute)personEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPerson_BornIn() {
- return (EReference)personEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPerson_LivesIn() {
- return (EReference)personEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getCity() {
- return cityEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getCity_Name() {
- return (EAttribute)cityEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getCity_Country() {
- return (EAttribute)cityEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AttributeoverridesFactory getAttributeoverridesFactory() {
- return (AttributeoverridesFactory)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
- personEClass = createEClass(PERSON);
- createEAttribute(personEClass, PERSON__NAME);
- createEReference(personEClass, PERSON__BORN_IN);
- createEReference(personEClass, PERSON__LIVES_IN);
-
- cityEClass = createEClass(CITY);
- createEAttribute(cityEClass, CITY__NAME);
- createEAttribute(cityEClass, CITY__COUNTRY);
- }
-
- /**
- * <!-- 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 a