Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc) » Teneo newbi, problems getting started
|
Re: Teneo newbi, problems getting started [message #68429 is a reply to message #68416] |
Sat, 20 January 2007 05:41 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
It can't find/set a unique name for the eclass references by a many-ereference. Can you debug to
that line and check why the compare to is on null and for which ereference/eclass it goes wrong?
If you see nothing strange can you then send me the ecore model?
gr. Martin
mark wrote:
> I have the following code section in the start() method of my plugin:
>
> final Properties props = new Properties();
> props.setProperty(Environment.DRIVER, "com.mysql.jdbc.Driver");
> props.setProperty(Environment.USER, "geib");
> props.setProperty(Environment.URL,
> "jdbc:mysql://200.50.32.186:3306/srdV3");
> props.setProperty(Environment.PASS, "");
> props.setProperty(Environment.DIALECT,
> org.hibernate.dialect.MySQL5InnoDBDialect.class.getName());
>
> // Initialize and create the HbDataStore
> HbDataStore dataStore =
> HbHelper.INSTANCE.createRegisterDataStore("srdV3");
> dataStore.setEPackages(new EPackage[] {SrdPackage.eINSTANCE});
> dataStore.setHibernateProperties(props);
> dataStore.initialize();
>
> When the last line, dataStore.initialize() is called I get the following
> stack trace...any ideas or help would be appreciated.
>
> Mark.
>
> java.lang.NullPointerException
> at java.lang.String.compareTo(Unknown Source)
> at
> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessOneToManyReference(DefaultAnnotator.java:785)
>
> at
> org.eclipse.emf.teneo.hibernate.hbannotation.util.HibernateD efaultAnnotator.processOneToManyReference(HibernateDefaultAn notator.java:176)
>
> at
> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessEFeature(DefaultAnnotator.java:511)
>
> at
> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessClass(DefaultAnnotator.java:390)
>
> at
> org.eclipse.emf.teneo.hibernate.hbannotation.util.HibernateD efaultAnnotator.processClass(HibernateDefaultAnnotator.java: 140)
>
> at
> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessPackage(DefaultAnnotator.java:235)
>
> at
> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.ma p(DefaultAnnotator.java:155)
>
> at
> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder.buildMapping(PersistenceMappingBuilder.java:158)
>
> at
> org.eclipse.emf.teneo.hibernate.HbDataStore.mapEPackages(HbD ataStore.java:374)
>
> at
> org.eclipse.emf.teneo.hibernate.HbDataStore.mapModel(HbDataS tore.java:363)
> at
> org.eclipse.emf.teneo.hibernate.HbDataStore.initialize(HbDat aStore.java:156)
>
> at
> srd.view.navigator.ServiceNavigatorPlugin.start(ServiceNavig atorPlugin.java:73)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:991)
>
>
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
| |
Re: Teneo newbi, problems getting started [message #68531 is a reply to message #68521] |
Mon, 22 January 2007 18:19 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Mark,
The latest builds should allow you to validate your Ecore model for
problems like this one, i.e., open it in the Ecore editor and invoke
"Validate..." on the root package or programmatically using
Diagnostician.INSTANCE.validate. It sounds like you have an EReference
that either doesn't have a type or has a type that's an EDataType
instead of an EClass (for which you should use an EAttribute not an
EReference).
mark wrote:
> The call to eReference.getEReferenceType() is returning null in
> processOneToManyReference().
>
> This seems to be the problem.
>
> Is this something I can change in my model..?
>
> Thanks,
> Mark.
>
|
|
| |
Re: Teneo newbi, problems getting started [message #68563 is a reply to message #68429] |
Mon, 22 January 2007 21:22 |
Mark Geib Messages: 432 Registered: July 2009 |
Senior Member |
|
|
Martin,
After some more debugging it was not the call to getEReferenceType, but
the call to getEntityName() that returned null...
if (otm.getTargetEntity() == null)
otm.setTargetEntity(getEntityName(eReference.getEReferenceTy pe()));
}
The call to getEReferenceType() returned an EClass, but the name, and most
other attributes, were null for the EClass object.
I have included the ecore file, the error happends on the
services/ServiceGroups relationship as displayed below in the log...
22-Jan-2007 14:05:02,072 [DEBUG]
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator: EReference +
services/ServiceGroup does not have a onetomany annotation, adding one
-----------.ecore file-----------
<?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="srd"
nsURI="http://srd" nsPrefix="srd">
<eClassifiers xsi:type="ecore:EClass" name="Service">
<eStructuralFeatures xsi:type="ecore:EReference" name="links"
upperBound="-1"
eType="#//Link" containment="true" eOpposite="#//Link/service"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="contacts"
upperBound="-1"
eType="#//Contact" eOpposite="#//Contact/services"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="notes"
upperBound="-1"
eType="#//Note" containment="true" eOpposite="#//Note/service"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="locations"
upperBound="-1"
eType="#//Location" containment="true"
eOpposite="#//Location/service"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="serviceGroup"
lowerBound="1"
eType="#//ServiceGroup" eOpposite="#//ServiceGroup/services"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="organizations"
upperBound="-1"
eType="#//Organization" eOpposite="#//Organization/services"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="longName"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="EPGName"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="adult"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="externalLaunch"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="local"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="title"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="xmitProfile"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="epgSource"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="requestedVideoQuality"
eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="nocViewable"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="audioDelay"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="blackedOut"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="namedEquipment"
upperBound="-1"
eType="#//NamedEquipment" eOpposite="#//NamedEquipment/services"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="routerPorts"
upperBound="-1"
eType="#//RouterPort" containment="true"
eOpposite="#//RouterPort/service"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="allServices"
lowerBound="1"
eType="#//AllServices" eOpposite="#//AllServices/services"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="CheyenneUplink"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="GilbertUplink"
eType="#//EnumType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Link">
<eStructuralFeatures xsi:type="ecore:EReference" name="service"
lowerBound="1"
eType="#//Service" eOpposite="#//Service/links"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Contact">
<eStructuralFeatures xsi:type="ecore:EReference"
name="physicalAddresses" upperBound="-1"
eType="#//PhysicalAddress" containment="true"
eOpposite="#//PhysicalAddress/contact"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="phoneNumbers"
upperBound="-1"
eType="#//PhoneNumber" containment="true"
eOpposite="#//PhoneNumber/contact"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="emailAddresses"
upperBound="-1"
eType="#//EmailAddress" containment="true"
eOpposite="#//EmailAddress/contact"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="authInfo"
upperBound="-1"
eType="#//AuthInfo" containment="true"
eOpposite="#//AuthInfo/contact"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="urlAddresses"
upperBound="-1"
eType="#//UrlAddress" containment="true"
eOpposite="#//UrlAddress/contact"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ipAddresses"
upperBound="-1"
eType="#//IpAddress" containment="true"
eOpposite="#//IpAddress/contact"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="services"
upperBound="-1"
eType="#//Service" eOpposite="#//Service/contacts"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="namedEquipment"
upperBound="-1"
eType="#//NamedEquipment" eOpposite="#//NamedEquipment/contacts"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="organizations"
lowerBound="1"
eType="#//Organization" eOpposite="#//Organization/contacts"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Description"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="FirstName"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="LastName"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="MiddleName"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="NickName"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="CallOrder"
eType="#//EnumType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Note">
<eStructuralFeatures xsi:type="ecore:EReference" name="service"
lowerBound="1"
eType="#//Service" eOpposite="#//Service/notes"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="namedEquipment"
lowerBound="1"
eType="#//NamedEquipment" eOpposite="#//NamedEquipment/notes"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="routerPort"
lowerBound="1"
eType="#//RouterPort" eOpposite="#//RouterPort/notes"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="text"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="critical"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AuthInfo">
<eStructuralFeatures xsi:type="ecore:EReference" name="contact"
lowerBound="1"
eType="#//Contact" eOpposite="#//Contact/authInfo"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Description"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="authKey"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EmailAddress">
<eStructuralFeatures xsi:type="ecore:EReference" name="contact"
lowerBound="1"
eType="#//Contact" eOpposite="#//Contact/emailAddresses"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Address"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="IpAddress">
<eStructuralFeatures xsi:type="ecore:EReference" name="contact"
lowerBound="1"
eType="#//Contact" eOpposite="#//Contact/ipAddresses"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="IP"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="PhoneNumber">
<eStructuralFeatures xsi:type="ecore:EReference" name="contact"
lowerBound="1"
eType="#//Contact" eOpposite="#//Contact/phoneNumbers"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="AreaCode"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="CountryCode"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Description"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ShortNumber"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="UrlAddress">
<eStructuralFeatures xsi:type="ecore:EReference" name="contact"
lowerBound="1"
eType="#//Contact" eOpposite="#//Contact/urlAddresses"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Address"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="PhysicalAddress">
<eStructuralFeatures xsi:type="ecore:EReference" name="contact"
lowerBound="1"
eType="#//Contact" eOpposite="#//Contact/physicalAddresses"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="City"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Country"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="FirstLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="SecondLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ThirdLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="FourthLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="State"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="PostalCode"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Organization">
<eStructuralFeatures xsi:type="ecore:EReference" name="contacts"
upperBound="-1"
eType="#//Contact" containment="true"
eOpposite="#//Contact/organizations"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="services"
upperBound="-1"
eType="#//Service" eOpposite="#//Service/organizations"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="namedEquipment"
upperBound="-1"
eType="#//NamedEquipment"
eOpposite="#//NamedEquipment/organizations"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="contactList"
lowerBound="1"
eType="#//ContactList" eOpposite="#//ContactList/organizations"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Sar"
eSuperTypes="#//NamedEquipment"/>
<eClassifiers xsi:type="ecore:EClass" name="Hpa"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="designation"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="encMod"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="frequencyBand"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="misc"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="polarity"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="hpaType"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="hpaUse"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="UpConverter"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="attenuation"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="frequency"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ucOption"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ptcNumber"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ucType"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DtoAConverter"
eSuperTypes="#//NamedEquipment"/>
<eClassifiers xsi:type="ecore:EClass" name="AtoDConverter"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="audioDelay"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="horizontalPhase" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="verticalPhase"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Satellite"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="orbitalSlot"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="bandID"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="polarity"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="frequency"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SourceSatellite"
eSuperTypes="#//Satellite"/>
<eClassifiers xsi:type="ecore:EClass" name="EchostarSatellite"
eSuperTypes="#//Satellite"/>
<eClassifiers xsi:type="ecore:EClass" name="Cherrypicker"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="in1PrimarySource" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="in2PrimarySource" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="in3PrimarySource" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="in4PrimarySource" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="in5PrimarySource" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="in6PrimarySource" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="in7PrimarySource" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="in8PrimarySource" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="out1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="out2"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="out3"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="out4"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DishReceiver"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="channel"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="downlinkFrequency" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="forwardRateCorrection"
eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="lbandFrequency"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="smartCard"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="symbolRate"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="dishReceiverType" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="unitAuthorizationNumber"
eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="CommercialInserter"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="cueSource"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="cueType"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="dtmfStartNumber" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="dtmfStopNumber"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="frequency"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="preRoll"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="serverID"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="tcid"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="vbiDecoder"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="wegenerCardID"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="zone"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="TandB"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AudioDeEmbedder"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="group1Pr1GainDB" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="group1Pr1Swap"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="group1Pr2GainDB" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="group1Pr2Swap"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="group1Swap"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="group2Pr1GainDB" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="group2Pr1Swap"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="group2Pr2GainDB" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="group2Pr2Swap"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="group2Swap"
eType="#//EnumType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Antenna"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="acu"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="azimuth"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="deIce"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="designation"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="drive"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="elevation"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="gain"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="misc"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="sizeM"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="track"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="antennaType"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="antennaUse"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Feed"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="lnb1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="lnb2"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="lnb3"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="lnb4"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="orientation"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="feedType"
eType="#//EnumType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Hydra"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="engineNumber"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="head"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="module"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="MonitorWall"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ptc"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="rfDesignation"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="rfDisType"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EchostarXpndrFreq"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="frequency"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="polarity"
eType="#//EnumType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SourceXpndrFreq"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="frequency"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="polarity"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DividerPort"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="lbandFrequency"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="portNumber"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="BackhaulGroundStation"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="City"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Country"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="FirstLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="SecondLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ThirdLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="FourthLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="PostalCode"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="State"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="latitude"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="longitude"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DistributionAmp"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="frameNumber"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="daType"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="RouterPort">
<eStructuralFeatures xsi:type="ecore:EReference" name="router"
lowerBound="1"
eType="#//Router" eOpposite="#//Router/routerPorts"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="notes"
upperBound="-1"
eType="#//Note" containment="true" eOpposite="#//Note/routerPort"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="number"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="parentAlias"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="portType"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="linkedToAlias"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="linkedToId"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="parentId"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="description"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Id"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="service"
lowerBound="1"
eType="#//Service" eOpposite="#//Service/routerPorts"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="portLocations"
upperBound="-1"
eType="#//Location" eOpposite="#//Location/routerPort"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="RfPatch"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="band"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="designation"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="expansion"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="polarity"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="port"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Encoder"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="audioConfigStat" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Pr1Language"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="satellite"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Pr2Language"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Pr3Language"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Pr4Language"
eType="#//EnumType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AudioEmbedder"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="pr1Gain"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="pr2Gain"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Fiber"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="customer"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="fiber"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="VideoServer"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="role"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Ifl"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="endLocation"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="startLocation"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="otherIfls"
upperBound="-1"
eType="#//Ifl"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Ici"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ptcNumber"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="IpSwitch"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ipAddress"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="IpRouter"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ipAddress"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Patch"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="patchRow"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="StandardsConverter"
eSuperTypes="#//NamedEquipment"/>
<eClassifiers xsi:type="ecore:EClass" name="Divider"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="barCode"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="FiberPop"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="circuitID"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="City"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Country"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="FirstLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="SecondLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ThirdLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="FourthLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="PostalCode"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="State"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DolbyEEncoder"
eSuperTypes="#//NamedEquipment"/>
<eClassifiers xsi:type="ecore:EClass" name="DolbyEDecoder"
eSuperTypes="#//NamedEquipment"/>
<eClassifiers xsi:type="ecore:EClass" name="Ac3Decoder"
eSuperTypes="#//NamedEquipment"/>
<eClassifiers xsi:type="ecore:EClass" name="Ac3Encoder"
eSuperTypes="#//NamedEquipment"/>
<eClassifiers xsi:type="ecore:EClass" name="IpHub"
eSuperTypes="#//NamedEquipment"/>
<eClassifiers xsi:type="ecore:EClass" name="FrameSync"
eSuperTypes="#//NamedEquipment"/>
<eClassifiers xsi:type="ecore:EClass" name="AtmSwitch"
eSuperTypes="#//NamedEquipment"/>
<eClassifiers xsi:type="ecore:EClass" name="LocalRack"
eSuperTypes="#//NamedEquipment"/>
<eClassifiers xsi:type="
|
|
|
Re: Teneo newbi, problems getting started [message #68849 is a reply to message #68563] |
Mon, 22 January 2007 22:54 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Mark,
I used the ecore below to generate a hibernate mapping file. This also goes through the
DefaultAnnotator in exactly the same way as in your case and it went fine (btw I tested eclipse 3.2
and emf 2.2). I needed to name the file srd.ecore correct?
Can you debug further to see where getEReferenceType points to?
Here is the (quick and dirty) program I used to test the reading of the ecore file and generating
the mapping. Can you also try:
/**
* @param args
*/
public static void main(String[] args) {
try {
final ResourceSet resourceSet = new ResourceSetImpl();
resourceSet.getResourceFactoryRegistry().getExtensionToFacto ryMap().put( "*", new
EcoreResourceFactoryImpl());
final ArrayList epackages = new ArrayList();
final Resource res = resourceSet.getResource(URI.createFileURI("/home/mtaal/mytmp/srd.ecore "), true);
res.load(new HashMap());
Iterator it = res.getAllContents();
while (it.hasNext()) {
final Object obj = it.next();
if (obj instanceof EPackage) {
EPackage epack = (EPackage) obj;
if (EPackage.Registry.INSTANCE.getEPackage(epack.getNsURI()) == null) {
EPackage.Registry.INSTANCE.put(epack.getNsURI(), epack);
}
epackages.add(epack);
}
}
final EPackage[] epacks = (EPackage[])epackages.toArray(new EPackage[epackages.size()]);
System.err.println(HbHelper.INSTANCE.generateMapping(epacks, new Properties()));
} catch (Exception e) {
throw new RuntimeException(e.getMessage(), e);
}
}
Here is the mapping file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated by Teneo on Mon Jan 22 23:50:22 CET 2007 -->
<hibernate-mapping>
<class entity-name="Service" abstract="false" lazy="false" discriminator-value="Service"
table="`service`">
<meta attribute="eclassName">Service</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<list name="links" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`link_service_id`" not-null="false" unique="false"/>
</key>
<list-index column="`service_links_idx`"/>
<one-to-many entity-name="Link"/>
</list>
<list name="contacts" lazy="true" cascade="merge,persist,save-update,lock,refresh"
table="service_contact">
<key update="true">
<column name="`service_id`" not-null="true" unique="false"/>
</key>
<list-index column="`service_contacts_idx`"/>
<many-to-many entity-name="Contact" unique="false">
<column name="`contact_id`" not-null="true" unique="false"/>
</many-to-many>
</list>
<list name="notes" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`note_service_id`" not-null="false" unique="false"/>
</key>
<list-index column="`service_notes_idx`"/>
<one-to-many entity-name="Note"/>
</list>
<list name="locations" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`location_service_id`" not-null="false" unique="false"/>
</key>
<list-index column="`service_locations_idx`"/>
<one-to-many entity-name="Location"/>
</list>
<many-to-one name="serviceGroup" entity-name="ServiceGroup"
cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false"
not-null="false">
<column not-null="false" unique="false" name="`service_servicegroup_id`"/>
</many-to-one>
<list name="organizations" lazy="true" cascade="merge,persist,save-update,lock,refresh"
table="service_organization">
<key update="true">
<column name="`service_id`" not-null="true" unique="false"/>
</key>
<list-index column="`service_organizations_idx`"/>
<many-to-many entity-name="Organization" unique="false">
<column name="`organization_id`" not-null="true" unique="false"/>
</many-to-many>
</list>
<property name="longName" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`longname`"/>
</property>
<property name="EPGName" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`epgname`"/>
</property>
<property name="adult" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`adult`"/>
</property>
<property name="externalLaunch" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="long">
<column not-null="false" unique="false" name="`externallaunch`"/>
</property>
<property name="local" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`local`"/>
</property>
<property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`title`"/>
</property>
<property name="xmitProfile" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`xmitprofile`"/>
</property>
<property name="epgSource" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`epgsource`"/>
</property>
<property name="requestedVideoQuality" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`requestedvideoquality`"/>
</property>
<property name="nocViewable" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`nocviewable`"/>
</property>
<property name="audioDelay" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="long">
<column not-null="false" unique="false" name="`audiodelay`"/>
</property>
<property name="blackedOut" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`blackedout`"/>
</property>
<list name="namedEquipment" lazy="true" cascade="merge,persist,save-update,lock,refresh"
table="service_namedequipment">
<key update="true">
<column name="`service_id`" not-null="true" unique="false"/>
</key>
<list-index column="`service_namedequipment_idx`"/>
<many-to-many entity-name="NamedEquipment" unique="false">
<column name="`namedequipment_id`" not-null="true" unique="false"/>
</many-to-many>
</list>
<list name="routerPorts" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`routerport_service_id`" not-null="false" unique="false"/>
</key>
<list-index column="`service_routerports_idx`"/>
<one-to-many entity-name="RouterPort"/>
</list>
<many-to-one name="allServices" entity-name="AllServices"
cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false"
not-null="false">
<column not-null="false" unique="false" name="`service_allservices_id`"/>
</many-to-one>
<property name="CheyenneUplink" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`cheyenneuplink`"/>
</property>
<property name="GilbertUplink" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`gilbertuplink`"/>
</property>
</class>
<class entity-name="Link" abstract="false" lazy="false" discriminator-value="Link" table="`link`">
<meta attribute="eclassName">Link</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<many-to-one name="service" entity-name="Service" cascade="merge,persist,save-update,lock,refresh"
lazy="false" insert="false" update="false" not-null="false">
<column not-null="false" unique="false" name="`link_service_id`"/>
</many-to-one>
</class>
<class entity-name="Contact" abstract="false" lazy="false" discriminator-value="Contact"
table="`contact`">
<meta attribute="eclassName">Contact</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<list name="physicalAddresses" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`physicaladdress_contact_id`" not-null="false" unique="false"/>
</key>
<list-index column="`contact_physicaladdresses_idx`"/>
<one-to-many entity-name="PhysicalAddress"/>
</list>
<list name="phoneNumbers" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`phonenumber_contact_id`" not-null="false" unique="false"/>
</key>
<list-index column="`contact_phonenumbers_idx`"/>
<one-to-many entity-name="PhoneNumber"/>
</list>
<list name="emailAddresses" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`emailaddress_contact_id`" not-null="false" unique="false"/>
</key>
<list-index column="`contact_emailaddresses_idx`"/>
<one-to-many entity-name="EmailAddress"/>
</list>
<list name="authInfo" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`authinfo_contact_id`" not-null="false" unique="false"/>
</key>
<list-index column="`contact_authinfo_idx`"/>
<one-to-many entity-name="AuthInfo"/>
</list>
<list name="urlAddresses" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`urladdress_contact_id`" not-null="false" unique="false"/>
</key>
<list-index column="`contact_urladdresses_idx`"/>
<one-to-many entity-name="UrlAddress"/>
</list>
<list name="ipAddresses" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`ipaddress_contact_id`" not-null="false" unique="false"/>
</key>
<list-index column="`contact_ipaddresses_idx`"/>
<one-to-many entity-name="IpAddress"/>
</list>
<list name="services" lazy="true" cascade="merge,persist,save-update,lock,refresh"
table="contact_service">
<key update="true">
<column name="`contact_id`" not-null="true" unique="false"/>
</key>
<list-index column="`contact_services_idx`"/>
<many-to-many entity-name="Service" unique="false">
<column name="`service_id`" not-null="true" unique="false"/>
</many-to-many>
</list>
<list name="namedEquipment" lazy="true" cascade="merge,persist,save-update,lock,refresh"
table="contact_namedequipment">
<key update="true">
<column name="`contact_id`" not-null="true" unique="false"/>
</key>
<list-index column="`contact_namedequipment_idx`"/>
<many-to-many entity-name="NamedEquipment" unique="false">
<column name="`namedequipment_id`" not-null="true" unique="false"/>
</many-to-many>
</list>
<many-to-one name="organizations" entity-name="Organization"
cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false"
not-null="false">
<column not-null="false" unique="false" name="`contact_organizations_id`"/>
</many-to-one>
<property name="Description" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`description`"/>
</property>
<property name="FirstName" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`firstname`"/>
</property>
<property name="LastName" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`lastname`"/>
</property>
<property name="MiddleName" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`middlename`"/>
</property>
<property name="NickName" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`nickname`"/>
</property>
<property name="CallOrder" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`callorder`"/>
</property>
</class>
<class entity-name="Note" abstract="false" lazy="false" discriminator-value="Note" table="`note`">
<meta attribute="eclassName">Note</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<many-to-one name="service" entity-name="Service" cascade="merge,persist,save-update,lock,refresh"
lazy="false" insert="false" update="false" not-null="false">
<column not-null="false" unique="false" name="`note_service_id`"/>
</many-to-one>
<many-to-one name="namedEquipment" entity-name="NamedEquipment"
cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false"
not-null="false">
<column not-null="false" unique="false" name="`note_namedequipment_id`"/>
</many-to-one>
<many-to-one name="routerPort" entity-name="RouterPort"
cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false"
not-null="false">
<column not-null="false" unique="false" name="`note_routerport_id`"/>
</many-to-one>
<property name="text" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`text`"/>
</property>
<property name="critical" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="boolean">
<column not-null="false" unique="false" name="`critical`"/>
</property>
</class>
<class entity-name="AuthInfo" abstract="false" lazy="false" discriminator-value="AuthInfo"
table="`authinfo`">
<meta attribute="eclassName">AuthInfo</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<many-to-one name="contact" entity-name="Contact" cascade="merge,persist,save-update,lock,refresh"
lazy="false" insert="false" update="false" not-null="false">
<column not-null="false" unique="false" name="`authinfo_contact_id`"/>
</many-to-one>
<property name="Description" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`description`"/>
</property>
<property name="authKey" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`authkey`"/>
</property>
</class>
<class entity-name="EmailAddress" abstract="false" lazy="false" discriminator-value="EmailAddress"
table="`emailaddress`">
<meta attribute="eclassName">EmailAddress</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<many-to-one name="contact" entity-name="Contact" cascade="merge,persist,save-update,lock,refresh"
lazy="false" insert="false" update="false" not-null="false">
<column not-null="false" unique="false" name="`emailaddress_contact_id`"/>
</many-to-one>
<property name="Address" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`address`"/>
</property>
</class>
<class entity-name="IpAddress" abstract="false" lazy="false" discriminator-value="IpAddress"
table="`ipaddress`">
<meta attribute="eclassName">IpAddress</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<many-to-one name="contact" entity-name="Contact" cascade="merge,persist,save-update,lock,refresh"
lazy="false" insert="false" update="false" not-null="false">
<column not-null="false" unique="false" name="`ipaddress_contact_id`"/>
</many-to-one>
<property name="IP" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`ip`"/>
</property>
</class>
<class entity-name="PhoneNumber" abstract="false" lazy="false" discriminator-value="PhoneNumber"
table="`phonenumber`">
<meta attribute="eclassName">PhoneNumber</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<many-to-one name="contact" entity-name="Contact" cascade="merge,persist,save-update,lock,refresh"
lazy="false" insert="false" update="false" not-null="false">
<column not-null="false" unique="false" name="`phonenumber_contact_id`"/>
</many-to-one>
<property name="AreaCode" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`areacode`"/>
</property>
<property name="CountryCode" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`countrycode`"/>
</property>
<property name="Description" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`description`"/>
</property>
<property name="ShortNumber" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`shortnumber`"/>
</property>
</class>
<class entity-name="UrlAddress" abstract="false" lazy="false" discriminator-value="UrlAddress"
table="`urladdress`">
<meta attribute="eclassName">UrlAddress</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<many-to-one name="contact" entity-name="Contact" cascade="merge,persist,save-update,lock,refresh"
lazy="false" insert="false" update="false" not-null="false">
<column not-null="false" unique="false" name="`urladdress_contact_id`"/>
</many-to-one>
<property name="Address" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`address`"/>
</property>
</class>
<class entity-name="PhysicalAddress" abstract="false" lazy="false"
discriminator-value="PhysicalAddress" table="`physicaladdress`">
<meta attribute="eclassName">PhysicalAddress</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<many-to-one name="contact" entity-name="Contact" cascade="merge,persist,save-update,lock,refresh"
lazy="false" insert="false" update="false" not-null="false">
<column not-null="false" unique="false" name="`physicaladdress_contact_id`"/>
</many-to-one>
<property name="City" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`city`"/>
</property>
<property name="Country" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`country`"/>
</property>
<property name="FirstLine" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`firstline`"/>
</property>
<property name="SecondLine" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`secondline`"/>
</property>
<property name="ThirdLine" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`thirdline`"/>
</property>
<property name="FourthLine" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`fourthline`"/>
</property>
<property name="State" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`state`"/>
</property>
<property name="PostalCode" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`postalcode`"/>
</property>
</class>
<class entity-name="Organization" abstract="false" lazy="false" discriminator-value="Organization"
table="`organization`">
<meta attribute="eclassName">Organization</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<list name="contacts" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`contact_organizations_id`" not-null="false" unique="false"/>
</key>
<list-index column="`organization_contacts_idx`"/>
<one-to-many entity-name="Contact"/>
</list>
<list name="services" lazy="true" cascade="merge,persist,save-update,lock,refresh"
table="organization_service">
<key update="true">
<column name="`organization_id`" not-null="true" unique="false"/>
</key>
<list-index column="`organization_services_idx`"/>
<many-to-many entity-name="Service" unique="false">
<column name="`service_id`" not-null="true" unique="false"/>
</many-to-many>
</list>
<list name="namedEquipment" lazy="true" cascade="merge,persist,save-update,lock,refresh"
table="organization_namedequipment">
<key update="true">
<column name="`organization_id`" not-null="true" unique="false"/>
</key>
<list-index column="`organization_namedequipment_idx`"/>
<many-to-many entity-name="NamedEquipment" unique="false">
<column name="`namedequipment_id`" not-null="true" unique="false"/>
</many-to-many>
</list>
<many-to-one name="contactList" entity-name="ContactList"
cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false"
not-null="false">
<column not-null="false" unique="false" name="`organization_contactlist_id`"/>
</many-to-one>
<property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`name`"/>
</property>
</class>
<class entity-name="NamedEquipment" abstract="false" lazy="false"
discriminator-value="NamedEquipment" table="`namedequipment`">
<meta attribute="eclassName">NamedEquipment</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<list name="notes" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`note_namedequipment_id`" not-null="false" unique="false"/>
</key>
<list-index column="`namedequipment_notes_idx`"/>
<one-to-many entity-name="Note"/>
</list>
<list name="contacts" lazy="true" cascade="merge,persist,save-update,lock,refresh"
table="namedequipment_contact">
<key update="true">
<column name="`namedequipment_id`" not-null="true" unique="false"/>
</key>
<list-index column="`namedequipment_contacts_idx`"/>
<many-to-many entity-name="Contact" unique="false">
<column name="`contact_id`" not-null="true" unique="false"/>
</many-to-many>
</list>
<many-to-one name="namedEquipmentList" entity-name="NamedEquipmentList"
cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false"
not-null="false">
<column not-null="false" unique="false" name="`namedequipment_namedequipmentlist_id`"/>
</many-to-one>
<list name="organizations" lazy="true" cascade="merge,persist,save-update,lock,refresh"
table="namedequipment_organization">
<key update="true">
<column name="`namedequipment_id`" not-null="true" unique="false"/>
</key>
<list-index column="`namedequipment_organizations_idx`"/>
<many-to-many entity-name="Organization" unique="false">
<column name="`organization_id`" not-null="true" unique="false"/>
</many-to-many>
</list>
<property name="building" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`building`"/>
</property>
<property name="description" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`description`"/>
</property>
<property name="manufacturer" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`manufacturer`"/>
</property>
<property name="model" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`model`"/>
</property>
<property name="rack" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`rack`"/>
</property>
<property name="room" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`room`"/>
</property>
<property name="serialNumber" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`serialnumber`"/>
</property>
<property name="slot" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`slot`"/>
</property>
<property name="spare" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`spare`"/>
</property>
<property name="status" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`status`"/>
</property>
<property name="subslot" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`subslot`"/>
</property>
<property name="Id" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`id`"/>
</property>
<property name="owner" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`owner`"/>
</property>
<list name="services" lazy="true" cascade="merge,persist,save-update,lock,refresh"
table="namedequipment_service">
<key update="true">
<column name="`namedequipment_id`" not-null="true" unique="false"/>
</key>
<list-index column="`namedequipment_services_idx`"/>
<many-to-many entity-name="Service" unique="false">
<column name="`service_id`" not-null="true" unique="false"/>
</many-to-many>
</list>
<property name="assetTag" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`assettag`"/>
</property>
<property name="alias" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`alias`"/>
</property>
<list name="equipmentLocations" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key update="true">
<column name="`location_namedequipment_id`" not-null="false" unique="false"/>
</key>
<list-index column="`namedequipment_equipmentlocations_idx`"/>
<one-to-many entity-name="Location"/>
</list>
</class>
<subclass entity-name="Sar" abstract="false" lazy="false" extends="NamedEquipment"
discriminator-value="Sar">
<meta attribute="eclassName">Sar</meta>
<meta attribute="epackage">http://srd</meta>
</subclass>
<subclass entity-name="Hpa" abstract="false" lazy="false" extends="NamedEquipment"
discriminator-value="Hpa">
<meta attribute="eclassName">Hpa</meta>
<meta attribute="epackage">http://srd</meta>
<property name="designation" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`designation`"/>
</property>
<property name="encMod" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`encmod`"/>
</property>
<property name="frequencyBand" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`frequencyband`"/>
</property>
<property name="misc" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`misc`"/>
</property>
<property name="polarity" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`polarity`"/>
</property>
<property name="hpaType" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`hpatype`"/>
</property>
<property name="hpaUse" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`hpause`"/>
</property>
</subclass>
<subclass entity-name="UpConverter" abstract="false" lazy="false" extends="NamedEquipment"
discriminator-value="UpConverter">
<meta attribute="eclassName">UpConverter</meta>
<meta attribute="epackage">http://srd</meta>
<property name="attenuation" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`attenuation`"/>
</property>
<property name="frequency" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`frequency`"/>
</property>
<property name="ucOption" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`ucoption`"/>
</property>
<property name="ptcNumber" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`ptcnumber`"/>
</property>
<property name="ucType" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`uctype`"/>
</property>
</subclass>
<subclass entity-name="DtoAConverter" abstract="false" lazy="false" extends="NamedEquipment"
discriminator-value="DtoAConverter">
<meta attribute="eclassName">DtoAConverter</meta>
<meta attribute="epackage">http://srd</meta>
</subclass>
<subclass entity-name="AtoDConverter" abstract="false" lazy="false" extends="NamedEquipment"
discriminator-value="AtoDConverter">
<meta attribute="eclassName">AtoDConverter</meta>
<meta attribute="epackage">http://srd</meta>
<property name="audioDelay" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="long">
<column not-null="false" unique="false" name="`audiodelay`"/>
</property>
<property name="horizontalPhase" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="long">
<column not-null="false" unique="false" name="`horizontalphase`"/>
</property>
<property name="verticalPhase" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="long">
<column not-null="false" unique="false" name="`verticalphase`"/>
</property>
</subclass>
<subclass entity-name="Satellite" abstract="false" lazy="false" extends="NamedEquipment"
discriminator-value="Satellite">
<meta attribute="eclassName">Satellite</meta>
<meta attribute="epackage">http://srd</meta>
<property name="orbitalSlot" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`orbitalslot`"/>
</property>
<property name="bandID" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`bandid`"/>
</property>
<property name="polarity" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`polarity`"/>
</property>
<property name="frequency" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`frequency`"/>
</property>
</subclass>
<subclass entity-name="SourceSatellite" abstract="false" lazy="false" extends="Satellite"
discriminator-value="SourceSatellite">
<meta attribute="eclassName">SourceSatellite</meta>
<meta attribute="epackage">http://srd</meta>
</subclass>
<subclass entity-name="EchostarSatellite" abstract="false" lazy="false" extends="Satellite"
discriminator-value="EchostarSatellite">
<meta attribute="eclassName">EchostarSatellite</meta>
<meta attribute="epackage">http://srd</meta>
</subclass>
<subclass entity-name="Cherrypicker" abstract="false" lazy="false" extends="NamedEquipment"
discriminator-value="Cherrypicker">
<meta attribute="eclassName">Cherrypicker</meta>
<meta attribute="epackage">http://srd</meta>
<property name="in1PrimarySource" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`in1primarysource`"/>
</property>
<property name="in2PrimarySource" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`in2primarysource`"/>
</property>
<property name="in3PrimarySource" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique
|
|
|
Re: Teneo newbi, problems getting started [message #68996 is a reply to message #68849] |
Tue, 23 January 2007 19:15 |
Mark Geib Messages: 432 Registered: July 2009 |
Senior Member |
|
|
Martin,
Yes, the same code worked for me as well.
I did a little looking at the ecore file and found that the problematic
references and attributes all contained something like...
eType="ecore:EDataType src/srd/impl/srd.ecore#//EnumType"
I made these all look like
eType="#//EnumType"
Now the code is all working.
I get the database tables created, etc.
After the datastore.initialize() I create a ResourceSet and a Resource with
the hibernate URI. That all seems to work.
However, when I call getContents() on the resource I get an error loading
the class javax/transaction/Synchronization...
Where is this class referenced, or better yet, where do I add the
reference to my class path..?
Making great progress I think,
Thanks,
Mark.
|
|
|
Re: Teneo newbi, problems getting started [message #69019 is a reply to message #68996] |
Tue, 23 January 2007 20:45 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Mark,
This one is in jta.jar. Do you have this jar in your hibernate libraries plugin (and exported the
related packages)?
gr. Martin
mark wrote:
> Martin,
>
> Yes, the same code worked for me as well.
>
> I did a little looking at the ecore file and found that the problematic
> references and attributes all contained something like...
>
> eType="ecore:EDataType src/srd/impl/srd.ecore#//EnumType"
>
> I made these all look like
>
> eType="#//EnumType"
>
> Now the code is all working.
> I get the database tables created, etc.
>
> After the datastore.initialize() I create a ResourceSet and a Resource with
> the hibernate URI. That all seems to work.
>
> However, when I call getContents() on the resource I get an error
> loading the class javax/transaction/Synchronization...
>
> Where is this class referenced, or better yet, where do I add the
> reference to my class path..?
>
> Making great progress I think,
> Thanks,
> Mark.
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
| | |
Re: Teneo newbi, problems getting started [message #601426 is a reply to message #68416] |
Sat, 20 January 2007 05:41 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
It can't find/set a unique name for the eclass references by a many-ereference. Can you debug to
that line and check why the compare to is on null and for which ereference/eclass it goes wrong?
If you see nothing strange can you then send me the ecore model?
gr. Martin
mark wrote:
> I have the following code section in the start() method of my plugin:
>
> final Properties props = new Properties();
> props.setProperty(Environment.DRIVER, "com.mysql.jdbc.Driver");
> props.setProperty(Environment.USER, "geib");
> props.setProperty(Environment.URL,
> "jdbc:mysql://200.50.32.186:3306/srdV3");
> props.setProperty(Environment.PASS, "");
> props.setProperty(Environment.DIALECT,
> org.hibernate.dialect.MySQL5InnoDBDialect.class.getName());
>
> // Initialize and create the HbDataStore
> HbDataStore dataStore =
> HbHelper.INSTANCE.createRegisterDataStore("srdV3");
> dataStore.setEPackages(new EPackage[] {SrdPackage.eINSTANCE});
> dataStore.setHibernateProperties(props);
> dataStore.initialize();
>
> When the last line, dataStore.initialize() is called I get the following
> stack trace...any ideas or help would be appreciated.
>
> Mark.
>
> java.lang.NullPointerException
> at java.lang.String.compareTo(Unknown Source)
> at
> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessOneToManyReference(DefaultAnnotator.java:785)
>
> at
> org.eclipse.emf.teneo.hibernate.hbannotation.util.HibernateD efaultAnnotator.processOneToManyReference(HibernateDefaultAn notator.java:176)
>
> at
> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessEFeature(DefaultAnnotator.java:511)
>
> at
> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessClass(DefaultAnnotator.java:390)
>
> at
> org.eclipse.emf.teneo.hibernate.hbannotation.util.HibernateD efaultAnnotator.processClass(HibernateDefaultAnnotator.java: 140)
>
> at
> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessPackage(DefaultAnnotator.java:235)
>
> at
> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.ma p(DefaultAnnotator.java:155)
>
> at
> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder.buildMapping(PersistenceMappingBuilder.java:158)
>
> at
> org.eclipse.emf.teneo.hibernate.HbDataStore.mapEPackages(HbD ataStore.java:374)
>
> at
> org.eclipse.emf.teneo.hibernate.HbDataStore.mapModel(HbDataS tore.java:363)
> at
> org.eclipse.emf.teneo.hibernate.HbDataStore.initialize(HbDat aStore.java:156)
>
> at
> srd.view.navigator.ServiceNavigatorPlugin.start(ServiceNavig atorPlugin.java:73)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:991)
>
>
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
| |
Re: Teneo newbi, problems getting started [message #601502 is a reply to message #68521] |
Mon, 22 January 2007 18:19 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
Mark,
The latest builds should allow you to validate your Ecore model for
problems like this one, i.e., open it in the Ecore editor and invoke
"Validate..." on the root package or programmatically using
Diagnostician.INSTANCE.validate. It sounds like you have an EReference
that either doesn't have a type or has a type that's an EDataType
instead of an EClass (for which you should use an EAttribute not an
EReference).
mark wrote:
> The call to eReference.getEReferenceType() is returning null in
> processOneToManyReference().
>
> This seems to be the problem.
>
> Is this something I can change in my model..?
>
> Thanks,
> Mark.
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
| |
Re: Teneo newbi, problems getting started [message #601517 is a reply to message #68429] |
Mon, 22 January 2007 21:22 |
Mark Geib Messages: 432 Registered: July 2009 |
Senior Member |
|
|
Martin,
After some more debugging it was not the call to getEReferenceType, but
the call to getEntityName() that returned null...
if (otm.getTargetEntity() == null)
otm.setTargetEntity(getEntityName(eReference.getEReferenceTy pe()));
}
The call to getEReferenceType() returned an EClass, but the name, and most
other attributes, were null for the EClass object.
I have included the ecore file, the error happends on the
services/ServiceGroups relationship as displayed below in the log...
22-Jan-2007 14:05:02,072 [DEBUG]
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator: EReference +
services/ServiceGroup does not have a onetomany annotation, adding one
-----------.ecore file-----------
<?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="srd"
nsURI="http://srd" nsPrefix="srd">
<eClassifiers xsi:type="ecore:EClass" name="Service">
<eStructuralFeatures xsi:type="ecore:EReference" name="links"
upperBound="-1"
eType="#//Link" containment="true" eOpposite="#//Link/service"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="contacts"
upperBound="-1"
eType="#//Contact" eOpposite="#//Contact/services"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="notes"
upperBound="-1"
eType="#//Note" containment="true" eOpposite="#//Note/service"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="locations"
upperBound="-1"
eType="#//Location" containment="true"
eOpposite="#//Location/service"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="serviceGroup"
lowerBound="1"
eType="#//ServiceGroup" eOpposite="#//ServiceGroup/services"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="organizations"
upperBound="-1"
eType="#//Organization" eOpposite="#//Organization/services"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="longName"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="EPGName"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="adult"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="externalLaunch"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="local"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="title"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="xmitProfile"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="epgSource"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="requestedVideoQuality"
eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="nocViewable"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="audioDelay"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="blackedOut"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="namedEquipment"
upperBound="-1"
eType="#//NamedEquipment" eOpposite="#//NamedEquipment/services"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="routerPorts"
upperBound="-1"
eType="#//RouterPort" containment="true"
eOpposite="#//RouterPort/service"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="allServices"
lowerBound="1"
eType="#//AllServices" eOpposite="#//AllServices/services"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="CheyenneUplink"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="GilbertUplink"
eType="#//EnumType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Link">
<eStructuralFeatures xsi:type="ecore:EReference" name="service"
lowerBound="1"
eType="#//Service" eOpposite="#//Service/links"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Contact">
<eStructuralFeatures xsi:type="ecore:EReference"
name="physicalAddresses" upperBound="-1"
eType="#//PhysicalAddress" containment="true"
eOpposite="#//PhysicalAddress/contact"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="phoneNumbers"
upperBound="-1"
eType="#//PhoneNumber" containment="true"
eOpposite="#//PhoneNumber/contact"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="emailAddresses"
upperBound="-1"
eType="#//EmailAddress" containment="true"
eOpposite="#//EmailAddress/contact"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="authInfo"
upperBound="-1"
eType="#//AuthInfo" containment="true"
eOpposite="#//AuthInfo/contact"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="urlAddresses"
upperBound="-1"
eType="#//UrlAddress" containment="true"
eOpposite="#//UrlAddress/contact"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ipAddresses"
upperBound="-1"
eType="#//IpAddress" containment="true"
eOpposite="#//IpAddress/contact"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="services"
upperBound="-1"
eType="#//Service" eOpposite="#//Service/contacts"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="namedEquipment"
upperBound="-1"
eType="#//NamedEquipment" eOpposite="#//NamedEquipment/contacts"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="organizations"
lowerBound="1"
eType="#//Organization" eOpposite="#//Organization/contacts"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Description"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="FirstName"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="LastName"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="MiddleName"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="NickName"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="CallOrder"
eType="#//EnumType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Note">
<eStructuralFeatures xsi:type="ecore:EReference" name="service"
lowerBound="1"
eType="#//Service" eOpposite="#//Service/notes"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="namedEquipment"
lowerBound="1"
eType="#//NamedEquipment" eOpposite="#//NamedEquipment/notes"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="routerPort"
lowerBound="1"
eType="#//RouterPort" eOpposite="#//RouterPort/notes"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="text"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="critical"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AuthInfo">
<eStructuralFeatures xsi:type="ecore:EReference" name="contact"
lowerBound="1"
eType="#//Contact" eOpposite="#//Contact/authInfo"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Description"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="authKey"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EmailAddress">
<eStructuralFeatures xsi:type="ecore:EReference" name="contact"
lowerBound="1"
eType="#//Contact" eOpposite="#//Contact/emailAddresses"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Address"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="IpAddress">
<eStructuralFeatures xsi:type="ecore:EReference" name="contact"
lowerBound="1"
eType="#//Contact" eOpposite="#//Contact/ipAddresses"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="IP"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="PhoneNumber">
<eStructuralFeatures xsi:type="ecore:EReference" name="contact"
lowerBound="1"
eType="#//Contact" eOpposite="#//Contact/phoneNumbers"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="AreaCode"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="CountryCode"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Description"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ShortNumber"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="UrlAddress">
<eStructuralFeatures xsi:type="ecore:EReference" name="contact"
lowerBound="1"
eType="#//Contact" eOpposite="#//Contact/urlAddresses"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Address"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="PhysicalAddress">
<eStructuralFeatures xsi:type="ecore:EReference" name="contact"
lowerBound="1"
eType="#//Contact" eOpposite="#//Contact/physicalAddresses"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="City"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Country"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="FirstLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="SecondLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ThirdLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="FourthLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="State"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="PostalCode"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Organization">
<eStructuralFeatures xsi:type="ecore:EReference" name="contacts"
upperBound="-1"
eType="#//Contact" containment="true"
eOpposite="#//Contact/organizations"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="services"
upperBound="-1"
eType="#//Service" eOpposite="#//Service/organizations"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="namedEquipment"
upperBound="-1"
eType="#//NamedEquipment"
eOpposite="#//NamedEquipment/organizations"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="contactList"
lowerBound="1"
eType="#//ContactList" eOpposite="#//ContactList/organizations"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Sar"
eSuperTypes="#//NamedEquipment"/>
<eClassifiers xsi:type="ecore:EClass" name="Hpa"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="designation"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="encMod"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="frequencyBand"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="misc"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="polarity"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="hpaType"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="hpaUse"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="UpConverter"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="attenuation"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="frequency"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ucOption"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ptcNumber"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ucType"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DtoAConverter"
eSuperTypes="#//NamedEquipment"/>
<eClassifiers xsi:type="ecore:EClass" name="AtoDConverter"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="audioDelay"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="horizontalPhase" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="verticalPhase"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Satellite"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="orbitalSlot"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="bandID"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="polarity"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="frequency"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SourceSatellite"
eSuperTypes="#//Satellite"/>
<eClassifiers xsi:type="ecore:EClass" name="EchostarSatellite"
eSuperTypes="#//Satellite"/>
<eClassifiers xsi:type="ecore:EClass" name="Cherrypicker"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="in1PrimarySource" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="in2PrimarySource" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="in3PrimarySource" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="in4PrimarySource" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="in5PrimarySource" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="in6PrimarySource" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="in7PrimarySource" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="in8PrimarySource" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="out1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="out2"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="out3"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="out4"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DishReceiver"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="channel"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="downlinkFrequency" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="forwardRateCorrection"
eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="lbandFrequency"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="smartCard"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="symbolRate"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="dishReceiverType" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="unitAuthorizationNumber"
eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="CommercialInserter"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="cueSource"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="cueType"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="dtmfStartNumber" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="dtmfStopNumber"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="frequency"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="preRoll"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="serverID"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="tcid"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="vbiDecoder"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="wegenerCardID"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="zone"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="TandB"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AudioDeEmbedder"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="group1Pr1GainDB" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="group1Pr1Swap"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="group1Pr2GainDB" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="group1Pr2Swap"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="group1Swap"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="group2Pr1GainDB" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="group2Pr1Swap"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="group2Pr2GainDB" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="group2Pr2Swap"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="group2Swap"
eType="#//EnumType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Antenna"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="acu"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="azimuth"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="deIce"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="designation"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="drive"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="elevation"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="gain"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="misc"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="sizeM"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="track"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="antennaType"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="antennaUse"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Feed"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="lnb1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="lnb2"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="lnb3"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="lnb4"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="orientation"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="feedType"
eType="#//EnumType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Hydra"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="engineNumber"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="head"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="module"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="MonitorWall"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ptc"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="rfDesignation"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="rfDisType"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EchostarXpndrFreq"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="frequency"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="polarity"
eType="#//EnumType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SourceXpndrFreq"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="frequency"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="polarity"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DividerPort"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="lbandFrequency"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="portNumber"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="BackhaulGroundStation"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="City"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Country"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="FirstLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="SecondLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ThirdLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="FourthLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="PostalCode"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="State"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="latitude"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="longitude"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DistributionAmp"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="frameNumber"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="daType"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="RouterPort">
<eStructuralFeatures xsi:type="ecore:EReference" name="router"
lowerBound="1"
eType="#//Router" eOpposite="#//Router/routerPorts"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="notes"
upperBound="-1"
eType="#//Note" containment="true" eOpposite="#//Note/routerPort"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="number"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="parentAlias"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="portType"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="linkedToAlias"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="linkedToId"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="parentId"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="description"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Id"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="service"
lowerBound="1"
eType="#//Service" eOpposite="#//Service/routerPorts"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="portLocations"
upperBound="-1"
eType="#//Location" eOpposite="#//Location/routerPort"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="RfPatch"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="band"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="designation"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="expansion"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="polarity"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="port"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Encoder"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="audioConfigStat" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Pr1Language"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="satellite"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Pr2Language"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Pr3Language"
eType="#//EnumType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Pr4Language"
eType="#//EnumType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AudioEmbedder"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="pr1Gain"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="pr2Gain"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Fiber"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="customer"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="fiber"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="VideoServer"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="role"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Ifl"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="endLocation"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="startLocation"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="otherIfls"
upperBound="-1"
eType="#//Ifl"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Ici"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ptcNumber"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="IpSwitch"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ipAddress"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="IpRouter"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ipAddress"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Patch"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="patchRow"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="StandardsConverter"
eSuperTypes="#//NamedEquipment"/>
<eClassifiers xsi:type="ecore:EClass" name="Divider"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="barCode"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="FiberPop"
eSuperTypes="#//NamedEquipment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="circuitID"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="City"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Country"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="FirstLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="SecondLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ThirdLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="FourthLine"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="PostalCode"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="State"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DolbyEEncoder"
eSuperTypes="#//NamedEquipment"/>
<eClassifiers xsi:type="ecore:EClass" name="DolbyEDecoder"
eSuperTypes="#//NamedEquipment"/>
<eClassifiers xsi:type="ecore:EClass" name="Ac3Decoder"
eSuperTypes="#//NamedEquipment"/>
<eClassifiers xsi:type="ecore:EClass" name="Ac3Encoder"
eSuperTypes="#//NamedEquipment"/>
<eClassifiers xsi:type="ecore:EClass" name="IpHub"
eSuperTypes="#//NamedEquipment"/>
<eClassifiers xsi:type="ecore:EClass" name="FrameSync"
eSuperTypes="#//NamedEquipment"/>
<eClassifiers xsi:type="ecore:EClass" name="AtmSwitch"
eSuperTypes="#//NamedEquipment"/>
<eClassifiers xsi:type="ecore:EClass" name="LocalRack"
eSuperTypes="#//NamedEquipment"/>
<eClassifiers xsi:type="
|
|
|
Re: Teneo newbi, problems getting started [message #601564 is a reply to message #68563] |
Mon, 22 January 2007 22:54 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Mark,
I used the ecore below to generate a hibernate mapping file. This also goes through the
DefaultAnnotator in exactly the same way as in your case and it went fine (btw I tested eclipse 3.2
and emf 2.2). I needed to name the file srd.ecore correct?
Can you debug further to see where getEReferenceType points to?
Here is the (quick and dirty) program I used to test the reading of the ecore file and generating
the mapping. Can you also try:
/**
* @param args
*/
public static void main(String[] args) {
try {
final ResourceSet resourceSet = new ResourceSetImpl();
resourceSet.getResourceFactoryRegistry().getExtensionToFacto ryMap().put( "*", new
EcoreResourceFactoryImpl());
final ArrayList epackages = new ArrayList();
final Resource res = resourceSet.getResource(URI.createFileURI("/home/mtaal/mytmp/srd.ecore "), true);
res.load(new HashMap());
Iterator it = res.getAllContents();
while (it.hasNext()) {
final Object obj = it.next();
if (obj instanceof EPackage) {
EPackage epack = (EPackage) obj;
if (EPackage.Registry.INSTANCE.getEPackage(epack.getNsURI()) == null) {
EPackage.Registry.INSTANCE.put(epack.getNsURI(), epack);
}
epackages.add(epack);
}
}
final EPackage[] epacks = (EPackage[])epackages.toArray(new EPackage[epackages.size()]);
System.err.println(HbHelper.INSTANCE.generateMapping(epacks, new Properties()));
} catch (Exception e) {
throw new RuntimeException(e.getMessage(), e);
}
}
Here is the mapping file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated by Teneo on Mon Jan 22 23:50:22 CET 2007 -->
<hibernate-mapping>
<class entity-name="Service" abstract="false" lazy="false" discriminator-value="Service"
table="`service`">
<meta attribute="eclassName">Service</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<list name="links" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`link_service_id`" not-null="false" unique="false"/>
</key>
<list-index column="`service_links_idx`"/>
<one-to-many entity-name="Link"/>
</list>
<list name="contacts" lazy="true" cascade="merge,persist,save-update,lock,refresh"
table="service_contact">
<key update="true">
<column name="`service_id`" not-null="true" unique="false"/>
</key>
<list-index column="`service_contacts_idx`"/>
<many-to-many entity-name="Contact" unique="false">
<column name="`contact_id`" not-null="true" unique="false"/>
</many-to-many>
</list>
<list name="notes" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`note_service_id`" not-null="false" unique="false"/>
</key>
<list-index column="`service_notes_idx`"/>
<one-to-many entity-name="Note"/>
</list>
<list name="locations" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`location_service_id`" not-null="false" unique="false"/>
</key>
<list-index column="`service_locations_idx`"/>
<one-to-many entity-name="Location"/>
</list>
<many-to-one name="serviceGroup" entity-name="ServiceGroup"
cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false"
not-null="false">
<column not-null="false" unique="false" name="`service_servicegroup_id`"/>
</many-to-one>
<list name="organizations" lazy="true" cascade="merge,persist,save-update,lock,refresh"
table="service_organization">
<key update="true">
<column name="`service_id`" not-null="true" unique="false"/>
</key>
<list-index column="`service_organizations_idx`"/>
<many-to-many entity-name="Organization" unique="false">
<column name="`organization_id`" not-null="true" unique="false"/>
</many-to-many>
</list>
<property name="longName" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`longname`"/>
</property>
<property name="EPGName" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`epgname`"/>
</property>
<property name="adult" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`adult`"/>
</property>
<property name="externalLaunch" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="long">
<column not-null="false" unique="false" name="`externallaunch`"/>
</property>
<property name="local" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`local`"/>
</property>
<property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`title`"/>
</property>
<property name="xmitProfile" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`xmitprofile`"/>
</property>
<property name="epgSource" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`epgsource`"/>
</property>
<property name="requestedVideoQuality" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`requestedvideoquality`"/>
</property>
<property name="nocViewable" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`nocviewable`"/>
</property>
<property name="audioDelay" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="long">
<column not-null="false" unique="false" name="`audiodelay`"/>
</property>
<property name="blackedOut" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`blackedout`"/>
</property>
<list name="namedEquipment" lazy="true" cascade="merge,persist,save-update,lock,refresh"
table="service_namedequipment">
<key update="true">
<column name="`service_id`" not-null="true" unique="false"/>
</key>
<list-index column="`service_namedequipment_idx`"/>
<many-to-many entity-name="NamedEquipment" unique="false">
<column name="`namedequipment_id`" not-null="true" unique="false"/>
</many-to-many>
</list>
<list name="routerPorts" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`routerport_service_id`" not-null="false" unique="false"/>
</key>
<list-index column="`service_routerports_idx`"/>
<one-to-many entity-name="RouterPort"/>
</list>
<many-to-one name="allServices" entity-name="AllServices"
cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false"
not-null="false">
<column not-null="false" unique="false" name="`service_allservices_id`"/>
</many-to-one>
<property name="CheyenneUplink" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`cheyenneuplink`"/>
</property>
<property name="GilbertUplink" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`gilbertuplink`"/>
</property>
</class>
<class entity-name="Link" abstract="false" lazy="false" discriminator-value="Link" table="`link`">
<meta attribute="eclassName">Link</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<many-to-one name="service" entity-name="Service" cascade="merge,persist,save-update,lock,refresh"
lazy="false" insert="false" update="false" not-null="false">
<column not-null="false" unique="false" name="`link_service_id`"/>
</many-to-one>
</class>
<class entity-name="Contact" abstract="false" lazy="false" discriminator-value="Contact"
table="`contact`">
<meta attribute="eclassName">Contact</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<list name="physicalAddresses" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`physicaladdress_contact_id`" not-null="false" unique="false"/>
</key>
<list-index column="`contact_physicaladdresses_idx`"/>
<one-to-many entity-name="PhysicalAddress"/>
</list>
<list name="phoneNumbers" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`phonenumber_contact_id`" not-null="false" unique="false"/>
</key>
<list-index column="`contact_phonenumbers_idx`"/>
<one-to-many entity-name="PhoneNumber"/>
</list>
<list name="emailAddresses" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`emailaddress_contact_id`" not-null="false" unique="false"/>
</key>
<list-index column="`contact_emailaddresses_idx`"/>
<one-to-many entity-name="EmailAddress"/>
</list>
<list name="authInfo" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`authinfo_contact_id`" not-null="false" unique="false"/>
</key>
<list-index column="`contact_authinfo_idx`"/>
<one-to-many entity-name="AuthInfo"/>
</list>
<list name="urlAddresses" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`urladdress_contact_id`" not-null="false" unique="false"/>
</key>
<list-index column="`contact_urladdresses_idx`"/>
<one-to-many entity-name="UrlAddress"/>
</list>
<list name="ipAddresses" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`ipaddress_contact_id`" not-null="false" unique="false"/>
</key>
<list-index column="`contact_ipaddresses_idx`"/>
<one-to-many entity-name="IpAddress"/>
</list>
<list name="services" lazy="true" cascade="merge,persist,save-update,lock,refresh"
table="contact_service">
<key update="true">
<column name="`contact_id`" not-null="true" unique="false"/>
</key>
<list-index column="`contact_services_idx`"/>
<many-to-many entity-name="Service" unique="false">
<column name="`service_id`" not-null="true" unique="false"/>
</many-to-many>
</list>
<list name="namedEquipment" lazy="true" cascade="merge,persist,save-update,lock,refresh"
table="contact_namedequipment">
<key update="true">
<column name="`contact_id`" not-null="true" unique="false"/>
</key>
<list-index column="`contact_namedequipment_idx`"/>
<many-to-many entity-name="NamedEquipment" unique="false">
<column name="`namedequipment_id`" not-null="true" unique="false"/>
</many-to-many>
</list>
<many-to-one name="organizations" entity-name="Organization"
cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false"
not-null="false">
<column not-null="false" unique="false" name="`contact_organizations_id`"/>
</many-to-one>
<property name="Description" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`description`"/>
</property>
<property name="FirstName" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`firstname`"/>
</property>
<property name="LastName" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`lastname`"/>
</property>
<property name="MiddleName" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`middlename`"/>
</property>
<property name="NickName" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`nickname`"/>
</property>
<property name="CallOrder" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`callorder`"/>
</property>
</class>
<class entity-name="Note" abstract="false" lazy="false" discriminator-value="Note" table="`note`">
<meta attribute="eclassName">Note</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<many-to-one name="service" entity-name="Service" cascade="merge,persist,save-update,lock,refresh"
lazy="false" insert="false" update="false" not-null="false">
<column not-null="false" unique="false" name="`note_service_id`"/>
</many-to-one>
<many-to-one name="namedEquipment" entity-name="NamedEquipment"
cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false"
not-null="false">
<column not-null="false" unique="false" name="`note_namedequipment_id`"/>
</many-to-one>
<many-to-one name="routerPort" entity-name="RouterPort"
cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false"
not-null="false">
<column not-null="false" unique="false" name="`note_routerport_id`"/>
</many-to-one>
<property name="text" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`text`"/>
</property>
<property name="critical" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="boolean">
<column not-null="false" unique="false" name="`critical`"/>
</property>
</class>
<class entity-name="AuthInfo" abstract="false" lazy="false" discriminator-value="AuthInfo"
table="`authinfo`">
<meta attribute="eclassName">AuthInfo</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<many-to-one name="contact" entity-name="Contact" cascade="merge,persist,save-update,lock,refresh"
lazy="false" insert="false" update="false" not-null="false">
<column not-null="false" unique="false" name="`authinfo_contact_id`"/>
</many-to-one>
<property name="Description" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`description`"/>
</property>
<property name="authKey" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`authkey`"/>
</property>
</class>
<class entity-name="EmailAddress" abstract="false" lazy="false" discriminator-value="EmailAddress"
table="`emailaddress`">
<meta attribute="eclassName">EmailAddress</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<many-to-one name="contact" entity-name="Contact" cascade="merge,persist,save-update,lock,refresh"
lazy="false" insert="false" update="false" not-null="false">
<column not-null="false" unique="false" name="`emailaddress_contact_id`"/>
</many-to-one>
<property name="Address" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`address`"/>
</property>
</class>
<class entity-name="IpAddress" abstract="false" lazy="false" discriminator-value="IpAddress"
table="`ipaddress`">
<meta attribute="eclassName">IpAddress</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<many-to-one name="contact" entity-name="Contact" cascade="merge,persist,save-update,lock,refresh"
lazy="false" insert="false" update="false" not-null="false">
<column not-null="false" unique="false" name="`ipaddress_contact_id`"/>
</many-to-one>
<property name="IP" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`ip`"/>
</property>
</class>
<class entity-name="PhoneNumber" abstract="false" lazy="false" discriminator-value="PhoneNumber"
table="`phonenumber`">
<meta attribute="eclassName">PhoneNumber</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<many-to-one name="contact" entity-name="Contact" cascade="merge,persist,save-update,lock,refresh"
lazy="false" insert="false" update="false" not-null="false">
<column not-null="false" unique="false" name="`phonenumber_contact_id`"/>
</many-to-one>
<property name="AreaCode" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`areacode`"/>
</property>
<property name="CountryCode" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`countrycode`"/>
</property>
<property name="Description" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`description`"/>
</property>
<property name="ShortNumber" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`shortnumber`"/>
</property>
</class>
<class entity-name="UrlAddress" abstract="false" lazy="false" discriminator-value="UrlAddress"
table="`urladdress`">
<meta attribute="eclassName">UrlAddress</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<many-to-one name="contact" entity-name="Contact" cascade="merge,persist,save-update,lock,refresh"
lazy="false" insert="false" update="false" not-null="false">
<column not-null="false" unique="false" name="`urladdress_contact_id`"/>
</many-to-one>
<property name="Address" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`address`"/>
</property>
</class>
<class entity-name="PhysicalAddress" abstract="false" lazy="false"
discriminator-value="PhysicalAddress" table="`physicaladdress`">
<meta attribute="eclassName">PhysicalAddress</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<many-to-one name="contact" entity-name="Contact" cascade="merge,persist,save-update,lock,refresh"
lazy="false" insert="false" update="false" not-null="false">
<column not-null="false" unique="false" name="`physicaladdress_contact_id`"/>
</many-to-one>
<property name="City" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`city`"/>
</property>
<property name="Country" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`country`"/>
</property>
<property name="FirstLine" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`firstline`"/>
</property>
<property name="SecondLine" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`secondline`"/>
</property>
<property name="ThirdLine" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`thirdline`"/>
</property>
<property name="FourthLine" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`fourthline`"/>
</property>
<property name="State" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`state`"/>
</property>
<property name="PostalCode" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`postalcode`"/>
</property>
</class>
<class entity-name="Organization" abstract="false" lazy="false" discriminator-value="Organization"
table="`organization`">
<meta attribute="eclassName">Organization</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<list name="contacts" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`contact_organizations_id`" not-null="false" unique="false"/>
</key>
<list-index column="`organization_contacts_idx`"/>
<one-to-many entity-name="Contact"/>
</list>
<list name="services" lazy="true" cascade="merge,persist,save-update,lock,refresh"
table="organization_service">
<key update="true">
<column name="`organization_id`" not-null="true" unique="false"/>
</key>
<list-index column="`organization_services_idx`"/>
<many-to-many entity-name="Service" unique="false">
<column name="`service_id`" not-null="true" unique="false"/>
</many-to-many>
</list>
<list name="namedEquipment" lazy="true" cascade="merge,persist,save-update,lock,refresh"
table="organization_namedequipment">
<key update="true">
<column name="`organization_id`" not-null="true" unique="false"/>
</key>
<list-index column="`organization_namedequipment_idx`"/>
<many-to-many entity-name="NamedEquipment" unique="false">
<column name="`namedequipment_id`" not-null="true" unique="false"/>
</many-to-many>
</list>
<many-to-one name="contactList" entity-name="ContactList"
cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false"
not-null="false">
<column not-null="false" unique="false" name="`organization_contactlist_id`"/>
</many-to-one>
<property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`name`"/>
</property>
</class>
<class entity-name="NamedEquipment" abstract="false" lazy="false"
discriminator-value="NamedEquipment" table="`namedequipment`">
<meta attribute="eclassName">NamedEquipment</meta>
<meta attribute="epackage">http://srd</meta>
<id type="long" name="e_id" column="e_id"
access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
<version name="e_version" column="e_version"
access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
<meta attribute="syntheticVersion">true</meta>
</version>
<list name="notes" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`note_namedequipment_id`" not-null="false" unique="false"/>
</key>
<list-index column="`namedequipment_notes_idx`"/>
<one-to-many entity-name="Note"/>
</list>
<list name="contacts" lazy="true" cascade="merge,persist,save-update,lock,refresh"
table="namedequipment_contact">
<key update="true">
<column name="`namedequipment_id`" not-null="true" unique="false"/>
</key>
<list-index column="`namedequipment_contacts_idx`"/>
<many-to-many entity-name="Contact" unique="false">
<column name="`contact_id`" not-null="true" unique="false"/>
</many-to-many>
</list>
<many-to-one name="namedEquipmentList" entity-name="NamedEquipmentList"
cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false"
not-null="false">
<column not-null="false" unique="false" name="`namedequipment_namedequipmentlist_id`"/>
</many-to-one>
<list name="organizations" lazy="true" cascade="merge,persist,save-update,lock,refresh"
table="namedequipment_organization">
<key update="true">
<column name="`namedequipment_id`" not-null="true" unique="false"/>
</key>
<list-index column="`namedequipment_organizations_idx`"/>
<many-to-many entity-name="Organization" unique="false">
<column name="`organization_id`" not-null="true" unique="false"/>
</many-to-many>
</list>
<property name="building" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`building`"/>
</property>
<property name="description" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`description`"/>
</property>
<property name="manufacturer" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`manufacturer`"/>
</property>
<property name="model" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`model`"/>
</property>
<property name="rack" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`rack`"/>
</property>
<property name="room" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`room`"/>
</property>
<property name="serialNumber" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`serialnumber`"/>
</property>
<property name="slot" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`slot`"/>
</property>
<property name="spare" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`spare`"/>
</property>
<property name="status" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`status`"/>
</property>
<property name="subslot" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`subslot`"/>
</property>
<property name="Id" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`id`"/>
</property>
<property name="owner" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`owner`"/>
</property>
<list name="services" lazy="true" cascade="merge,persist,save-update,lock,refresh"
table="namedequipment_service">
<key update="true">
<column name="`namedequipment_id`" not-null="true" unique="false"/>
</key>
<list-index column="`namedequipment_services_idx`"/>
<many-to-many entity-name="Service" unique="false">
<column name="`service_id`" not-null="true" unique="false"/>
</many-to-many>
</list>
<property name="assetTag" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`assettag`"/>
</property>
<property name="alias" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`alias`"/>
</property>
<list name="equipmentLocations" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key update="true">
<column name="`location_namedequipment_id`" not-null="false" unique="false"/>
</key>
<list-index column="`namedequipment_equipmentlocations_idx`"/>
<one-to-many entity-name="Location"/>
</list>
</class>
<subclass entity-name="Sar" abstract="false" lazy="false" extends="NamedEquipment"
discriminator-value="Sar">
<meta attribute="eclassName">Sar</meta>
<meta attribute="epackage">http://srd</meta>
</subclass>
<subclass entity-name="Hpa" abstract="false" lazy="false" extends="NamedEquipment"
discriminator-value="Hpa">
<meta attribute="eclassName">Hpa</meta>
<meta attribute="epackage">http://srd</meta>
<property name="designation" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`designation`"/>
</property>
<property name="encMod" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`encmod`"/>
</property>
<property name="frequencyBand" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`frequencyband`"/>
</property>
<property name="misc" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`misc`"/>
</property>
<property name="polarity" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`polarity`"/>
</property>
<property name="hpaType" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`hpatype`"/>
</property>
<property name="hpaUse" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`hpause`"/>
</property>
</subclass>
<subclass entity-name="UpConverter" abstract="false" lazy="false" extends="NamedEquipment"
discriminator-value="UpConverter">
<meta attribute="eclassName">UpConverter</meta>
<meta attribute="epackage">http://srd</meta>
<property name="attenuation" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`attenuation`"/>
</property>
<property name="frequency" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`frequency`"/>
</property>
<property name="ucOption" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`ucoption`"/>
</property>
<property name="ptcNumber" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`ptcnumber`"/>
</property>
<property name="ucType" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`uctype`"/>
</property>
</subclass>
<subclass entity-name="DtoAConverter" abstract="false" lazy="false" extends="NamedEquipment"
discriminator-value="DtoAConverter">
<meta attribute="eclassName">DtoAConverter</meta>
<meta attribute="epackage">http://srd</meta>
</subclass>
<subclass entity-name="AtoDConverter" abstract="false" lazy="false" extends="NamedEquipment"
discriminator-value="AtoDConverter">
<meta attribute="eclassName">AtoDConverter</meta>
<meta attribute="epackage">http://srd</meta>
<property name="audioDelay" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="long">
<column not-null="false" unique="false" name="`audiodelay`"/>
</property>
<property name="horizontalPhase" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="long">
<column not-null="false" unique="false" name="`horizontalphase`"/>
</property>
<property name="verticalPhase" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="long">
<column not-null="false" unique="false" name="`verticalphase`"/>
</property>
</subclass>
<subclass entity-name="Satellite" abstract="false" lazy="false" extends="NamedEquipment"
discriminator-value="Satellite">
<meta attribute="eclassName">Satellite</meta>
<meta attribute="epackage">http://srd</meta>
<property name="orbitalSlot" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`orbitalslot`"/>
</property>
<property name="bandID" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`bandid`"/>
</property>
<property name="polarity" lazy="false" insert="true" update="true" not-null="false" unique="false"
type="java.lang.String">
<column not-null="false" unique="false" name="`polarity`"/>
</property>
<property name="frequency" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`frequency`"/>
</property>
</subclass>
<subclass entity-name="SourceSatellite" abstract="false" lazy="false" extends="Satellite"
discriminator-value="SourceSatellite">
<meta attribute="eclassName">SourceSatellite</meta>
<meta attribute="epackage">http://srd</meta>
</subclass>
<subclass entity-name="EchostarSatellite" abstract="false" lazy="false" extends="Satellite"
discriminator-value="EchostarSatellite">
<meta attribute="eclassName">EchostarSatellite</meta>
<meta attribute="epackage">http://srd</meta>
</subclass>
<subclass entity-name="Cherrypicker" abstract="false" lazy="false" extends="NamedEquipment"
discriminator-value="Cherrypicker">
<meta attribute="eclassName">Cherrypicker</meta>
<meta attribute="epackage">http://srd</meta>
<property name="in1PrimarySource" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`in1primarysource`"/>
</property>
<property name="in2PrimarySource" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`in2primarysource`"/>
</property>
<property name="in3PrimarySource" lazy="false" insert="true" update="true" not-null="false"
unique="false" type="java.lang.String">
<column not-null="false" unique
|
|
|
Re: Teneo newbi, problems getting started [message #601610 is a reply to message #68849] |
Tue, 23 January 2007 19:15 |
Mark Geib Messages: 432 Registered: July 2009 |
Senior Member |
|
|
Martin,
Yes, the same code worked for me as well.
I did a little looking at the ecore file and found that the problematic
references and attributes all contained something like...
eType="ecore:EDataType src/srd/impl/srd.ecore#//EnumType"
I made these all look like
eType="#//EnumType"
Now the code is all working.
I get the database tables created, etc.
After the datastore.initialize() I create a ResourceSet and a Resource with
the hibernate URI. That all seems to work.
However, when I call getContents() on the resource I get an error loading
the class javax/transaction/Synchronization...
Where is this class referenced, or better yet, where do I add the
reference to my class path..?
Making great progress I think,
Thanks,
Mark.
|
|
|
Re: Teneo newbi, problems getting started [message #601616 is a reply to message #68996] |
Tue, 23 January 2007 20:45 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Mark,
This one is in jta.jar. Do you have this jar in your hibernate libraries plugin (and exported the
related packages)?
gr. Martin
mark wrote:
> Martin,
>
> Yes, the same code worked for me as well.
>
> I did a little looking at the ecore file and found that the problematic
> references and attributes all contained something like...
>
> eType="ecore:EDataType src/srd/impl/srd.ecore#//EnumType"
>
> I made these all look like
>
> eType="#//EnumType"
>
> Now the code is all working.
> I get the database tables created, etc.
>
> After the datastore.initialize() I create a ResourceSet and a Resource with
> the hibernate URI. That all seems to work.
>
> However, when I call getContents() on the resource I get an error
> loading the class javax/transaction/Synchronization...
>
> Where is this class referenced, or better yet, where do I add the
> reference to my class path..?
>
> Making great progress I think,
> Thanks,
> Mark.
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
| | |
Goto Forum:
Current Time: Wed Sep 25 00:01:15 GMT 2024
Powered by FUDForum. Page generated in 0.06161 seconds
|