Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc) » [Texo] IllegalStateException: The object ... is not contained in a resource.
[Texo] IllegalStateException: The object ... is not contained in a resource. [message #1384674] |
Fri, 30 May 2014 08:52 |
Atang Sutisna Messages: 4 Registered: May 2014 |
Junior Member |
|
|
We have a project with two ecores:
1. inventorybalance.ecore, which depends on
2. jpa.ecore
During Texo > Code Gen Annotated model :
1. First try: Error below happens, file inventorybalance-code-gen.annotationsmodel is not created.
2. Secondary try: Error below happens, file inventorybalance-code-gen.annotationsmodel is created.
Texo > Generate JPA Annotated Model Code is working fine.
eclipse.buildId=4.3.2.M20140221-1700
java.version=1.8.0_05
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
java.lang.IllegalStateException: java.lang.IllegalStateException: Exception (The object 'org.eclipse.emf.texo.modelgenerator.modelannotations.EPackageModelGenAnnotation@6025fc3 (description: null, lastIdentifier: null, generated: false) (documentation: null, name: jpa, addRuntimeModelBehavior: <unset>, generateInterfaces: <unset>, packagePath: org.soluvas.jpa.jpa, modelClassesPackagePath: org.soluvas.jpa.jpa, qualifiedClassName: org.soluvas.jpa.jpa.JpaModelPackage, simpleClassName: JpaModelPackage, simpleModelFactoryClassName: JpaModelFactory, ecoreFileContent: ...
, ecoreFileName: jpa.ecore, javaFileHeader: null, modelPackageClassNamePostFix: ModelPackage, modelFactoryClassNamePostFix: ModelFactory, featureGroupClassNamePostFix: FeatureGroup, generateSafeManyAccess: <unset>, rootClassExtends: null, rootInterfaceExtends: null, featureMapClassExtends: null, generateBidirectionalAssociationSupport: <unset>, handleEcoreFile: <unset>, daoClassesPackagePath: org.soluvas.jpa.jpa.dao, daoPatternName: dao, daoRootClass: org.eclipse.emf.texo.server.store.BaseDao)' is not contained in a resource.
at org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.handleDanglingHREF(XMLHelperImpl.java:754)
at org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.getURIFragment(XMLHelperImpl.java:725)
at org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.getIDREF(XMLHelperImpl.java:747)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveIDRefMany(XMLSaveImpl.java:2018)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1365)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1219)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XMLSaveImpl.java:2711)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1176)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1037)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveContainedMany(XMLSaveImpl.java:2412)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1548)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1219)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XMLSaveImpl.java:2711)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1176)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1037)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveContainedMany(XMLSaveImpl.java:2412)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1548)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1219)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XMLSaveImpl.java:2711)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.writeTopObject(XMLSaveImpl.java:678)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.traverse(XMLSaveImpl.java:586)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.save(XMLSaveImpl.java:251)
... 13 more
(Complete log in attachment, since forum message is limited in length)
[Updated on: Fri, 30 May 2014 08:55] Report message to a moderator
|
|
|
Re: [Texo] IllegalStateException: The object ... is not contained in a resource. [message #1384684 is a reply to message #1384674] |
Fri, 30 May 2014 10:50 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Atang,
Is there anything special with the location/folder in which the ecore files are present, is it a separate linked folder
or something?
Can you send me the files? You can send them directly to mtaal_at_elver.org
gr. Martin
On 30-05-14 10:52, Atang Sutisna wrote:
> We have a project with two ecores:
>
> 1. inventorybalance.ecore, which depends on
> 2. jpa.ecore
>
> During Texo > Code Gen Annotated model :
>
> 1. First try: Error below happens, file inventorybalance-code-gen.annotationsmodel is not created.
> 2. Secondary try: Error below happens, file inventorybalance-code-gen.annotationsmodel is created.
>
> Texo > Generate JPA Annotated Model Code is working fine.
>
> eclipse.buildId=4.3.2.M20140221-1700
> java.version=1.8.0_05
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments: -product org.eclipse.epp.package.jee.product
> Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
>
>
> java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException
> at org.eclipse.emf.texo.eclipse.popup.actions.BaseGenerateAction.run(BaseGenerateAction.java:86)
> at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
> Caused by: java.lang.reflect.InvocationTargetException
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421)
> at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
> at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:275)
> at org.eclipse.ui.internal.progress.ProgressManager$3.run(ProgressManager.java:960)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:995)
> at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:970)
> at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:1166)
> at org.eclipse.emf.texo.eclipse.popup.actions.BaseGenerateAction.run(BaseGenerateAction.java:79)
> ... 30 more
> Caused by: java.lang.IllegalStateException: java.lang.IllegalStateException: Exception (The object
> 'org.eclipse.emf.texo.modelgenerator.modelannotations.EPackageModelGenAnnotation@6025fc3 (description: null,
> lastIdentifier: null, generated: false) (documentation: null, name: jpa, addRuntimeModelBehavior: <unset>,
> generateInterfaces: <unset>, packagePath: org.soluvas.jpa.jpa, modelClassesPackagePath: org.soluvas.jpa.jpa,
> qualifiedClassName: org.soluvas.jpa.jpa.JpaModelPackage, simpleClassName: JpaModelPackage, simpleModelFactoryClassName:
> JpaModelFactory, ecoreFileContent: <?xml version="1.0" encoding="UTF-8"?>
> <ecore:EPackage xmi:version="2.0" xmlns:xmi="hxxp://www.omg.org/XMI" xmlns:xsi="hxxp://www.w3.org/2001/XMLSchema-instance"
> xmlns:ecore="hxxp://www.eclipse.org/emf/2002/Ecore" name="jpa" nsURI="hxxp://www.soluvas.org/jpa.jpa/" nsPrefix="jpa">
> <eClassifiers xsi:type="ecore:EClass" name="PostalAddress">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="See hxxp://www.upu.int/en/activities/addressing/standards.html - UPU S42.
>
> ID is RFC1274: unique identifer.
> LDAP: uniqueIdentifier
>
> 'name' attribute is Person name who will receive.
> RFC2256: common name(s) for which the entity is known by.
> cn, commonName.
>
> Can be used as:
>
> 1. Billing Address in SalesQuote/SalesOrder
> 2. Shipping Address in SalesQuote/SalesOrder
> 3. Origin Address in SalesQuote/SalesOrder
> 4. Person (Customer) Address
> 5. Shop Address
> 6. Mall Address
> "/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="organization" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="Organization or company name who will send or receive.
> Can be empty.
> RFC2256: organization this object belongs to
> LDAP: o, organizationName"/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="organization"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="street" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="street"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="city" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="city"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="postalCode" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="postalCode"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="province" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="province"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="country" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="RFC1274: friendly country name.
>
> LDAP: co, friendlyCountryName"/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="country"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="countryCode" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="ISO 3166-1 alpha-2.
>
> LDAP: c, countryName"/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="countryCode"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="primaryMobile" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="primaryMobile"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="mobiles" upperBound="-1"
> eType="ecore:EDataType hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="RFC1274: mobile telephone number
> LDAP: mobile, mobileTelephoneNumber"/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="mobiles"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="primaryPhone" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="RFC2256: Telephone Number
> LDAP: telephoneNumber
>
> For offices, usually work phone. For people, usually home phone."/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="primaryPhone"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="phones" upperBound="-1"
> eType="ecore:EDataType hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="phones"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="primaryHomePhone" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="primaryHomePhone"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="homePhones" upperBound="-1"
> eType="ecore:EDataType hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="RFC1274: home telephone number.
> LDAP: homePhone, homeTelephoneNumber."/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="homePhones"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="primaryWorkPhone" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="primaryWorkPhone"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="workPhones" upperBound="-1"
> eType="ecore:EDataType hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="RFC2256: Telephone Number.
> LDAP: (not yet mapped)"/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="workPhones"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="primaryEmail" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="primaryEmail"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="emails" upperBound="-1"
> eType="ecore:EDataType hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="LDAP: mail."/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="emails"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="What this address represents, usually "Home", "Work", etc."/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="description"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="primary" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EBoolean"
> defaultValueLiteral="false">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="Designates this Address as the primary Address of the containing list."/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="primary"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="primaryBilling" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EBoolean"
> defaultValueLiteral="false">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="Designates this Address as the primary billing Address of the containing
> list."/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="primaryBilling"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="primaryShipping" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EBoolean"
> defaultValueLiteral="false">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="Designates this Address as the primary billing Address of the containing
> list."/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="primaryShipping"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="validationTime" eType="#//DateTime">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="When this postal address was validated by the user."/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="validationTime"/>
> </eAnnotations>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Geolocation">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="Why Double?
>
> Hibernate Search has this as best practice:
> "add the @Latitude and @Longitude annotations on your properties representing the coordinates; these must be of type
> Double"
> hxxp://docs.jboss.org/hibernate/search/4.2/reference/en-US/html/spatial.html"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="latitude" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EDoubleObject">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="latitude"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="longitude" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EDoubleObject">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="longitude"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="elevation" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EDoubleObject">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="elevation"/>
> </eAnnotations>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="PersonInfo">
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" lowerBound="1" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="id"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="slug" lowerBound="1" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="slug"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="name"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="email" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="email"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="gender" eType="#//Gender">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="gender"/>
> </eAnnotations>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EDataType" name="CurrencyUnit" instanceClassName="org.joda.money.CurrencyUnit"/>
> <eClassifiers xsi:type="ecore:EDataType" name="DateTime" instanceClassName="org.joda.time.DateTime"/>
> <eClassifiers xsi:type="ecore:EDataType" name="LocalDate" instanceClassName="org.joda.time.LocalDate"/>
> <eClassifiers xsi:type="ecore:EDataType" name="Quantity" instanceClassName="javax.measure.quantity.Quantity"
> serializable="false"/>
> <eClassifiers xsi:type="ecore:EDataType" name="Unit" instanceClassName="javax.measure.unit.Unit">
> <eTypeParameters name="Q">
> <eBounds eClassifier="#//Quantity"/>
> </eTypeParameters>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EDataType" name="UUID" instanceClassName="java.util.UUID"/>
> <eClassifiers xsi:type="ecore:EEnum" name="Gender">
> <eLiterals name="male" value="1"/>
> <eLiterals name="female" value="2"/>
> <eLiterals name="unknown"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EDataType" name="GenericStatus" instanceClassName="org.soluvas.commons.GenericStatus"/>
> </ecore:EPackage>
> , ecoreFileName: jpa.ecore, javaFileHeader: null, modelPackageClassNamePostFix: ModelPackage,
> modelFactoryClassNamePostFix: ModelFactory, featureGroupClassNamePostFix: FeatureGroup, generateSafeManyAccess: <unset>,
> rootClassExtends: null, rootInterfaceExtends: null, featureMapClassExtends: null,
> generateBidirectionalAssociationSupport: <unset>, handleEcoreFile: <unset>, daoClassesPackagePath:
> org.soluvas.jpa.jpa.dao, daoPatternName: dao, daoRootClass: org.eclipse.emf.texo.server.store.BaseDao)' is not contained
> in a resource.) for modelFile: /id.co.bippo.inventory/src/main/resources/id/co/bippo/inventory/inventorybalance.ecore
> epackage InventoryBalance epackage uri :
> platform:/resource/id.co.bippo.inventory/src/main/resources/id/co/bippo/inventory/inventorybalance.ecore
> at
> org.eclipse.emf.texo.eclipse.popup.actions.GenerateAnnotationModel.generateFromModelFile(GenerateAnnotationModel.java:107)
> at
> org.eclipse.emf.texo.eclipse.popup.actions.GenerateAnnotationModel.generateFromModelFiles(GenerateAnnotationModel.java:48)
> at org.eclipse.emf.texo.eclipse.popup.actions.BaseGenerateAction.generate(BaseGenerateAction.java:127)
> at org.eclipse.emf.texo.eclipse.popup.actions.BaseGenerateAction.generate(BaseGenerateAction.java:107)
> at org.eclipse.emf.texo.eclipse.popup.actions.BaseGenerateAction$1.execute(BaseGenerateAction.java:75)
> at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2345)
> at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
> Caused by: java.lang.IllegalStateException: Exception (The object
> 'org.eclipse.emf.texo.modelgenerator.modelannotations.EPackageModelGenAnnotation@6025fc3 (description: null,
> lastIdentifier: null, generated: false) (documentation: null, name: jpa, addRuntimeModelBehavior: <unset>,
> generateInterfaces: <unset>, packagePath: org.soluvas.jpa.jpa, modelClassesPackagePath: org.soluvas.jpa.jpa,
> qualifiedClassName: org.soluvas.jpa.jpa.JpaModelPackage, simpleClassName: JpaModelPackage, simpleModelFactoryClassName:
> JpaModelFactory, ecoreFileContent: <?xml version="1.0" encoding="UTF-8"?>
> <ecore:EPackage xmi:version="2.0" xmlns:xmi="hxxp://www.omg.org/XMI" xmlns:xsi="hxxp://www.w3.org/2001/XMLSchema-instance"
> xmlns:ecore="hxxp://www.eclipse.org/emf/2002/Ecore" name="jpa" nsURI="hxxp://www.soluvas.org/jpa.jpa/" nsPrefix="jpa">
> <eClassifiers xsi:type="ecore:EClass" name="PostalAddress">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="See hxxp://www.upu.int/en/activities/addressing/standards.html - UPU S42.
>
> ID is RFC1274: unique identifer.
> LDAP: uniqueIdentifier
>
> 'name' attribute is Person name who will receive.
> RFC2256: common name(s) for which the entity is known by.
> cn, commonName.
>
> Can be used as:
>
> 1. Billing Address in SalesQuote/SalesOrder
> 2. Shipping Address in SalesQuote/SalesOrder
> 3. Origin Address in SalesQuote/SalesOrder
> 4. Person (Customer) Address
> 5. Shop Address
> 6. Mall Address
> "/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="organization" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="Organization or company name who will send or receive.
> Can be empty.
> RFC2256: organization this object belongs to
> LDAP: o, organizationName"/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="organization"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="street" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="street"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="city" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="city"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="postalCode" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="postalCode"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="province" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="province"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="country" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="RFC1274: friendly country name.
>
> LDAP: co, friendlyCountryName"/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="country"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="countryCode" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="ISO 3166-1 alpha-2.
>
> LDAP: c, countryName"/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="countryCode"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="primaryMobile" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="primaryMobile"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="mobiles" upperBound="-1"
> eType="ecore:EDataType hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="RFC1274: mobile telephone number
> LDAP: mobile, mobileTelephoneNumber"/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="mobiles"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="primaryPhone" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="RFC2256: Telephone Number
> LDAP: telephoneNumber
>
> For offices, usually work phone. For people, usually home phone."/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="primaryPhone"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="phones" upperBound="-1"
> eType="ecore:EDataType hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="phones"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="primaryHomePhone" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="primaryHomePhone"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="homePhones" upperBound="-1"
> eType="ecore:EDataType hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="RFC1274: home telephone number.
> LDAP: homePhone, homeTelephoneNumber."/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="homePhones"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="primaryWorkPhone" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="primaryWorkPhone"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="workPhones" upperBound="-1"
> eType="ecore:EDataType hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="RFC2256: Telephone Number.
> LDAP: (not yet mapped)"/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="workPhones"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="primaryEmail" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="primaryEmail"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="emails" upperBound="-1"
> eType="ecore:EDataType hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="LDAP: mail."/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="emails"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="What this address represents, usually "Home", "Work", etc."/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="description"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="primary" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EBoolean"
> defaultValueLiteral="false">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="Designates this Address as the primary Address of the containing list."/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="primary"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="primaryBilling" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EBoolean"
> defaultValueLiteral="false">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="Designates this Address as the primary billing Address of the containing
> list."/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="primaryBilling"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="primaryShipping" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EBoolean"
> defaultValueLiteral="false">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="Designates this Address as the primary billing Address of the containing
> list."/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="primaryShipping"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="validationTime" eType="#//DateTime">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="When this postal address was validated by the user."/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="validationTime"/>
> </eAnnotations>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Geolocation">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="Why Double?
>
> Hibernate Search has this as best practice:
> "add the @Latitude and @Longitude annotations on your properties representing the coordinates; these must be of type
> Double"
> hxxp://docs.jboss.org/hibernate/search/4.2/reference/en-US/html/spatial.html"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="latitude" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EDoubleObject">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="latitude"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="longitude" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EDoubleObject">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="longitude"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="elevation" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EDoubleObject">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="elevation"/>
> </eAnnotations>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="PersonInfo">
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" lowerBound="1" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="id"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="slug" lowerBound="1" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="slug"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="name"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="email" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="email"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="gender" eType="#//Gender">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="gender"/>
> </eAnnotations>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EDataType" name="CurrencyUnit" instanceClassName="org.joda.money.CurrencyUnit"/>
> <eClassifiers xsi:type="ecore:EDataType" name="DateTime" instanceClassName="org.joda.time.DateTime"/>
> <eClassifiers xsi:type="ecore:EDataType" name="LocalDate" instanceClassName="org.joda.time.LocalDate"/>
> <eClassifiers xsi:type="ecore:EDataType" name="Quantity" instanceClassName="javax.measure.quantity.Quantity"
> serializable="false"/>
> <eClassifiers xsi:type="ecore:EDataType" name="Unit" instanceClassName="javax.measure.unit.Unit">
> <eTypeParameters name="Q">
> <eBounds eClassifier="#//Quantity"/>
> </eTypeParameters>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EDataType" name="UUID" instanceClassName="java.util.UUID"/>
> <eClassifiers xsi:type="ecore:EEnum" name="Gender">
> <eLiterals name="male" value="1"/>
> <eLiterals name="female" value="2"/>
> <eLiterals name="unknown"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EDataType" name="GenericStatus" instanceClassName="org.soluvas.commons.GenericStatus"/>
> </ecore:EPackage>
> , ecoreFileName: jpa.ecore, javaFileHeader: null, modelPackageClassNamePostFix: ModelPackage,
> modelFactoryClassNamePostFix: ModelFactory, featureGroupClassNamePostFix: FeatureGroup, generateSafeManyAccess: <unset>,
> rootClassExtends: null, rootInterfaceExtends: null, featureMapClassExtends: null,
> generateBidirectionalAssociationSupport: <unset>, handleEcoreFile: <unset>, daoClassesPackagePath:
> org.soluvas.jpa.jpa.dao, daoPatternName: dao, daoRootClass: org.eclipse.emf.texo.server.store.BaseDao)' is not contained
> in a resource.) for modelFile: /id.co.bippo.inventory/src/main/resources/id/co/bippo/inventory/inventorybalance.ecore
> epackage InventoryBalance epackage uri :
> platform:/resource/id.co.bippo.inventory/src/main/resources/id/co/bippo/inventory/inventorybalance.ecore
> at
> org.eclipse.emf.texo.generator.AnnotationModelGenerator.createStoreAnnotationModel(AnnotationModelGenerator.java:94)
> at
> org.eclipse.emf.texo.eclipse.popup.actions.GenerateAnnotationModel.generateFromModelFile(GenerateAnnotationModel.java:104)
> ... 8 more
> Caused by: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: The object
> 'org.eclipse.emf.texo.modelgenerator.modelannotations.EPackageModelGenAnnotation@6025fc3 (description: null,
> lastIdentifier: null, generated: false) (documentation: null, name: jpa, addRuntimeModelBehavior: <unset>,
> generateInterfaces: <unset>, packagePath: org.soluvas.jpa.jpa, modelClassesPackagePath: org.soluvas.jpa.jpa,
> qualifiedClassName: org.soluvas.jpa.jpa.JpaModelPackage, simpleClassName: JpaModelPackage, simpleModelFactoryClassName:
> JpaModelFactory, ecoreFileContent: <?xml version="1.0" encoding="UTF-8"?>
> <ecore:EPackage xmi:version="2.0" xmlns:xmi="hxxp://www.omg.org/XMI" xmlns:xsi="hxxp://www.w3.org/2001/XMLSchema-instance"
> xmlns:ecore="hxxp://www.eclipse.org/emf/2002/Ecore" name="jpa" nsURI="hxxp://www.soluvas.org/jpa.jpa/" nsPrefix="jpa">
> <eClassifiers xsi:type="ecore:EClass" name="PostalAddress">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="See hxxp://www.upu.int/en/activities/addressing/standards.html - UPU S42.
>
> ID is RFC1274: unique identifer.
> LDAP: uniqueIdentifier
>
> 'name' attribute is Person name who will receive.
> RFC2256: common name(s) for which the entity is known by.
> cn, commonName.
>
> Can be used as:
>
> 1. Billing Address in SalesQuote/SalesOrder
> 2. Shipping Address in SalesQuote/SalesOrder
> 3. Origin Address in SalesQuote/SalesOrder
> 4. Person (Customer) Address
> 5. Shop Address
> 6. Mall Address
> "/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="organization" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="hxxp://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value="Organization or company name who will send or receive.
> Can be empty.
> RFC2256: organization this object belongs to
> LDAP: o, organizationName"/>
> </eAnnotations>
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="organization"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="street" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="street"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="city" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="city"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="postalCode" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source="org.eclipse.emf.texo">
> <details key="java.member" value="postalCode"/>
> </eAnnotations>
> </eStructuralFeatures>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="province" eType="ecore:EDataType
> hxxp://www.eclipse.org/emf/2002/Ecore#//EString">
> <eAnnotations source=&qu
|
|
| |
Re: [Texo] IllegalStateException: The object ... is not contained in a resource. [message #1384899 is a reply to message #1384867] |
Mon, 02 June 2014 21:25 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Hendy,
The files won't work like this as the references between the files use a path like this:
.../../../../../../../../org.soluvas.jpa/src/main/resources/org/soluvas/jpa/jpa.ecore#//DateTime
so it seems that the workspace structure is quite deep. Can you share the workspace with me somehow?
For the original newsgroup post, the stacktrace is quite long as the package content is also printed, but the part which
interests me is therefore cut of at the end it seems, can you post the complete stacktrace?
gr. Martin
On 02-06-14 18:27, Hendy Irawan wrote:
> Martin Taal wrote on Fri, 30 May 2014 06:50
>> Hi Atang,
>> Is there anything special with the location/folder in which the ecore files are present, is it a separate linked folder
>> or something?
>>
>> Can you send me the files? You can send them directly to mtaal_at_elver.org
>>
>> gr. Martin
>
>
> These are the files...
>
> No linked folder. But the two ecore files are in different projects, but in the same workspace.
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
|
|
|
Goto Forum:
Current Time: Tue Mar 19 13:12:47 GMT 2024
Powered by FUDForum. Page generated in 0.02483 seconds
|