|
Removed
Link Here
|
| 1 |
/** |
| 2 |
* <copyright> |
| 3 |
* |
| 4 |
* Copyright (c) 2007 IBM Corporation and others. |
| 5 |
* All rights reserved. This program and the accompanying materials |
| 6 |
* are made available under the terms of the Eclipse Public License v1.0 |
| 7 |
* which accompanies this distribution, and is available at |
| 8 |
* http://www.eclipse.org/legal/epl-v10.html |
| 9 |
* |
| 10 |
* Contributors: |
| 11 |
* IBM - Initial API and implementation |
| 12 |
* |
| 13 |
* </copyright> |
| 14 |
* |
| 15 |
* $Id: IPOPackageImpl.java,v 1.4 2007/06/15 21:22:18 emerks Exp $ |
| 16 |
*/ |
| 17 |
package org.eclipse.emf.test.models.ipo.impl; |
| 18 |
|
| 19 |
import java.math.BigInteger; |
| 20 |
|
| 21 |
import org.eclipse.emf.ecore.EAttribute; |
| 22 |
import org.eclipse.emf.ecore.EClass; |
| 23 |
import org.eclipse.emf.ecore.EDataType; |
| 24 |
import org.eclipse.emf.ecore.EEnum; |
| 25 |
import org.eclipse.emf.ecore.EFactory; |
| 26 |
import org.eclipse.emf.ecore.EPackage; |
| 27 |
import org.eclipse.emf.ecore.EReference; |
| 28 |
import org.eclipse.emf.ecore.EValidator; |
| 29 |
|
| 30 |
import org.eclipse.emf.ecore.impl.EPackageImpl; |
| 31 |
|
| 32 |
import org.eclipse.emf.ecore.xml.type.XMLTypePackage; |
| 33 |
|
| 34 |
import org.eclipse.emf.test.models.ipo.Address; |
| 35 |
import org.eclipse.emf.test.models.ipo.DocumentRoot; |
| 36 |
import org.eclipse.emf.test.models.ipo.IPOFactory; |
| 37 |
import org.eclipse.emf.test.models.ipo.ItemType; |
| 38 |
import org.eclipse.emf.test.models.ipo.Items; |
| 39 |
import org.eclipse.emf.test.models.ipo.PurchaseOrderType; |
| 40 |
import org.eclipse.emf.test.models.ipo.UKAddress; |
| 41 |
import org.eclipse.emf.test.models.ipo.USAddress; |
| 42 |
import org.eclipse.emf.test.models.ipo.USState; |
| 43 |
|
| 44 |
import org.eclipse.emf.test.models.ipo.util.IPOValidator; |
| 45 |
|
| 46 |
/** |
| 47 |
* <!-- begin-user-doc --> |
| 48 |
* The <b>Package</b> for the model. |
| 49 |
* It contains accessors for the meta objects to represent |
| 50 |
* <ul> |
| 51 |
* <li>each class,</li> |
| 52 |
* <li>each feature of each class,</li> |
| 53 |
* <li>each enum,</li> |
| 54 |
* <li>and each data type</li> |
| 55 |
* </ul> |
| 56 |
* <!-- end-user-doc --> |
| 57 |
* <!-- begin-model-doc --> |
| 58 |
* |
| 59 |
* International Purchase order schema for Example.com |
| 60 |
* Copyright 2000 Example.com. All rights reserved. |
| 61 |
* |
| 62 |
* <!-- end-model-doc --> |
| 63 |
* @see org.eclipse.emf.test.models.ipo.IPOFactory |
| 64 |
* @model kind="package" |
| 65 |
* @generated |
| 66 |
*/ |
| 67 |
public class IPOPackageImpl extends EPackageImpl |
| 68 |
{ |
| 69 |
/** |
| 70 |
* The package name. |
| 71 |
* <!-- begin-user-doc --> |
| 72 |
* <!-- end-user-doc --> |
| 73 |
* @generated |
| 74 |
*/ |
| 75 |
public static final String eNAME = "ipo"; |
| 76 |
|
| 77 |
/** |
| 78 |
* The package namespace URI. |
| 79 |
* <!-- begin-user-doc --> |
| 80 |
* <!-- end-user-doc --> |
| 81 |
* @generated |
| 82 |
*/ |
| 83 |
public static final String eNS_URI = "http:///org.eclipse.emf.test.models/IPO"; |
| 84 |
|
| 85 |
/** |
| 86 |
* The package namespace name. |
| 87 |
* <!-- begin-user-doc --> |
| 88 |
* <!-- end-user-doc --> |
| 89 |
* @generated |
| 90 |
*/ |
| 91 |
public static final String eNS_PREFIX = "ipo"; |
| 92 |
|
| 93 |
/** |
| 94 |
* The singleton instance of the package. |
| 95 |
* <!-- begin-user-doc --> |
| 96 |
* <!-- end-user-doc --> |
| 97 |
* @generated |
| 98 |
*/ |
| 99 |
public static final IPOPackageImpl eINSTANCE = org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl.init(); |
| 100 |
|
| 101 |
/** |
| 102 |
* The meta object id for the '{@link org.eclipse.emf.test.models.ipo.impl.AddressImpl <em>Address</em>}' class. |
| 103 |
* <!-- begin-user-doc --> |
| 104 |
* <!-- end-user-doc --> |
| 105 |
* @see org.eclipse.emf.test.models.ipo.impl.AddressImpl |
| 106 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getAddress() |
| 107 |
* @generated |
| 108 |
*/ |
| 109 |
public static final int ADDRESS = 0; |
| 110 |
|
| 111 |
/** |
| 112 |
* The feature id for the '<em><b>Name</b></em>' attribute. |
| 113 |
* <!-- begin-user-doc --> |
| 114 |
* <!-- end-user-doc --> |
| 115 |
* @generated |
| 116 |
* @ordered |
| 117 |
*/ |
| 118 |
public static final int ADDRESS__NAME = 0; |
| 119 |
|
| 120 |
/** |
| 121 |
* The feature id for the '<em><b>Street</b></em>' attribute. |
| 122 |
* <!-- begin-user-doc --> |
| 123 |
* <!-- end-user-doc --> |
| 124 |
* @generated |
| 125 |
* @ordered |
| 126 |
*/ |
| 127 |
public static final int ADDRESS__STREET = 1; |
| 128 |
|
| 129 |
/** |
| 130 |
* The feature id for the '<em><b>City</b></em>' attribute. |
| 131 |
* <!-- begin-user-doc --> |
| 132 |
* <!-- end-user-doc --> |
| 133 |
* @generated |
| 134 |
* @ordered |
| 135 |
*/ |
| 136 |
public static final int ADDRESS__CITY = 2; |
| 137 |
|
| 138 |
/** |
| 139 |
* The number of structural features of the '<em>Address</em>' class. |
| 140 |
* <!-- begin-user-doc --> |
| 141 |
* <!-- end-user-doc --> |
| 142 |
* @generated |
| 143 |
* @ordered |
| 144 |
*/ |
| 145 |
public static final int ADDRESS_FEATURE_COUNT = 3; |
| 146 |
|
| 147 |
/** |
| 148 |
* The meta object id for the '{@link org.eclipse.emf.test.models.ipo.impl.DocumentRootImpl <em>Document Root</em>}' class. |
| 149 |
* <!-- begin-user-doc --> |
| 150 |
* <!-- end-user-doc --> |
| 151 |
* @see org.eclipse.emf.test.models.ipo.impl.DocumentRootImpl |
| 152 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getDocumentRoot() |
| 153 |
* @generated |
| 154 |
*/ |
| 155 |
public static final int DOCUMENT_ROOT = 1; |
| 156 |
|
| 157 |
/** |
| 158 |
* The feature id for the '<em><b>Mixed</b></em>' attribute list. |
| 159 |
* <!-- begin-user-doc --> |
| 160 |
* <!-- end-user-doc --> |
| 161 |
* @generated |
| 162 |
* @ordered |
| 163 |
*/ |
| 164 |
public static final int DOCUMENT_ROOT__MIXED = 0; |
| 165 |
|
| 166 |
/** |
| 167 |
* The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map. |
| 168 |
* <!-- begin-user-doc --> |
| 169 |
* <!-- end-user-doc --> |
| 170 |
* @generated |
| 171 |
* @ordered |
| 172 |
*/ |
| 173 |
public static final int DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1; |
| 174 |
|
| 175 |
/** |
| 176 |
* The feature id for the '<em><b>XSI Schema Location</b></em>' map. |
| 177 |
* <!-- begin-user-doc --> |
| 178 |
* <!-- end-user-doc --> |
| 179 |
* @generated |
| 180 |
* @ordered |
| 181 |
*/ |
| 182 |
public static final int DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2; |
| 183 |
|
| 184 |
/** |
| 185 |
* The feature id for the '<em><b>Comment</b></em>' attribute. |
| 186 |
* <!-- begin-user-doc --> |
| 187 |
* <!-- end-user-doc --> |
| 188 |
* @generated |
| 189 |
* @ordered |
| 190 |
*/ |
| 191 |
public static final int DOCUMENT_ROOT__COMMENT = 3; |
| 192 |
|
| 193 |
/** |
| 194 |
* The feature id for the '<em><b>Purchase Order</b></em>' containment reference. |
| 195 |
* <!-- begin-user-doc --> |
| 196 |
* <!-- end-user-doc --> |
| 197 |
* @generated |
| 198 |
* @ordered |
| 199 |
*/ |
| 200 |
public static final int DOCUMENT_ROOT__PURCHASE_ORDER = 4; |
| 201 |
|
| 202 |
/** |
| 203 |
* The number of structural features of the '<em>Document Root</em>' class. |
| 204 |
* <!-- begin-user-doc --> |
| 205 |
* <!-- end-user-doc --> |
| 206 |
* @generated |
| 207 |
* @ordered |
| 208 |
*/ |
| 209 |
public static final int DOCUMENT_ROOT_FEATURE_COUNT = 5; |
| 210 |
|
| 211 |
/** |
| 212 |
* The meta object id for the '{@link org.eclipse.emf.test.models.ipo.impl.ItemsImpl <em>Items</em>}' class. |
| 213 |
* <!-- begin-user-doc --> |
| 214 |
* <!-- end-user-doc --> |
| 215 |
* @see org.eclipse.emf.test.models.ipo.impl.ItemsImpl |
| 216 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getItems() |
| 217 |
* @generated |
| 218 |
*/ |
| 219 |
public static final int ITEMS = 2; |
| 220 |
|
| 221 |
/** |
| 222 |
* The feature id for the '<em><b>Item</b></em>' containment reference list. |
| 223 |
* <!-- begin-user-doc --> |
| 224 |
* <!-- end-user-doc --> |
| 225 |
* @generated |
| 226 |
* @ordered |
| 227 |
*/ |
| 228 |
public static final int ITEMS__ITEM = 0; |
| 229 |
|
| 230 |
/** |
| 231 |
* The number of structural features of the '<em>Items</em>' class. |
| 232 |
* <!-- begin-user-doc --> |
| 233 |
* <!-- end-user-doc --> |
| 234 |
* @generated |
| 235 |
* @ordered |
| 236 |
*/ |
| 237 |
public static final int ITEMS_FEATURE_COUNT = 1; |
| 238 |
|
| 239 |
/** |
| 240 |
* The meta object id for the '{@link org.eclipse.emf.test.models.ipo.impl.ItemTypeImpl <em>Item Type</em>}' class. |
| 241 |
* <!-- begin-user-doc --> |
| 242 |
* <!-- end-user-doc --> |
| 243 |
* @see org.eclipse.emf.test.models.ipo.impl.ItemTypeImpl |
| 244 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getItemType() |
| 245 |
* @generated |
| 246 |
*/ |
| 247 |
public static final int ITEM_TYPE = 3; |
| 248 |
|
| 249 |
/** |
| 250 |
* The feature id for the '<em><b>Product Name</b></em>' attribute. |
| 251 |
* <!-- begin-user-doc --> |
| 252 |
* <!-- end-user-doc --> |
| 253 |
* @generated |
| 254 |
* @ordered |
| 255 |
*/ |
| 256 |
public static final int ITEM_TYPE__PRODUCT_NAME = 0; |
| 257 |
|
| 258 |
/** |
| 259 |
* The feature id for the '<em><b>Quantity</b></em>' attribute. |
| 260 |
* <!-- begin-user-doc --> |
| 261 |
* <!-- end-user-doc --> |
| 262 |
* @generated |
| 263 |
* @ordered |
| 264 |
*/ |
| 265 |
public static final int ITEM_TYPE__QUANTITY = 1; |
| 266 |
|
| 267 |
/** |
| 268 |
* The feature id for the '<em><b>US Price</b></em>' attribute. |
| 269 |
* <!-- begin-user-doc --> |
| 270 |
* <!-- end-user-doc --> |
| 271 |
* @generated |
| 272 |
* @ordered |
| 273 |
*/ |
| 274 |
public static final int ITEM_TYPE__US_PRICE = 2; |
| 275 |
|
| 276 |
/** |
| 277 |
* The feature id for the '<em><b>Comment</b></em>' attribute. |
| 278 |
* <!-- begin-user-doc --> |
| 279 |
* <!-- end-user-doc --> |
| 280 |
* @generated |
| 281 |
* @ordered |
| 282 |
*/ |
| 283 |
public static final int ITEM_TYPE__COMMENT = 3; |
| 284 |
|
| 285 |
/** |
| 286 |
* The feature id for the '<em><b>Ship Date</b></em>' attribute. |
| 287 |
* <!-- begin-user-doc --> |
| 288 |
* <!-- end-user-doc --> |
| 289 |
* @generated |
| 290 |
* @ordered |
| 291 |
*/ |
| 292 |
public static final int ITEM_TYPE__SHIP_DATE = 4; |
| 293 |
|
| 294 |
/** |
| 295 |
* The feature id for the '<em><b>Part Num</b></em>' attribute. |
| 296 |
* <!-- begin-user-doc --> |
| 297 |
* <!-- end-user-doc --> |
| 298 |
* @generated |
| 299 |
* @ordered |
| 300 |
*/ |
| 301 |
public static final int ITEM_TYPE__PART_NUM = 5; |
| 302 |
|
| 303 |
/** |
| 304 |
* The number of structural features of the '<em>Item Type</em>' class. |
| 305 |
* <!-- begin-user-doc --> |
| 306 |
* <!-- end-user-doc --> |
| 307 |
* @generated |
| 308 |
* @ordered |
| 309 |
*/ |
| 310 |
public static final int ITEM_TYPE_FEATURE_COUNT = 6; |
| 311 |
|
| 312 |
/** |
| 313 |
* The meta object id for the '{@link org.eclipse.emf.test.models.ipo.impl.PurchaseOrderTypeImpl <em>Purchase Order Type</em>}' class. |
| 314 |
* <!-- begin-user-doc --> |
| 315 |
* <!-- end-user-doc --> |
| 316 |
* @see org.eclipse.emf.test.models.ipo.impl.PurchaseOrderTypeImpl |
| 317 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getPurchaseOrderType() |
| 318 |
* @generated |
| 319 |
*/ |
| 320 |
public static final int PURCHASE_ORDER_TYPE = 4; |
| 321 |
|
| 322 |
/** |
| 323 |
* The feature id for the '<em><b>Ship To</b></em>' containment reference. |
| 324 |
* <!-- begin-user-doc --> |
| 325 |
* <!-- end-user-doc --> |
| 326 |
* @generated |
| 327 |
* @ordered |
| 328 |
*/ |
| 329 |
public static final int PURCHASE_ORDER_TYPE__SHIP_TO = 0; |
| 330 |
|
| 331 |
/** |
| 332 |
* The feature id for the '<em><b>Bill To</b></em>' containment reference. |
| 333 |
* <!-- begin-user-doc --> |
| 334 |
* <!-- end-user-doc --> |
| 335 |
* @generated |
| 336 |
* @ordered |
| 337 |
*/ |
| 338 |
public static final int PURCHASE_ORDER_TYPE__BILL_TO = 1; |
| 339 |
|
| 340 |
/** |
| 341 |
* The feature id for the '<em><b>Comment</b></em>' attribute. |
| 342 |
* <!-- begin-user-doc --> |
| 343 |
* <!-- end-user-doc --> |
| 344 |
* @generated |
| 345 |
* @ordered |
| 346 |
*/ |
| 347 |
public static final int PURCHASE_ORDER_TYPE__COMMENT = 2; |
| 348 |
|
| 349 |
/** |
| 350 |
* The feature id for the '<em><b>Items</b></em>' containment reference. |
| 351 |
* <!-- begin-user-doc --> |
| 352 |
* <!-- end-user-doc --> |
| 353 |
* @generated |
| 354 |
* @ordered |
| 355 |
*/ |
| 356 |
public static final int PURCHASE_ORDER_TYPE__ITEMS = 3; |
| 357 |
|
| 358 |
/** |
| 359 |
* The feature id for the '<em><b>Order Date</b></em>' attribute. |
| 360 |
* <!-- begin-user-doc --> |
| 361 |
* <!-- end-user-doc --> |
| 362 |
* @generated |
| 363 |
* @ordered |
| 364 |
*/ |
| 365 |
public static final int PURCHASE_ORDER_TYPE__ORDER_DATE = 4; |
| 366 |
|
| 367 |
/** |
| 368 |
* The number of structural features of the '<em>Purchase Order Type</em>' class. |
| 369 |
* <!-- begin-user-doc --> |
| 370 |
* <!-- end-user-doc --> |
| 371 |
* @generated |
| 372 |
* @ordered |
| 373 |
*/ |
| 374 |
public static final int PURCHASE_ORDER_TYPE_FEATURE_COUNT = 5; |
| 375 |
|
| 376 |
/** |
| 377 |
* The meta object id for the '{@link org.eclipse.emf.test.models.ipo.impl.UKAddressImpl <em>UK Address</em>}' class. |
| 378 |
* <!-- begin-user-doc --> |
| 379 |
* <!-- end-user-doc --> |
| 380 |
* @see org.eclipse.emf.test.models.ipo.impl.UKAddressImpl |
| 381 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getUKAddress() |
| 382 |
* @generated |
| 383 |
*/ |
| 384 |
public static final int UK_ADDRESS = 5; |
| 385 |
|
| 386 |
/** |
| 387 |
* The feature id for the '<em><b>Name</b></em>' attribute. |
| 388 |
* <!-- begin-user-doc --> |
| 389 |
* <!-- end-user-doc --> |
| 390 |
* @generated |
| 391 |
* @ordered |
| 392 |
*/ |
| 393 |
public static final int UK_ADDRESS__NAME = ADDRESS__NAME; |
| 394 |
|
| 395 |
/** |
| 396 |
* The feature id for the '<em><b>Street</b></em>' attribute. |
| 397 |
* <!-- begin-user-doc --> |
| 398 |
* <!-- end-user-doc --> |
| 399 |
* @generated |
| 400 |
* @ordered |
| 401 |
*/ |
| 402 |
public static final int UK_ADDRESS__STREET = ADDRESS__STREET; |
| 403 |
|
| 404 |
/** |
| 405 |
* The feature id for the '<em><b>City</b></em>' attribute. |
| 406 |
* <!-- begin-user-doc --> |
| 407 |
* <!-- end-user-doc --> |
| 408 |
* @generated |
| 409 |
* @ordered |
| 410 |
*/ |
| 411 |
public static final int UK_ADDRESS__CITY = ADDRESS__CITY; |
| 412 |
|
| 413 |
/** |
| 414 |
* The feature id for the '<em><b>Postcode</b></em>' attribute. |
| 415 |
* <!-- begin-user-doc --> |
| 416 |
* <!-- end-user-doc --> |
| 417 |
* @generated |
| 418 |
* @ordered |
| 419 |
*/ |
| 420 |
public static final int UK_ADDRESS__POSTCODE = ADDRESS_FEATURE_COUNT + 0; |
| 421 |
|
| 422 |
/** |
| 423 |
* The feature id for the '<em><b>Export Code</b></em>' attribute. |
| 424 |
* <!-- begin-user-doc --> |
| 425 |
* <!-- end-user-doc --> |
| 426 |
* @generated |
| 427 |
* @ordered |
| 428 |
*/ |
| 429 |
public static final int UK_ADDRESS__EXPORT_CODE = ADDRESS_FEATURE_COUNT + 1; |
| 430 |
|
| 431 |
/** |
| 432 |
* The number of structural features of the '<em>UK Address</em>' class. |
| 433 |
* <!-- begin-user-doc --> |
| 434 |
* <!-- end-user-doc --> |
| 435 |
* @generated |
| 436 |
* @ordered |
| 437 |
*/ |
| 438 |
public static final int UK_ADDRESS_FEATURE_COUNT = ADDRESS_FEATURE_COUNT + 2; |
| 439 |
|
| 440 |
/** |
| 441 |
* The meta object id for the '{@link org.eclipse.emf.test.models.ipo.impl.USAddressImpl <em>US Address</em>}' class. |
| 442 |
* <!-- begin-user-doc --> |
| 443 |
* <!-- end-user-doc --> |
| 444 |
* @see org.eclipse.emf.test.models.ipo.impl.USAddressImpl |
| 445 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getUSAddress() |
| 446 |
* @generated |
| 447 |
*/ |
| 448 |
public static final int US_ADDRESS = 6; |
| 449 |
|
| 450 |
/** |
| 451 |
* The feature id for the '<em><b>Name</b></em>' attribute. |
| 452 |
* <!-- begin-user-doc --> |
| 453 |
* <!-- end-user-doc --> |
| 454 |
* @generated |
| 455 |
* @ordered |
| 456 |
*/ |
| 457 |
public static final int US_ADDRESS__NAME = ADDRESS__NAME; |
| 458 |
|
| 459 |
/** |
| 460 |
* The feature id for the '<em><b>Street</b></em>' attribute. |
| 461 |
* <!-- begin-user-doc --> |
| 462 |
* <!-- end-user-doc --> |
| 463 |
* @generated |
| 464 |
* @ordered |
| 465 |
*/ |
| 466 |
public static final int US_ADDRESS__STREET = ADDRESS__STREET; |
| 467 |
|
| 468 |
/** |
| 469 |
* The feature id for the '<em><b>City</b></em>' attribute. |
| 470 |
* <!-- begin-user-doc --> |
| 471 |
* <!-- end-user-doc --> |
| 472 |
* @generated |
| 473 |
* @ordered |
| 474 |
*/ |
| 475 |
public static final int US_ADDRESS__CITY = ADDRESS__CITY; |
| 476 |
|
| 477 |
/** |
| 478 |
* The feature id for the '<em><b>State</b></em>' attribute. |
| 479 |
* <!-- begin-user-doc --> |
| 480 |
* <!-- end-user-doc --> |
| 481 |
* @generated |
| 482 |
* @ordered |
| 483 |
*/ |
| 484 |
public static final int US_ADDRESS__STATE = ADDRESS_FEATURE_COUNT + 0; |
| 485 |
|
| 486 |
/** |
| 487 |
* The feature id for the '<em><b>Zip</b></em>' attribute. |
| 488 |
* <!-- begin-user-doc --> |
| 489 |
* <!-- end-user-doc --> |
| 490 |
* @generated |
| 491 |
* @ordered |
| 492 |
*/ |
| 493 |
public static final int US_ADDRESS__ZIP = ADDRESS_FEATURE_COUNT + 1; |
| 494 |
|
| 495 |
/** |
| 496 |
* The number of structural features of the '<em>US Address</em>' class. |
| 497 |
* <!-- begin-user-doc --> |
| 498 |
* <!-- end-user-doc --> |
| 499 |
* @generated |
| 500 |
* @ordered |
| 501 |
*/ |
| 502 |
public static final int US_ADDRESS_FEATURE_COUNT = ADDRESS_FEATURE_COUNT + 2; |
| 503 |
|
| 504 |
/** |
| 505 |
* The meta object id for the '{@link org.eclipse.emf.test.models.ipo.USState <em>US State</em>}' enum. |
| 506 |
* <!-- begin-user-doc --> |
| 507 |
* <!-- end-user-doc --> |
| 508 |
* @see org.eclipse.emf.test.models.ipo.USState |
| 509 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getUSState() |
| 510 |
* @generated |
| 511 |
*/ |
| 512 |
public static final int US_STATE = 7; |
| 513 |
|
| 514 |
/** |
| 515 |
* The meta object id for the '<em>Postcode</em>' data type. |
| 516 |
* <!-- begin-user-doc --> |
| 517 |
* <!-- end-user-doc --> |
| 518 |
* @see java.lang.String |
| 519 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getPostcode() |
| 520 |
* @generated |
| 521 |
*/ |
| 522 |
public static final int POSTCODE = 8; |
| 523 |
|
| 524 |
/** |
| 525 |
* The meta object id for the '<em>Quantity Type</em>' data type. |
| 526 |
* <!-- begin-user-doc --> |
| 527 |
* <!-- end-user-doc --> |
| 528 |
* @see java.math.BigInteger |
| 529 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getQuantityType() |
| 530 |
* @generated |
| 531 |
*/ |
| 532 |
public static final int QUANTITY_TYPE = 9; |
| 533 |
|
| 534 |
/** |
| 535 |
* The meta object id for the '<em>SKU</em>' data type. |
| 536 |
* <!-- begin-user-doc --> |
| 537 |
* <!-- end-user-doc --> |
| 538 |
* @see java.lang.String |
| 539 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getSKU() |
| 540 |
* @generated |
| 541 |
*/ |
| 542 |
public static final int SKU = 10; |
| 543 |
|
| 544 |
/** |
| 545 |
* The meta object id for the '<em>UK Postcode</em>' data type. |
| 546 |
* <!-- begin-user-doc --> |
| 547 |
* <!-- end-user-doc --> |
| 548 |
* @see java.lang.String |
| 549 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getUKPostcode() |
| 550 |
* @generated |
| 551 |
*/ |
| 552 |
public static final int UK_POSTCODE = 11; |
| 553 |
|
| 554 |
/** |
| 555 |
* The meta object id for the '<em>US State Object</em>' data type. |
| 556 |
* <!-- begin-user-doc --> |
| 557 |
* <!-- end-user-doc --> |
| 558 |
* @see org.eclipse.emf.test.models.ipo.USState |
| 559 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getUSStateObject() |
| 560 |
* @generated |
| 561 |
*/ |
| 562 |
public static final int US_STATE_OBJECT = 12; |
| 563 |
|
| 564 |
/** |
| 565 |
* <!-- begin-user-doc --> |
| 566 |
* <!-- end-user-doc --> |
| 567 |
* @generated |
| 568 |
*/ |
| 569 |
private EClass addressEClass = null; |
| 570 |
|
| 571 |
/** |
| 572 |
* <!-- begin-user-doc --> |
| 573 |
* <!-- end-user-doc --> |
| 574 |
* @generated |
| 575 |
*/ |
| 576 |
private EClass documentRootEClass = null; |
| 577 |
|
| 578 |
/** |
| 579 |
* <!-- begin-user-doc --> |
| 580 |
* <!-- end-user-doc --> |
| 581 |
* @generated |
| 582 |
*/ |
| 583 |
private EClass itemsEClass = null; |
| 584 |
|
| 585 |
/** |
| 586 |
* <!-- begin-user-doc --> |
| 587 |
* <!-- end-user-doc --> |
| 588 |
* @generated |
| 589 |
*/ |
| 590 |
private EClass itemTypeEClass = null; |
| 591 |
|
| 592 |
/** |
| 593 |
* <!-- begin-user-doc --> |
| 594 |
* <!-- end-user-doc --> |
| 595 |
* @generated |
| 596 |
*/ |
| 597 |
private EClass purchaseOrderTypeEClass = null; |
| 598 |
|
| 599 |
/** |
| 600 |
* <!-- begin-user-doc --> |
| 601 |
* <!-- end-user-doc --> |
| 602 |
* @generated |
| 603 |
*/ |
| 604 |
private EClass ukAddressEClass = null; |
| 605 |
|
| 606 |
/** |
| 607 |
* <!-- begin-user-doc --> |
| 608 |
* <!-- end-user-doc --> |
| 609 |
* @generated |
| 610 |
*/ |
| 611 |
private EClass usAddressEClass = null; |
| 612 |
|
| 613 |
/** |
| 614 |
* <!-- begin-user-doc --> |
| 615 |
* <!-- end-user-doc --> |
| 616 |
* @generated |
| 617 |
*/ |
| 618 |
private EEnum usStateEEnum = null; |
| 619 |
|
| 620 |
/** |
| 621 |
* <!-- begin-user-doc --> |
| 622 |
* <!-- end-user-doc --> |
| 623 |
* @generated |
| 624 |
*/ |
| 625 |
private EDataType postcodeEDataType = null; |
| 626 |
|
| 627 |
/** |
| 628 |
* <!-- begin-user-doc --> |
| 629 |
* <!-- end-user-doc --> |
| 630 |
* @generated |
| 631 |
*/ |
| 632 |
private EDataType quantityTypeEDataType = null; |
| 633 |
|
| 634 |
/** |
| 635 |
* <!-- begin-user-doc --> |
| 636 |
* <!-- end-user-doc --> |
| 637 |
* @generated |
| 638 |
*/ |
| 639 |
private EDataType skuEDataType = null; |
| 640 |
|
| 641 |
/** |
| 642 |
* <!-- begin-user-doc --> |
| 643 |
* <!-- end-user-doc --> |
| 644 |
* @generated |
| 645 |
*/ |
| 646 |
private EDataType ukPostcodeEDataType = null; |
| 647 |
|
| 648 |
/** |
| 649 |
* <!-- begin-user-doc --> |
| 650 |
* <!-- end-user-doc --> |
| 651 |
* @generated |
| 652 |
*/ |
| 653 |
private EDataType usStateObjectEDataType = null; |
| 654 |
|
| 655 |
/** |
| 656 |
* Creates an instance of the model <b>Package</b>, registered with |
| 657 |
* {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package |
| 658 |
* package URI value. |
| 659 |
* <p>Note: the correct way to create the package is via the static |
| 660 |
* factory method {@link #init init()}, which also performs |
| 661 |
* initialization of the package, or returns the registered package, |
| 662 |
* if one already exists. |
| 663 |
* <!-- begin-user-doc --> |
| 664 |
* <!-- end-user-doc --> |
| 665 |
* @see org.eclipse.emf.ecore.EPackage.Registry |
| 666 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#eNS_URI |
| 667 |
* @see #init() |
| 668 |
* @generated |
| 669 |
*/ |
| 670 |
private IPOPackageImpl() |
| 671 |
{ |
| 672 |
super(eNS_URI, ((EFactory)IPOFactory.INSTANCE)); |
| 673 |
} |
| 674 |
|
| 675 |
/** |
| 676 |
* <!-- begin-user-doc --> |
| 677 |
* <!-- end-user-doc --> |
| 678 |
* @generated |
| 679 |
*/ |
| 680 |
private static boolean isInited = false; |
| 681 |
|
| 682 |
/** |
| 683 |
* Creates, registers, and initializes the <b>Package</b> for this |
| 684 |
* model, and for any others upon which it depends. Simple |
| 685 |
* dependencies are satisfied by calling this method on all |
| 686 |
* dependent packages before doing anything else. This method drives |
| 687 |
* initialization for interdependent packages directly, in parallel |
| 688 |
* with this package, itself. |
| 689 |
* <p>Of this package and its interdependencies, all packages which |
| 690 |
* have not yet been registered by their URI values are first created |
| 691 |
* and registered. The packages are then initialized in two steps: |
| 692 |
* meta-model objects for all of the packages are created before any |
| 693 |
* are initialized, since one package's meta-model objects may refer to |
| 694 |
* those of another. |
| 695 |
* <p>Invocation of this method will not affect any packages that have |
| 696 |
* already been initialized. |
| 697 |
* <!-- begin-user-doc --> |
| 698 |
* <!-- end-user-doc --> |
| 699 |
* @see #eNS_URI |
| 700 |
* @see #createPackageContents() |
| 701 |
* @see #initializePackageContents() |
| 702 |
* @generated |
| 703 |
*/ |
| 704 |
public static IPOPackageImpl init() |
| 705 |
{ |
| 706 |
if (isInited) return (IPOPackageImpl)EPackage.Registry.INSTANCE.getEPackage(IPOPackageImpl.eNS_URI); |
| 707 |
|
| 708 |
// Obtain or create and register package |
| 709 |
IPOPackageImpl theIPOPackageImpl = (IPOPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof IPOPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new IPOPackageImpl()); |
| 710 |
|
| 711 |
isInited = true; |
| 712 |
|
| 713 |
// Initialize simple dependencies |
| 714 |
XMLTypePackage.eINSTANCE.eClass(); |
| 715 |
|
| 716 |
// Create package meta-data objects |
| 717 |
theIPOPackageImpl.createPackageContents(); |
| 718 |
|
| 719 |
// Initialize created meta-data |
| 720 |
theIPOPackageImpl.initializePackageContents(); |
| 721 |
|
| 722 |
// Register package validator |
| 723 |
EValidator.Registry.INSTANCE.put |
| 724 |
(theIPOPackageImpl, |
| 725 |
new EValidator.Descriptor() |
| 726 |
{ |
| 727 |
public EValidator getEValidator() |
| 728 |
{ |
| 729 |
return IPOValidator.INSTANCE; |
| 730 |
} |
| 731 |
}); |
| 732 |
|
| 733 |
// Mark meta-data to indicate it can't be changed |
| 734 |
theIPOPackageImpl.freeze(); |
| 735 |
|
| 736 |
return theIPOPackageImpl; |
| 737 |
} |
| 738 |
|
| 739 |
|
| 740 |
/** |
| 741 |
* Returns the meta object for class '{@link org.eclipse.emf.test.models.ipo.Address <em>Address</em>}'. |
| 742 |
* <!-- begin-user-doc --> |
| 743 |
* <!-- end-user-doc --> |
| 744 |
* @return the meta object for class '<em>Address</em>'. |
| 745 |
* @see org.eclipse.emf.test.models.ipo.Address |
| 746 |
* @generated |
| 747 |
*/ |
| 748 |
public EClass getAddress() |
| 749 |
{ |
| 750 |
return addressEClass; |
| 751 |
} |
| 752 |
|
| 753 |
/** |
| 754 |
* Returns the meta object for the attribute '{@link org.eclipse.emf.test.models.ipo.Address#getName <em>Name</em>}'. |
| 755 |
* <!-- begin-user-doc --> |
| 756 |
* <!-- end-user-doc --> |
| 757 |
* @return the meta object for the attribute '<em>Name</em>'. |
| 758 |
* @see org.eclipse.emf.test.models.ipo.Address#getName() |
| 759 |
* @see #getAddress() |
| 760 |
* @generated |
| 761 |
*/ |
| 762 |
public EAttribute getAddress_Name() |
| 763 |
{ |
| 764 |
return (EAttribute)addressEClass.getEStructuralFeatures().get(0); |
| 765 |
} |
| 766 |
|
| 767 |
/** |
| 768 |
* Returns the meta object for the attribute '{@link org.eclipse.emf.test.models.ipo.Address#getStreet <em>Street</em>}'. |
| 769 |
* <!-- begin-user-doc --> |
| 770 |
* <!-- end-user-doc --> |
| 771 |
* @return the meta object for the attribute '<em>Street</em>'. |
| 772 |
* @see org.eclipse.emf.test.models.ipo.Address#getStreet() |
| 773 |
* @see #getAddress() |
| 774 |
* @generated |
| 775 |
*/ |
| 776 |
public EAttribute getAddress_Street() |
| 777 |
{ |
| 778 |
return (EAttribute)addressEClass.getEStructuralFeatures().get(1); |
| 779 |
} |
| 780 |
|
| 781 |
/** |
| 782 |
* Returns the meta object for the attribute '{@link org.eclipse.emf.test.models.ipo.Address#getCity <em>City</em>}'. |
| 783 |
* <!-- begin-user-doc --> |
| 784 |
* <!-- end-user-doc --> |
| 785 |
* @return the meta object for the attribute '<em>City</em>'. |
| 786 |
* @see org.eclipse.emf.test.models.ipo.Address#getCity() |
| 787 |
* @see #getAddress() |
| 788 |
* @generated |
| 789 |
*/ |
| 790 |
public EAttribute getAddress_City() |
| 791 |
{ |
| 792 |
return (EAttribute)addressEClass.getEStructuralFeatures().get(2); |
| 793 |
} |
| 794 |
|
| 795 |
/** |
| 796 |
* Returns the meta object for class '{@link org.eclipse.emf.test.models.ipo.DocumentRoot <em>Document Root</em>}'. |
| 797 |
* <!-- begin-user-doc --> |
| 798 |
* <!-- end-user-doc --> |
| 799 |
* @return the meta object for class '<em>Document Root</em>'. |
| 800 |
* @see org.eclipse.emf.test.models.ipo.DocumentRoot |
| 801 |
* @generated |
| 802 |
*/ |
| 803 |
public EClass getDocumentRoot() |
| 804 |
{ |
| 805 |
return documentRootEClass; |
| 806 |
} |
| 807 |
|
| 808 |
/** |
| 809 |
* Returns the meta object for the attribute list '{@link org.eclipse.emf.test.models.ipo.DocumentRoot#getMixed <em>Mixed</em>}'. |
| 810 |
* <!-- begin-user-doc --> |
| 811 |
* <!-- end-user-doc --> |
| 812 |
* @return the meta object for the attribute list '<em>Mixed</em>'. |
| 813 |
* @see org.eclipse.emf.test.models.ipo.DocumentRoot#getMixed() |
| 814 |
* @see #getDocumentRoot() |
| 815 |
* @generated |
| 816 |
*/ |
| 817 |
public EAttribute getDocumentRoot_Mixed() |
| 818 |
{ |
| 819 |
return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0); |
| 820 |
} |
| 821 |
|
| 822 |
/** |
| 823 |
* Returns the meta object for the map '{@link org.eclipse.emf.test.models.ipo.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}'. |
| 824 |
* <!-- begin-user-doc --> |
| 825 |
* <!-- end-user-doc --> |
| 826 |
* @return the meta object for the map '<em>XMLNS Prefix Map</em>'. |
| 827 |
* @see org.eclipse.emf.test.models.ipo.DocumentRoot#getXMLNSPrefixMap() |
| 828 |
* @see #getDocumentRoot() |
| 829 |
* @generated |
| 830 |
*/ |
| 831 |
public EReference getDocumentRoot_XMLNSPrefixMap() |
| 832 |
{ |
| 833 |
return (EReference)documentRootEClass.getEStructuralFeatures().get(1); |
| 834 |
} |
| 835 |
|
| 836 |
/** |
| 837 |
* Returns the meta object for the map '{@link org.eclipse.emf.test.models.ipo.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}'. |
| 838 |
* <!-- begin-user-doc --> |
| 839 |
* <!-- end-user-doc --> |
| 840 |
* @return the meta object for the map '<em>XSI Schema Location</em>'. |
| 841 |
* @see org.eclipse.emf.test.models.ipo.DocumentRoot#getXSISchemaLocation() |
| 842 |
* @see #getDocumentRoot() |
| 843 |
* @generated |
| 844 |
*/ |
| 845 |
public EReference getDocumentRoot_XSISchemaLocation() |
| 846 |
{ |
| 847 |
return (EReference)documentRootEClass.getEStructuralFeatures().get(2); |
| 848 |
} |
| 849 |
|
| 850 |
/** |
| 851 |
* Returns the meta object for the attribute '{@link org.eclipse.emf.test.models.ipo.DocumentRoot#getComment <em>Comment</em>}'. |
| 852 |
* <!-- begin-user-doc --> |
| 853 |
* <!-- end-user-doc --> |
| 854 |
* @return the meta object for the attribute '<em>Comment</em>'. |
| 855 |
* @see org.eclipse.emf.test.models.ipo.DocumentRoot#getComment() |
| 856 |
* @see #getDocumentRoot() |
| 857 |
* @generated |
| 858 |
*/ |
| 859 |
public EAttribute getDocumentRoot_Comment() |
| 860 |
{ |
| 861 |
return (EAttribute)documentRootEClass.getEStructuralFeatures().get(3); |
| 862 |
} |
| 863 |
|
| 864 |
/** |
| 865 |
* Returns the meta object for the containment reference '{@link org.eclipse.emf.test.models.ipo.DocumentRoot#getPurchaseOrder <em>Purchase Order</em>}'. |
| 866 |
* <!-- begin-user-doc --> |
| 867 |
* <!-- end-user-doc --> |
| 868 |
* @return the meta object for the containment reference '<em>Purchase Order</em>'. |
| 869 |
* @see org.eclipse.emf.test.models.ipo.DocumentRoot#getPurchaseOrder() |
| 870 |
* @see #getDocumentRoot() |
| 871 |
* @generated |
| 872 |
*/ |
| 873 |
public EReference getDocumentRoot_PurchaseOrder() |
| 874 |
{ |
| 875 |
return (EReference)documentRootEClass.getEStructuralFeatures().get(4); |
| 876 |
} |
| 877 |
|
| 878 |
/** |
| 879 |
* Returns the meta object for class '{@link org.eclipse.emf.test.models.ipo.Items <em>Items</em>}'. |
| 880 |
* <!-- begin-user-doc --> |
| 881 |
* <!-- end-user-doc --> |
| 882 |
* @return the meta object for class '<em>Items</em>'. |
| 883 |
* @see org.eclipse.emf.test.models.ipo.Items |
| 884 |
* @generated |
| 885 |
*/ |
| 886 |
public EClass getItems() |
| 887 |
{ |
| 888 |
return itemsEClass; |
| 889 |
} |
| 890 |
|
| 891 |
/** |
| 892 |
* Returns the meta object for the containment reference list '{@link org.eclipse.emf.test.models.ipo.Items#getItem <em>Item</em>}'. |
| 893 |
* <!-- begin-user-doc --> |
| 894 |
* <!-- end-user-doc --> |
| 895 |
* @return the meta object for the containment reference list '<em>Item</em>'. |
| 896 |
* @see org.eclipse.emf.test.models.ipo.Items#getItem() |
| 897 |
* @see #getItems() |
| 898 |
* @generated |
| 899 |
*/ |
| 900 |
public EReference getItems_Item() |
| 901 |
{ |
| 902 |
return (EReference)itemsEClass.getEStructuralFeatures().get(0); |
| 903 |
} |
| 904 |
|
| 905 |
/** |
| 906 |
* Returns the meta object for class '{@link org.eclipse.emf.test.models.ipo.ItemType <em>Item Type</em>}'. |
| 907 |
* <!-- begin-user-doc --> |
| 908 |
* <!-- end-user-doc --> |
| 909 |
* @return the meta object for class '<em>Item Type</em>'. |
| 910 |
* @see org.eclipse.emf.test.models.ipo.ItemType |
| 911 |
* @generated |
| 912 |
*/ |
| 913 |
public EClass getItemType() |
| 914 |
{ |
| 915 |
return itemTypeEClass; |
| 916 |
} |
| 917 |
|
| 918 |
/** |
| 919 |
* Returns the meta object for the attribute '{@link org.eclipse.emf.test.models.ipo.ItemType#getProductName <em>Product Name</em>}'. |
| 920 |
* <!-- begin-user-doc --> |
| 921 |
* <!-- end-user-doc --> |
| 922 |
* @return the meta object for the attribute '<em>Product Name</em>'. |
| 923 |
* @see org.eclipse.emf.test.models.ipo.ItemType#getProductName() |
| 924 |
* @see #getItemType() |
| 925 |
* @generated |
| 926 |
*/ |
| 927 |
public EAttribute getItemType_ProductName() |
| 928 |
{ |
| 929 |
return (EAttribute)itemTypeEClass.getEStructuralFeatures().get(0); |
| 930 |
} |
| 931 |
|
| 932 |
/** |
| 933 |
* Returns the meta object for the attribute '{@link org.eclipse.emf.test.models.ipo.ItemType#getQuantity <em>Quantity</em>}'. |
| 934 |
* <!-- begin-user-doc --> |
| 935 |
* <!-- end-user-doc --> |
| 936 |
* @return the meta object for the attribute '<em>Quantity</em>'. |
| 937 |
* @see org.eclipse.emf.test.models.ipo.ItemType#getQuantity() |
| 938 |
* @see #getItemType() |
| 939 |
* @generated |
| 940 |
*/ |
| 941 |
public EAttribute getItemType_Quantity() |
| 942 |
{ |
| 943 |
return (EAttribute)itemTypeEClass.getEStructuralFeatures().get(1); |
| 944 |
} |
| 945 |
|
| 946 |
/** |
| 947 |
* Returns the meta object for the attribute '{@link org.eclipse.emf.test.models.ipo.ItemType#getUSPrice <em>US Price</em>}'. |
| 948 |
* <!-- begin-user-doc --> |
| 949 |
* <!-- end-user-doc --> |
| 950 |
* @return the meta object for the attribute '<em>US Price</em>'. |
| 951 |
* @see org.eclipse.emf.test.models.ipo.ItemType#getUSPrice() |
| 952 |
* @see #getItemType() |
| 953 |
* @generated |
| 954 |
*/ |
| 955 |
public EAttribute getItemType_USPrice() |
| 956 |
{ |
| 957 |
return (EAttribute)itemTypeEClass.getEStructuralFeatures().get(2); |
| 958 |
} |
| 959 |
|
| 960 |
/** |
| 961 |
* Returns the meta object for the attribute '{@link org.eclipse.emf.test.models.ipo.ItemType#getComment <em>Comment</em>}'. |
| 962 |
* <!-- begin-user-doc --> |
| 963 |
* <!-- end-user-doc --> |
| 964 |
* @return the meta object for the attribute '<em>Comment</em>'. |
| 965 |
* @see org.eclipse.emf.test.models.ipo.ItemType#getComment() |
| 966 |
* @see #getItemType() |
| 967 |
* @generated |
| 968 |
*/ |
| 969 |
public EAttribute getItemType_Comment() |
| 970 |
{ |
| 971 |
return (EAttribute)itemTypeEClass.getEStructuralFeatures().get(3); |
| 972 |
} |
| 973 |
|
| 974 |
/** |
| 975 |
* Returns the meta object for the attribute '{@link org.eclipse.emf.test.models.ipo.ItemType#getShipDate <em>Ship Date</em>}'. |
| 976 |
* <!-- begin-user-doc --> |
| 977 |
* <!-- end-user-doc --> |
| 978 |
* @return the meta object for the attribute '<em>Ship Date</em>'. |
| 979 |
* @see org.eclipse.emf.test.models.ipo.ItemType#getShipDate() |
| 980 |
* @see #getItemType() |
| 981 |
* @generated |
| 982 |
*/ |
| 983 |
public EAttribute getItemType_ShipDate() |
| 984 |
{ |
| 985 |
return (EAttribute)itemTypeEClass.getEStructuralFeatures().get(4); |
| 986 |
} |
| 987 |
|
| 988 |
/** |
| 989 |
* Returns the meta object for the attribute '{@link org.eclipse.emf.test.models.ipo.ItemType#getPartNum <em>Part Num</em>}'. |
| 990 |
* <!-- begin-user-doc --> |
| 991 |
* <!-- end-user-doc --> |
| 992 |
* @return the meta object for the attribute '<em>Part Num</em>'. |
| 993 |
* @see org.eclipse.emf.test.models.ipo.ItemType#getPartNum() |
| 994 |
* @see #getItemType() |
| 995 |
* @generated |
| 996 |
*/ |
| 997 |
public EAttribute getItemType_PartNum() |
| 998 |
{ |
| 999 |
return (EAttribute)itemTypeEClass.getEStructuralFeatures().get(5); |
| 1000 |
} |
| 1001 |
|
| 1002 |
/** |
| 1003 |
* Returns the meta object for class '{@link org.eclipse.emf.test.models.ipo.PurchaseOrderType <em>Purchase Order Type</em>}'. |
| 1004 |
* <!-- begin-user-doc --> |
| 1005 |
* <!-- end-user-doc --> |
| 1006 |
* @return the meta object for class '<em>Purchase Order Type</em>'. |
| 1007 |
* @see org.eclipse.emf.test.models.ipo.PurchaseOrderType |
| 1008 |
* @generated |
| 1009 |
*/ |
| 1010 |
public EClass getPurchaseOrderType() |
| 1011 |
{ |
| 1012 |
return purchaseOrderTypeEClass; |
| 1013 |
} |
| 1014 |
|
| 1015 |
/** |
| 1016 |
* Returns the meta object for the containment reference '{@link org.eclipse.emf.test.models.ipo.PurchaseOrderType#getShipTo <em>Ship To</em>}'. |
| 1017 |
* <!-- begin-user-doc --> |
| 1018 |
* <!-- end-user-doc --> |
| 1019 |
* @return the meta object for the containment reference '<em>Ship To</em>'. |
| 1020 |
* @see org.eclipse.emf.test.models.ipo.PurchaseOrderType#getShipTo() |
| 1021 |
* @see #getPurchaseOrderType() |
| 1022 |
* @generated |
| 1023 |
*/ |
| 1024 |
public EReference getPurchaseOrderType_ShipTo() |
| 1025 |
{ |
| 1026 |
return (EReference)purchaseOrderTypeEClass.getEStructuralFeatures().get(0); |
| 1027 |
} |
| 1028 |
|
| 1029 |
/** |
| 1030 |
* Returns the meta object for the containment reference '{@link org.eclipse.emf.test.models.ipo.PurchaseOrderType#getBillTo <em>Bill To</em>}'. |
| 1031 |
* <!-- begin-user-doc --> |
| 1032 |
* <!-- end-user-doc --> |
| 1033 |
* @return the meta object for the containment reference '<em>Bill To</em>'. |
| 1034 |
* @see org.eclipse.emf.test.models.ipo.PurchaseOrderType#getBillTo() |
| 1035 |
* @see #getPurchaseOrderType() |
| 1036 |
* @generated |
| 1037 |
*/ |
| 1038 |
public EReference getPurchaseOrderType_BillTo() |
| 1039 |
{ |
| 1040 |
return (EReference)purchaseOrderTypeEClass.getEStructuralFeatures().get(1); |
| 1041 |
} |
| 1042 |
|
| 1043 |
/** |
| 1044 |
* Returns the meta object for the attribute '{@link org.eclipse.emf.test.models.ipo.PurchaseOrderType#getComment <em>Comment</em>}'. |
| 1045 |
* <!-- begin-user-doc --> |
| 1046 |
* <!-- end-user-doc --> |
| 1047 |
* @return the meta object for the attribute '<em>Comment</em>'. |
| 1048 |
* @see org.eclipse.emf.test.models.ipo.PurchaseOrderType#getComment() |
| 1049 |
* @see #getPurchaseOrderType() |
| 1050 |
* @generated |
| 1051 |
*/ |
| 1052 |
public EAttribute getPurchaseOrderType_Comment() |
| 1053 |
{ |
| 1054 |
return (EAttribute)purchaseOrderTypeEClass.getEStructuralFeatures().get(2); |
| 1055 |
} |
| 1056 |
|
| 1057 |
/** |
| 1058 |
* Returns the meta object for the containment reference '{@link org.eclipse.emf.test.models.ipo.PurchaseOrderType#getItems <em>Items</em>}'. |
| 1059 |
* <!-- begin-user-doc --> |
| 1060 |
* <!-- end-user-doc --> |
| 1061 |
* @return the meta object for the containment reference '<em>Items</em>'. |
| 1062 |
* @see org.eclipse.emf.test.models.ipo.PurchaseOrderType#getItems() |
| 1063 |
* @see #getPurchaseOrderType() |
| 1064 |
* @generated |
| 1065 |
*/ |
| 1066 |
public EReference getPurchaseOrderType_Items() |
| 1067 |
{ |
| 1068 |
return (EReference)purchaseOrderTypeEClass.getEStructuralFeatures().get(3); |
| 1069 |
} |
| 1070 |
|
| 1071 |
/** |
| 1072 |
* Returns the meta object for the attribute '{@link org.eclipse.emf.test.models.ipo.PurchaseOrderType#getOrderDate <em>Order Date</em>}'. |
| 1073 |
* <!-- begin-user-doc --> |
| 1074 |
* <!-- end-user-doc --> |
| 1075 |
* @return the meta object for the attribute '<em>Order Date</em>'. |
| 1076 |
* @see org.eclipse.emf.test.models.ipo.PurchaseOrderType#getOrderDate() |
| 1077 |
* @see #getPurchaseOrderType() |
| 1078 |
* @generated |
| 1079 |
*/ |
| 1080 |
public EAttribute getPurchaseOrderType_OrderDate() |
| 1081 |
{ |
| 1082 |
return (EAttribute)purchaseOrderTypeEClass.getEStructuralFeatures().get(4); |
| 1083 |
} |
| 1084 |
|
| 1085 |
/** |
| 1086 |
* Returns the meta object for class '{@link org.eclipse.emf.test.models.ipo.UKAddress <em>UK Address</em>}'. |
| 1087 |
* <!-- begin-user-doc --> |
| 1088 |
* <!-- end-user-doc --> |
| 1089 |
* @return the meta object for class '<em>UK Address</em>'. |
| 1090 |
* @see org.eclipse.emf.test.models.ipo.UKAddress |
| 1091 |
* @generated |
| 1092 |
*/ |
| 1093 |
public EClass getUKAddress() |
| 1094 |
{ |
| 1095 |
return ukAddressEClass; |
| 1096 |
} |
| 1097 |
|
| 1098 |
/** |
| 1099 |
* Returns the meta object for the attribute '{@link org.eclipse.emf.test.models.ipo.UKAddress#getPostcode <em>Postcode</em>}'. |
| 1100 |
* <!-- begin-user-doc --> |
| 1101 |
* <!-- end-user-doc --> |
| 1102 |
* @return the meta object for the attribute '<em>Postcode</em>'. |
| 1103 |
* @see org.eclipse.emf.test.models.ipo.UKAddress#getPostcode() |
| 1104 |
* @see #getUKAddress() |
| 1105 |
* @generated |
| 1106 |
*/ |
| 1107 |
public EAttribute getUKAddress_Postcode() |
| 1108 |
{ |
| 1109 |
return (EAttribute)ukAddressEClass.getEStructuralFeatures().get(0); |
| 1110 |
} |
| 1111 |
|
| 1112 |
/** |
| 1113 |
* Returns the meta object for the attribute '{@link org.eclipse.emf.test.models.ipo.UKAddress#getExportCode <em>Export Code</em>}'. |
| 1114 |
* <!-- begin-user-doc --> |
| 1115 |
* <!-- end-user-doc --> |
| 1116 |
* @return the meta object for the attribute '<em>Export Code</em>'. |
| 1117 |
* @see org.eclipse.emf.test.models.ipo.UKAddress#getExportCode() |
| 1118 |
* @see #getUKAddress() |
| 1119 |
* @generated |
| 1120 |
*/ |
| 1121 |
public EAttribute getUKAddress_ExportCode() |
| 1122 |
{ |
| 1123 |
return (EAttribute)ukAddressEClass.getEStructuralFeatures().get(1); |
| 1124 |
} |
| 1125 |
|
| 1126 |
/** |
| 1127 |
* Returns the meta object for class '{@link org.eclipse.emf.test.models.ipo.USAddress <em>US Address</em>}'. |
| 1128 |
* <!-- begin-user-doc --> |
| 1129 |
* <!-- end-user-doc --> |
| 1130 |
* @return the meta object for class '<em>US Address</em>'. |
| 1131 |
* @see org.eclipse.emf.test.models.ipo.USAddress |
| 1132 |
* @generated |
| 1133 |
*/ |
| 1134 |
public EClass getUSAddress() |
| 1135 |
{ |
| 1136 |
return usAddressEClass; |
| 1137 |
} |
| 1138 |
|
| 1139 |
/** |
| 1140 |
* Returns the meta object for the attribute '{@link org.eclipse.emf.test.models.ipo.USAddress#getState <em>State</em>}'. |
| 1141 |
* <!-- begin-user-doc --> |
| 1142 |
* <!-- end-user-doc --> |
| 1143 |
* @return the meta object for the attribute '<em>State</em>'. |
| 1144 |
* @see org.eclipse.emf.test.models.ipo.USAddress#getState() |
| 1145 |
* @see #getUSAddress() |
| 1146 |
* @generated |
| 1147 |
*/ |
| 1148 |
public EAttribute getUSAddress_State() |
| 1149 |
{ |
| 1150 |
return (EAttribute)usAddressEClass.getEStructuralFeatures().get(0); |
| 1151 |
} |
| 1152 |
|
| 1153 |
/** |
| 1154 |
* Returns the meta object for the attribute '{@link org.eclipse.emf.test.models.ipo.USAddress#getZip <em>Zip</em>}'. |
| 1155 |
* <!-- begin-user-doc --> |
| 1156 |
* <!-- end-user-doc --> |
| 1157 |
* @return the meta object for the attribute '<em>Zip</em>'. |
| 1158 |
* @see org.eclipse.emf.test.models.ipo.USAddress#getZip() |
| 1159 |
* @see #getUSAddress() |
| 1160 |
* @generated |
| 1161 |
*/ |
| 1162 |
public EAttribute getUSAddress_Zip() |
| 1163 |
{ |
| 1164 |
return (EAttribute)usAddressEClass.getEStructuralFeatures().get(1); |
| 1165 |
} |
| 1166 |
|
| 1167 |
/** |
| 1168 |
* Returns the meta object for enum '{@link org.eclipse.emf.test.models.ipo.USState <em>US State</em>}'. |
| 1169 |
* <!-- begin-user-doc --> |
| 1170 |
* <!-- end-user-doc --> |
| 1171 |
* @return the meta object for enum '<em>US State</em>'. |
| 1172 |
* @see org.eclipse.emf.test.models.ipo.USState |
| 1173 |
* @generated |
| 1174 |
*/ |
| 1175 |
public EEnum getUSState() |
| 1176 |
{ |
| 1177 |
return usStateEEnum; |
| 1178 |
} |
| 1179 |
|
| 1180 |
/** |
| 1181 |
* Returns the meta object for data type '{@link java.lang.String <em>Postcode</em>}'. |
| 1182 |
* <!-- begin-user-doc --> |
| 1183 |
* <!-- end-user-doc --> |
| 1184 |
* @return the meta object for data type '<em>Postcode</em>'. |
| 1185 |
* @see java.lang.String |
| 1186 |
* @model instanceClass="java.lang.String" |
| 1187 |
* extendedMetaData="name='Postcode' baseType='http://www.eclipse.org/emf/2003/XMLType#string' length='7'" |
| 1188 |
* @generated |
| 1189 |
*/ |
| 1190 |
public EDataType getPostcode() |
| 1191 |
{ |
| 1192 |
return postcodeEDataType; |
| 1193 |
} |
| 1194 |
|
| 1195 |
/** |
| 1196 |
* Returns the meta object for data type '{@link java.math.BigInteger <em>Quantity Type</em>}'. |
| 1197 |
* <!-- begin-user-doc --> |
| 1198 |
* <!-- end-user-doc --> |
| 1199 |
* @return the meta object for data type '<em>Quantity Type</em>'. |
| 1200 |
* @see java.math.BigInteger |
| 1201 |
* @model instanceClass="java.math.BigInteger" |
| 1202 |
* extendedMetaData="name='quantity_._type' baseType='http://www.eclipse.org/emf/2003/XMLType#positiveInteger' maxExclusive='100'" |
| 1203 |
* @generated |
| 1204 |
*/ |
| 1205 |
public EDataType getQuantityType() |
| 1206 |
{ |
| 1207 |
return quantityTypeEDataType; |
| 1208 |
} |
| 1209 |
|
| 1210 |
/** |
| 1211 |
* Returns the meta object for data type '{@link java.lang.String <em>SKU</em>}'. |
| 1212 |
* <!-- begin-user-doc --> |
| 1213 |
* <!-- end-user-doc --> |
| 1214 |
* @return the meta object for data type '<em>SKU</em>'. |
| 1215 |
* @see java.lang.String |
| 1216 |
* @model instanceClass="java.lang.String" |
| 1217 |
* extendedMetaData="name='SKU' baseType='http://www.eclipse.org/emf/2003/XMLType#string' pattern='\\d{3}-[A-Z]{2}'" |
| 1218 |
* @generated |
| 1219 |
*/ |
| 1220 |
public EDataType getSKU() |
| 1221 |
{ |
| 1222 |
return skuEDataType; |
| 1223 |
} |
| 1224 |
|
| 1225 |
/** |
| 1226 |
* Returns the meta object for data type '{@link java.lang.String <em>UK Postcode</em>}'. |
| 1227 |
* <!-- begin-user-doc --> |
| 1228 |
* <!-- end-user-doc --> |
| 1229 |
* @return the meta object for data type '<em>UK Postcode</em>'. |
| 1230 |
* @see java.lang.String |
| 1231 |
* @model instanceClass="java.lang.String" |
| 1232 |
* extendedMetaData="name='UKPostcode' baseType='Postcode' pattern='[A-Z]{2}\\d\\s\\d[A-Z]{2}'" |
| 1233 |
* @generated |
| 1234 |
*/ |
| 1235 |
public EDataType getUKPostcode() |
| 1236 |
{ |
| 1237 |
return ukPostcodeEDataType; |
| 1238 |
} |
| 1239 |
|
| 1240 |
/** |
| 1241 |
* Returns the meta object for data type '{@link org.eclipse.emf.test.models.ipo.USState <em>US State Object</em>}'. |
| 1242 |
* <!-- begin-user-doc --> |
| 1243 |
* <!-- end-user-doc --> |
| 1244 |
* @return the meta object for data type '<em>US State Object</em>'. |
| 1245 |
* @see org.eclipse.emf.test.models.ipo.USState |
| 1246 |
* @model instanceClass="org.eclipse.emf.test.models.ipo.USState" |
| 1247 |
* extendedMetaData="name='USState:Object' baseType='USState'" |
| 1248 |
* @generated |
| 1249 |
*/ |
| 1250 |
public EDataType getUSStateObject() |
| 1251 |
{ |
| 1252 |
return usStateObjectEDataType; |
| 1253 |
} |
| 1254 |
|
| 1255 |
/** |
| 1256 |
* Returns the factory that creates the instances of the model. |
| 1257 |
* <!-- begin-user-doc --> |
| 1258 |
* <!-- end-user-doc --> |
| 1259 |
* @return the factory that creates the instances of the model. |
| 1260 |
* @generated |
| 1261 |
*/ |
| 1262 |
public IPOFactory getIPOFactory() |
| 1263 |
{ |
| 1264 |
return (IPOFactory)getEFactoryInstance(); |
| 1265 |
} |
| 1266 |
|
| 1267 |
/** |
| 1268 |
* <!-- begin-user-doc --> |
| 1269 |
* <!-- end-user-doc --> |
| 1270 |
* @generated |
| 1271 |
*/ |
| 1272 |
private boolean isCreated = false; |
| 1273 |
|
| 1274 |
/** |
| 1275 |
* Creates the meta-model objects for the package. This method is |
| 1276 |
* guarded to have no affect on any invocation but its first. |
| 1277 |
* <!-- begin-user-doc --> |
| 1278 |
* <!-- end-user-doc --> |
| 1279 |
* @generated |
| 1280 |
*/ |
| 1281 |
public void createPackageContents() |
| 1282 |
{ |
| 1283 |
if (isCreated) return; |
| 1284 |
isCreated = true; |
| 1285 |
|
| 1286 |
// Create classes and their features |
| 1287 |
addressEClass = createEClass(ADDRESS); |
| 1288 |
createEAttribute(addressEClass, ADDRESS__NAME); |
| 1289 |
createEAttribute(addressEClass, ADDRESS__STREET); |
| 1290 |
createEAttribute(addressEClass, ADDRESS__CITY); |
| 1291 |
|
| 1292 |
documentRootEClass = createEClass(DOCUMENT_ROOT); |
| 1293 |
createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED); |
| 1294 |
createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP); |
| 1295 |
createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION); |
| 1296 |
createEAttribute(documentRootEClass, DOCUMENT_ROOT__COMMENT); |
| 1297 |
createEReference(documentRootEClass, DOCUMENT_ROOT__PURCHASE_ORDER); |
| 1298 |
|
| 1299 |
itemsEClass = createEClass(ITEMS); |
| 1300 |
createEReference(itemsEClass, ITEMS__ITEM); |
| 1301 |
|
| 1302 |
itemTypeEClass = createEClass(ITEM_TYPE); |
| 1303 |
createEAttribute(itemTypeEClass, ITEM_TYPE__PRODUCT_NAME); |
| 1304 |
createEAttribute(itemTypeEClass, ITEM_TYPE__QUANTITY); |
| 1305 |
createEAttribute(itemTypeEClass, ITEM_TYPE__US_PRICE); |
| 1306 |
createEAttribute(itemTypeEClass, ITEM_TYPE__COMMENT); |
| 1307 |
createEAttribute(itemTypeEClass, ITEM_TYPE__SHIP_DATE); |
| 1308 |
createEAttribute(itemTypeEClass, ITEM_TYPE__PART_NUM); |
| 1309 |
|
| 1310 |
purchaseOrderTypeEClass = createEClass(PURCHASE_ORDER_TYPE); |
| 1311 |
createEReference(purchaseOrderTypeEClass, PURCHASE_ORDER_TYPE__SHIP_TO); |
| 1312 |
createEReference(purchaseOrderTypeEClass, PURCHASE_ORDER_TYPE__BILL_TO); |
| 1313 |
createEAttribute(purchaseOrderTypeEClass, PURCHASE_ORDER_TYPE__COMMENT); |
| 1314 |
createEReference(purchaseOrderTypeEClass, PURCHASE_ORDER_TYPE__ITEMS); |
| 1315 |
createEAttribute(purchaseOrderTypeEClass, PURCHASE_ORDER_TYPE__ORDER_DATE); |
| 1316 |
|
| 1317 |
ukAddressEClass = createEClass(UK_ADDRESS); |
| 1318 |
createEAttribute(ukAddressEClass, UK_ADDRESS__POSTCODE); |
| 1319 |
createEAttribute(ukAddressEClass, UK_ADDRESS__EXPORT_CODE); |
| 1320 |
|
| 1321 |
usAddressEClass = createEClass(US_ADDRESS); |
| 1322 |
createEAttribute(usAddressEClass, US_ADDRESS__STATE); |
| 1323 |
createEAttribute(usAddressEClass, US_ADDRESS__ZIP); |
| 1324 |
|
| 1325 |
// Create enums |
| 1326 |
usStateEEnum = createEEnum(US_STATE); |
| 1327 |
|
| 1328 |
// Create data types |
| 1329 |
postcodeEDataType = createEDataType(POSTCODE); |
| 1330 |
quantityTypeEDataType = createEDataType(QUANTITY_TYPE); |
| 1331 |
skuEDataType = createEDataType(SKU); |
| 1332 |
ukPostcodeEDataType = createEDataType(UK_POSTCODE); |
| 1333 |
usStateObjectEDataType = createEDataType(US_STATE_OBJECT); |
| 1334 |
} |
| 1335 |
|
| 1336 |
/** |
| 1337 |
* <!-- begin-user-doc --> |
| 1338 |
* <!-- end-user-doc --> |
| 1339 |
* @generated |
| 1340 |
*/ |
| 1341 |
private boolean isInitialized = false; |
| 1342 |
|
| 1343 |
/** |
| 1344 |
* Complete the initialization of the package and its meta-model. This |
| 1345 |
* method is guarded to have no affect on any invocation but its first. |
| 1346 |
* <!-- begin-user-doc --> |
| 1347 |
* <!-- end-user-doc --> |
| 1348 |
* @generated |
| 1349 |
*/ |
| 1350 |
public void initializePackageContents() |
| 1351 |
{ |
| 1352 |
if (isInitialized) return; |
| 1353 |
isInitialized = true; |
| 1354 |
|
| 1355 |
// Initialize package |
| 1356 |
setName(eNAME); |
| 1357 |
setNsPrefix(eNS_PREFIX); |
| 1358 |
setNsURI(eNS_URI); |
| 1359 |
|
| 1360 |
// Obtain other dependent packages |
| 1361 |
XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); |
| 1362 |
|
| 1363 |
// Create type parameters |
| 1364 |
|
| 1365 |
// Set bounds for type parameters |
| 1366 |
|
| 1367 |
// Add supertypes to classes |
| 1368 |
ukAddressEClass.getESuperTypes().add(this.getAddress()); |
| 1369 |
usAddressEClass.getESuperTypes().add(this.getAddress()); |
| 1370 |
|
| 1371 |
// Initialize classes and features; add operations and parameters |
| 1372 |
initEClass(addressEClass, Address.class, "Address", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1373 |
initEAttribute(getAddress_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, Address.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1374 |
initEAttribute(getAddress_Street(), theXMLTypePackage.getString(), "street", null, 1, 1, Address.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1375 |
initEAttribute(getAddress_City(), theXMLTypePackage.getString(), "city", null, 1, 1, Address.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1376 |
|
| 1377 |
initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1378 |
initEAttribute(getDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1379 |
initEReference(getDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1380 |
initEReference(getDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1381 |
initEAttribute(getDocumentRoot_Comment(), theXMLTypePackage.getString(), "comment", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED); |
| 1382 |
initEReference(getDocumentRoot_PurchaseOrder(), this.getPurchaseOrderType(), null, "purchaseOrder", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); |
| 1383 |
|
| 1384 |
initEClass(itemsEClass, Items.class, "Items", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1385 |
initEReference(getItems_Item(), this.getItemType(), null, "item", null, 0, -1, Items.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1386 |
|
| 1387 |
initEClass(itemTypeEClass, ItemType.class, "ItemType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1388 |
initEAttribute(getItemType_ProductName(), theXMLTypePackage.getString(), "productName", null, 1, 1, ItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1389 |
initEAttribute(getItemType_Quantity(), this.getQuantityType(), "quantity", null, 1, 1, ItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1390 |
initEAttribute(getItemType_USPrice(), theXMLTypePackage.getDecimal(), "uSPrice", null, 1, 1, ItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1391 |
initEAttribute(getItemType_Comment(), theXMLTypePackage.getString(), "comment", null, 0, 1, ItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1392 |
initEAttribute(getItemType_ShipDate(), theXMLTypePackage.getDate(), "shipDate", null, 0, 1, ItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1393 |
initEAttribute(getItemType_PartNum(), this.getSKU(), "partNum", null, 1, 1, ItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1394 |
|
| 1395 |
initEClass(purchaseOrderTypeEClass, PurchaseOrderType.class, "PurchaseOrderType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1396 |
initEReference(getPurchaseOrderType_ShipTo(), this.getAddress(), null, "shipTo", null, 1, 1, PurchaseOrderType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1397 |
initEReference(getPurchaseOrderType_BillTo(), this.getAddress(), null, "billTo", null, 1, 1, PurchaseOrderType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1398 |
initEAttribute(getPurchaseOrderType_Comment(), theXMLTypePackage.getString(), "comment", null, 0, 1, PurchaseOrderType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1399 |
initEReference(getPurchaseOrderType_Items(), this.getItems(), null, "items", null, 1, 1, PurchaseOrderType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1400 |
initEAttribute(getPurchaseOrderType_OrderDate(), theXMLTypePackage.getDateTime(), "orderDate", null, 0, 1, PurchaseOrderType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1401 |
|
| 1402 |
initEClass(ukAddressEClass, UKAddress.class, "UKAddress", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1403 |
initEAttribute(getUKAddress_Postcode(), this.getUKPostcode(), "postcode", null, 1, 1, UKAddress.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1404 |
initEAttribute(getUKAddress_ExportCode(), theXMLTypePackage.getPositiveInteger(), "exportCode", "1", 0, 1, UKAddress.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1405 |
|
| 1406 |
initEClass(usAddressEClass, USAddress.class, "USAddress", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1407 |
initEAttribute(getUSAddress_State(), this.getUSState(), "state", "AK", 1, 1, USAddress.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1408 |
initEAttribute(getUSAddress_Zip(), theXMLTypePackage.getPositiveInteger(), "zip", null, 1, 1, USAddress.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1409 |
|
| 1410 |
// Initialize enums and add enum literals |
| 1411 |
initEEnum(usStateEEnum, USState.class, "USState"); |
| 1412 |
addEEnumLiteral(usStateEEnum, USState.AK); |
| 1413 |
addEEnumLiteral(usStateEEnum, USState.AL); |
| 1414 |
addEEnumLiteral(usStateEEnum, USState.AR); |
| 1415 |
addEEnumLiteral(usStateEEnum, USState.PA); |
| 1416 |
|
| 1417 |
// Initialize data types |
| 1418 |
initEDataType(postcodeEDataType, String.class, "Postcode", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); |
| 1419 |
initEDataType(quantityTypeEDataType, BigInteger.class, "QuantityType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); |
| 1420 |
initEDataType(skuEDataType, String.class, "SKU", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); |
| 1421 |
initEDataType(ukPostcodeEDataType, String.class, "UKPostcode", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); |
| 1422 |
initEDataType(usStateObjectEDataType, USState.class, "USStateObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); |
| 1423 |
|
| 1424 |
// Create resource |
| 1425 |
createResource(eNS_URI); |
| 1426 |
|
| 1427 |
// Create annotations |
| 1428 |
// http:///org/eclipse/emf/ecore/util/ExtendedMetaData |
| 1429 |
createExtendedMetaDataAnnotations(); |
| 1430 |
} |
| 1431 |
|
| 1432 |
/** |
| 1433 |
* Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>. |
| 1434 |
* <!-- begin-user-doc --> |
| 1435 |
* <!-- end-user-doc --> |
| 1436 |
* @generated |
| 1437 |
*/ |
| 1438 |
protected void createExtendedMetaDataAnnotations() |
| 1439 |
{ |
| 1440 |
String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; |
| 1441 |
addAnnotation |
| 1442 |
(addressEClass, |
| 1443 |
source, |
| 1444 |
new String[] |
| 1445 |
{ |
| 1446 |
"name", "Address", |
| 1447 |
"kind", "elementOnly" |
| 1448 |
}); |
| 1449 |
addAnnotation |
| 1450 |
(getAddress_Name(), |
| 1451 |
source, |
| 1452 |
new String[] |
| 1453 |
{ |
| 1454 |
"kind", "element", |
| 1455 |
"name", "name" |
| 1456 |
}); |
| 1457 |
addAnnotation |
| 1458 |
(getAddress_Street(), |
| 1459 |
source, |
| 1460 |
new String[] |
| 1461 |
{ |
| 1462 |
"kind", "element", |
| 1463 |
"name", "street" |
| 1464 |
}); |
| 1465 |
addAnnotation |
| 1466 |
(getAddress_City(), |
| 1467 |
source, |
| 1468 |
new String[] |
| 1469 |
{ |
| 1470 |
"kind", "element", |
| 1471 |
"name", "city" |
| 1472 |
}); |
| 1473 |
addAnnotation |
| 1474 |
(documentRootEClass, |
| 1475 |
source, |
| 1476 |
new String[] |
| 1477 |
{ |
| 1478 |
"name", "", |
| 1479 |
"kind", "mixed" |
| 1480 |
}); |
| 1481 |
addAnnotation |
| 1482 |
(getDocumentRoot_Mixed(), |
| 1483 |
source, |
| 1484 |
new String[] |
| 1485 |
{ |
| 1486 |
"kind", "elementWildcard", |
| 1487 |
"name", ":mixed" |
| 1488 |
}); |
| 1489 |
addAnnotation |
| 1490 |
(getDocumentRoot_XMLNSPrefixMap(), |
| 1491 |
source, |
| 1492 |
new String[] |
| 1493 |
{ |
| 1494 |
"kind", "attribute", |
| 1495 |
"name", "xmlns:prefix" |
| 1496 |
}); |
| 1497 |
addAnnotation |
| 1498 |
(getDocumentRoot_XSISchemaLocation(), |
| 1499 |
source, |
| 1500 |
new String[] |
| 1501 |
{ |
| 1502 |
"kind", "attribute", |
| 1503 |
"name", "xsi:schemaLocation" |
| 1504 |
}); |
| 1505 |
addAnnotation |
| 1506 |
(getDocumentRoot_Comment(), |
| 1507 |
source, |
| 1508 |
new String[] |
| 1509 |
{ |
| 1510 |
"kind", "element", |
| 1511 |
"name", "comment", |
| 1512 |
"namespace", "##targetNamespace" |
| 1513 |
}); |
| 1514 |
addAnnotation |
| 1515 |
(getDocumentRoot_PurchaseOrder(), |
| 1516 |
source, |
| 1517 |
new String[] |
| 1518 |
{ |
| 1519 |
"kind", "element", |
| 1520 |
"name", "purchaseOrder", |
| 1521 |
"namespace", "##targetNamespace" |
| 1522 |
}); |
| 1523 |
addAnnotation |
| 1524 |
(itemsEClass, |
| 1525 |
source, |
| 1526 |
new String[] |
| 1527 |
{ |
| 1528 |
"name", "Items", |
| 1529 |
"kind", "elementOnly" |
| 1530 |
}); |
| 1531 |
addAnnotation |
| 1532 |
(getItems_Item(), |
| 1533 |
source, |
| 1534 |
new String[] |
| 1535 |
{ |
| 1536 |
"kind", "element", |
| 1537 |
"name", "item" |
| 1538 |
}); |
| 1539 |
addAnnotation |
| 1540 |
(itemTypeEClass, |
| 1541 |
source, |
| 1542 |
new String[] |
| 1543 |
{ |
| 1544 |
"name", "item_._type", |
| 1545 |
"kind", "elementOnly" |
| 1546 |
}); |
| 1547 |
addAnnotation |
| 1548 |
(getItemType_ProductName(), |
| 1549 |
source, |
| 1550 |
new String[] |
| 1551 |
{ |
| 1552 |
"kind", "element", |
| 1553 |
"name", "productName" |
| 1554 |
}); |
| 1555 |
addAnnotation |
| 1556 |
(getItemType_Quantity(), |
| 1557 |
source, |
| 1558 |
new String[] |
| 1559 |
{ |
| 1560 |
"kind", "element", |
| 1561 |
"name", "quantity" |
| 1562 |
}); |
| 1563 |
addAnnotation |
| 1564 |
(getItemType_USPrice(), |
| 1565 |
source, |
| 1566 |
new String[] |
| 1567 |
{ |
| 1568 |
"kind", "element", |
| 1569 |
"name", "USPrice" |
| 1570 |
}); |
| 1571 |
addAnnotation |
| 1572 |
(getItemType_Comment(), |
| 1573 |
source, |
| 1574 |
new String[] |
| 1575 |
{ |
| 1576 |
"kind", "element", |
| 1577 |
"name", "comment", |
| 1578 |
"namespace", "##targetNamespace" |
| 1579 |
}); |
| 1580 |
addAnnotation |
| 1581 |
(getItemType_ShipDate(), |
| 1582 |
source, |
| 1583 |
new String[] |
| 1584 |
{ |
| 1585 |
"kind", "element", |
| 1586 |
"name", "shipDate" |
| 1587 |
}); |
| 1588 |
addAnnotation |
| 1589 |
(getItemType_PartNum(), |
| 1590 |
source, |
| 1591 |
new String[] |
| 1592 |
{ |
| 1593 |
"kind", "attribute", |
| 1594 |
"name", "partNum" |
| 1595 |
}); |
| 1596 |
addAnnotation |
| 1597 |
(postcodeEDataType, |
| 1598 |
source, |
| 1599 |
new String[] |
| 1600 |
{ |
| 1601 |
"name", "Postcode", |
| 1602 |
"baseType", "http://www.eclipse.org/emf/2003/XMLType#string", |
| 1603 |
"length", "7" |
| 1604 |
}); |
| 1605 |
addAnnotation |
| 1606 |
(purchaseOrderTypeEClass, |
| 1607 |
source, |
| 1608 |
new String[] |
| 1609 |
{ |
| 1610 |
"name", "PurchaseOrderType", |
| 1611 |
"kind", "elementOnly" |
| 1612 |
}); |
| 1613 |
addAnnotation |
| 1614 |
(getPurchaseOrderType_ShipTo(), |
| 1615 |
source, |
| 1616 |
new String[] |
| 1617 |
{ |
| 1618 |
"kind", "element", |
| 1619 |
"name", "shipTo" |
| 1620 |
}); |
| 1621 |
addAnnotation |
| 1622 |
(getPurchaseOrderType_BillTo(), |
| 1623 |
source, |
| 1624 |
new String[] |
| 1625 |
{ |
| 1626 |
"kind", "element", |
| 1627 |
"name", "billTo" |
| 1628 |
}); |
| 1629 |
addAnnotation |
| 1630 |
(getPurchaseOrderType_Comment(), |
| 1631 |
source, |
| 1632 |
new String[] |
| 1633 |
{ |
| 1634 |
"kind", "element", |
| 1635 |
"name", "comment", |
| 1636 |
"namespace", "##targetNamespace" |
| 1637 |
}); |
| 1638 |
addAnnotation |
| 1639 |
(getPurchaseOrderType_Items(), |
| 1640 |
source, |
| 1641 |
new String[] |
| 1642 |
{ |
| 1643 |
"kind", "element", |
| 1644 |
"name", "items" |
| 1645 |
}); |
| 1646 |
addAnnotation |
| 1647 |
(getPurchaseOrderType_OrderDate(), |
| 1648 |
source, |
| 1649 |
new String[] |
| 1650 |
{ |
| 1651 |
"kind", "attribute", |
| 1652 |
"name", "orderDate" |
| 1653 |
}); |
| 1654 |
addAnnotation |
| 1655 |
(quantityTypeEDataType, |
| 1656 |
source, |
| 1657 |
new String[] |
| 1658 |
{ |
| 1659 |
"name", "quantity_._type", |
| 1660 |
"baseType", "http://www.eclipse.org/emf/2003/XMLType#positiveInteger", |
| 1661 |
"maxExclusive", "100" |
| 1662 |
}); |
| 1663 |
addAnnotation |
| 1664 |
(skuEDataType, |
| 1665 |
source, |
| 1666 |
new String[] |
| 1667 |
{ |
| 1668 |
"name", "SKU", |
| 1669 |
"baseType", "http://www.eclipse.org/emf/2003/XMLType#string", |
| 1670 |
"pattern", "\\d{3}-[A-Z]{2}" |
| 1671 |
}); |
| 1672 |
addAnnotation |
| 1673 |
(ukAddressEClass, |
| 1674 |
source, |
| 1675 |
new String[] |
| 1676 |
{ |
| 1677 |
"name", "UKAddress", |
| 1678 |
"kind", "elementOnly" |
| 1679 |
}); |
| 1680 |
addAnnotation |
| 1681 |
(getUKAddress_Postcode(), |
| 1682 |
source, |
| 1683 |
new String[] |
| 1684 |
{ |
| 1685 |
"kind", "element", |
| 1686 |
"name", "postcode" |
| 1687 |
}); |
| 1688 |
addAnnotation |
| 1689 |
(getUKAddress_ExportCode(), |
| 1690 |
source, |
| 1691 |
new String[] |
| 1692 |
{ |
| 1693 |
"kind", "attribute", |
| 1694 |
"name", "exportCode" |
| 1695 |
}); |
| 1696 |
addAnnotation |
| 1697 |
(ukPostcodeEDataType, |
| 1698 |
source, |
| 1699 |
new String[] |
| 1700 |
{ |
| 1701 |
"name", "UKPostcode", |
| 1702 |
"baseType", "Postcode", |
| 1703 |
"pattern", "[A-Z]{2}\\d\\s\\d[A-Z]{2}" |
| 1704 |
}); |
| 1705 |
addAnnotation |
| 1706 |
(usAddressEClass, |
| 1707 |
source, |
| 1708 |
new String[] |
| 1709 |
{ |
| 1710 |
"name", "USAddress", |
| 1711 |
"kind", "elementOnly" |
| 1712 |
}); |
| 1713 |
addAnnotation |
| 1714 |
(getUSAddress_State(), |
| 1715 |
source, |
| 1716 |
new String[] |
| 1717 |
{ |
| 1718 |
"kind", "element", |
| 1719 |
"name", "state" |
| 1720 |
}); |
| 1721 |
addAnnotation |
| 1722 |
(getUSAddress_Zip(), |
| 1723 |
source, |
| 1724 |
new String[] |
| 1725 |
{ |
| 1726 |
"kind", "element", |
| 1727 |
"name", "zip" |
| 1728 |
}); |
| 1729 |
addAnnotation |
| 1730 |
(usStateEEnum, |
| 1731 |
source, |
| 1732 |
new String[] |
| 1733 |
{ |
| 1734 |
"name", "USState" |
| 1735 |
}); |
| 1736 |
addAnnotation |
| 1737 |
(usStateObjectEDataType, |
| 1738 |
source, |
| 1739 |
new String[] |
| 1740 |
{ |
| 1741 |
"name", "USState:Object", |
| 1742 |
"baseType", "USState" |
| 1743 |
}); |
| 1744 |
} |
| 1745 |
|
| 1746 |
/** |
| 1747 |
* <!-- begin-user-doc --> |
| 1748 |
* Defines literals for the meta objects that represent |
| 1749 |
* <ul> |
| 1750 |
* <li>each class,</li> |
| 1751 |
* <li>each feature of each class,</li> |
| 1752 |
* <li>each enum,</li> |
| 1753 |
* <li>and each data type</li> |
| 1754 |
* </ul> |
| 1755 |
* <!-- end-user-doc --> |
| 1756 |
* @generated |
| 1757 |
*/ |
| 1758 |
public interface Literals |
| 1759 |
{ |
| 1760 |
/** |
| 1761 |
* The meta object literal for the '{@link org.eclipse.emf.test.models.ipo.impl.AddressImpl <em>Address</em>}' class. |
| 1762 |
* <!-- begin-user-doc --> |
| 1763 |
* <!-- end-user-doc --> |
| 1764 |
* @see org.eclipse.emf.test.models.ipo.impl.AddressImpl |
| 1765 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getAddress() |
| 1766 |
* @generated |
| 1767 |
*/ |
| 1768 |
public static final EClass ADDRESS = eINSTANCE.getAddress(); |
| 1769 |
|
| 1770 |
/** |
| 1771 |
* The meta object literal for the '<em><b>Name</b></em>' attribute feature. |
| 1772 |
* <!-- begin-user-doc --> |
| 1773 |
* <!-- end-user-doc --> |
| 1774 |
* @generated |
| 1775 |
*/ |
| 1776 |
public static final EAttribute ADDRESS__NAME = eINSTANCE.getAddress_Name(); |
| 1777 |
|
| 1778 |
/** |
| 1779 |
* The meta object literal for the '<em><b>Street</b></em>' attribute feature. |
| 1780 |
* <!-- begin-user-doc --> |
| 1781 |
* <!-- end-user-doc --> |
| 1782 |
* @generated |
| 1783 |
*/ |
| 1784 |
public static final EAttribute ADDRESS__STREET = eINSTANCE.getAddress_Street(); |
| 1785 |
|
| 1786 |
/** |
| 1787 |
* The meta object literal for the '<em><b>City</b></em>' attribute feature. |
| 1788 |
* <!-- begin-user-doc --> |
| 1789 |
* <!-- end-user-doc --> |
| 1790 |
* @generated |
| 1791 |
*/ |
| 1792 |
public static final EAttribute ADDRESS__CITY = eINSTANCE.getAddress_City(); |
| 1793 |
|
| 1794 |
/** |
| 1795 |
* The meta object literal for the '{@link org.eclipse.emf.test.models.ipo.impl.DocumentRootImpl <em>Document Root</em>}' class. |
| 1796 |
* <!-- begin-user-doc --> |
| 1797 |
* <!-- end-user-doc --> |
| 1798 |
* @see org.eclipse.emf.test.models.ipo.impl.DocumentRootImpl |
| 1799 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getDocumentRoot() |
| 1800 |
* @generated |
| 1801 |
*/ |
| 1802 |
public static final EClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot(); |
| 1803 |
|
| 1804 |
/** |
| 1805 |
* The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature. |
| 1806 |
* <!-- begin-user-doc --> |
| 1807 |
* <!-- end-user-doc --> |
| 1808 |
* @generated |
| 1809 |
*/ |
| 1810 |
public static final EAttribute DOCUMENT_ROOT__MIXED = eINSTANCE.getDocumentRoot_Mixed(); |
| 1811 |
|
| 1812 |
/** |
| 1813 |
* The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature. |
| 1814 |
* <!-- begin-user-doc --> |
| 1815 |
* <!-- end-user-doc --> |
| 1816 |
* @generated |
| 1817 |
*/ |
| 1818 |
public static final EReference DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE.getDocumentRoot_XMLNSPrefixMap(); |
| 1819 |
|
| 1820 |
/** |
| 1821 |
* The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature. |
| 1822 |
* <!-- begin-user-doc --> |
| 1823 |
* <!-- end-user-doc --> |
| 1824 |
* @generated |
| 1825 |
*/ |
| 1826 |
public static final EReference DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE.getDocumentRoot_XSISchemaLocation(); |
| 1827 |
|
| 1828 |
/** |
| 1829 |
* The meta object literal for the '<em><b>Comment</b></em>' attribute feature. |
| 1830 |
* <!-- begin-user-doc --> |
| 1831 |
* <!-- end-user-doc --> |
| 1832 |
* @generated |
| 1833 |
*/ |
| 1834 |
public static final EAttribute DOCUMENT_ROOT__COMMENT = eINSTANCE.getDocumentRoot_Comment(); |
| 1835 |
|
| 1836 |
/** |
| 1837 |
* The meta object literal for the '<em><b>Purchase Order</b></em>' containment reference feature. |
| 1838 |
* <!-- begin-user-doc --> |
| 1839 |
* <!-- end-user-doc --> |
| 1840 |
* @generated |
| 1841 |
*/ |
| 1842 |
public static final EReference DOCUMENT_ROOT__PURCHASE_ORDER = eINSTANCE.getDocumentRoot_PurchaseOrder(); |
| 1843 |
|
| 1844 |
/** |
| 1845 |
* The meta object literal for the '{@link org.eclipse.emf.test.models.ipo.impl.ItemsImpl <em>Items</em>}' class. |
| 1846 |
* <!-- begin-user-doc --> |
| 1847 |
* <!-- end-user-doc --> |
| 1848 |
* @see org.eclipse.emf.test.models.ipo.impl.ItemsImpl |
| 1849 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getItems() |
| 1850 |
* @generated |
| 1851 |
*/ |
| 1852 |
public static final EClass ITEMS = eINSTANCE.getItems(); |
| 1853 |
|
| 1854 |
/** |
| 1855 |
* The meta object literal for the '<em><b>Item</b></em>' containment reference list feature. |
| 1856 |
* <!-- begin-user-doc --> |
| 1857 |
* <!-- end-user-doc --> |
| 1858 |
* @generated |
| 1859 |
*/ |
| 1860 |
public static final EReference ITEMS__ITEM = eINSTANCE.getItems_Item(); |
| 1861 |
|
| 1862 |
/** |
| 1863 |
* The meta object literal for the '{@link org.eclipse.emf.test.models.ipo.impl.ItemTypeImpl <em>Item Type</em>}' class. |
| 1864 |
* <!-- begin-user-doc --> |
| 1865 |
* <!-- end-user-doc --> |
| 1866 |
* @see org.eclipse.emf.test.models.ipo.impl.ItemTypeImpl |
| 1867 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getItemType() |
| 1868 |
* @generated |
| 1869 |
*/ |
| 1870 |
public static final EClass ITEM_TYPE = eINSTANCE.getItemType(); |
| 1871 |
|
| 1872 |
/** |
| 1873 |
* The meta object literal for the '<em><b>Product Name</b></em>' attribute feature. |
| 1874 |
* <!-- begin-user-doc --> |
| 1875 |
* <!-- end-user-doc --> |
| 1876 |
* @generated |
| 1877 |
*/ |
| 1878 |
public static final EAttribute ITEM_TYPE__PRODUCT_NAME = eINSTANCE.getItemType_ProductName(); |
| 1879 |
|
| 1880 |
/** |
| 1881 |
* The meta object literal for the '<em><b>Quantity</b></em>' attribute feature. |
| 1882 |
* <!-- begin-user-doc --> |
| 1883 |
* <!-- end-user-doc --> |
| 1884 |
* @generated |
| 1885 |
*/ |
| 1886 |
public static final EAttribute ITEM_TYPE__QUANTITY = eINSTANCE.getItemType_Quantity(); |
| 1887 |
|
| 1888 |
/** |
| 1889 |
* The meta object literal for the '<em><b>US Price</b></em>' attribute feature. |
| 1890 |
* <!-- begin-user-doc --> |
| 1891 |
* <!-- end-user-doc --> |
| 1892 |
* @generated |
| 1893 |
*/ |
| 1894 |
public static final EAttribute ITEM_TYPE__US_PRICE = eINSTANCE.getItemType_USPrice(); |
| 1895 |
|
| 1896 |
/** |
| 1897 |
* The meta object literal for the '<em><b>Comment</b></em>' attribute feature. |
| 1898 |
* <!-- begin-user-doc --> |
| 1899 |
* <!-- end-user-doc --> |
| 1900 |
* @generated |
| 1901 |
*/ |
| 1902 |
public static final EAttribute ITEM_TYPE__COMMENT = eINSTANCE.getItemType_Comment(); |
| 1903 |
|
| 1904 |
/** |
| 1905 |
* The meta object literal for the '<em><b>Ship Date</b></em>' attribute feature. |
| 1906 |
* <!-- begin-user-doc --> |
| 1907 |
* <!-- end-user-doc --> |
| 1908 |
* @generated |
| 1909 |
*/ |
| 1910 |
public static final EAttribute ITEM_TYPE__SHIP_DATE = eINSTANCE.getItemType_ShipDate(); |
| 1911 |
|
| 1912 |
/** |
| 1913 |
* The meta object literal for the '<em><b>Part Num</b></em>' attribute feature. |
| 1914 |
* <!-- begin-user-doc --> |
| 1915 |
* <!-- end-user-doc --> |
| 1916 |
* @generated |
| 1917 |
*/ |
| 1918 |
public static final EAttribute ITEM_TYPE__PART_NUM = eINSTANCE.getItemType_PartNum(); |
| 1919 |
|
| 1920 |
/** |
| 1921 |
* The meta object literal for the '{@link org.eclipse.emf.test.models.ipo.impl.PurchaseOrderTypeImpl <em>Purchase Order Type</em>}' class. |
| 1922 |
* <!-- begin-user-doc --> |
| 1923 |
* <!-- end-user-doc --> |
| 1924 |
* @see org.eclipse.emf.test.models.ipo.impl.PurchaseOrderTypeImpl |
| 1925 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getPurchaseOrderType() |
| 1926 |
* @generated |
| 1927 |
*/ |
| 1928 |
public static final EClass PURCHASE_ORDER_TYPE = eINSTANCE.getPurchaseOrderType(); |
| 1929 |
|
| 1930 |
/** |
| 1931 |
* The meta object literal for the '<em><b>Ship To</b></em>' containment reference feature. |
| 1932 |
* <!-- begin-user-doc --> |
| 1933 |
* <!-- end-user-doc --> |
| 1934 |
* @generated |
| 1935 |
*/ |
| 1936 |
public static final EReference PURCHASE_ORDER_TYPE__SHIP_TO = eINSTANCE.getPurchaseOrderType_ShipTo(); |
| 1937 |
|
| 1938 |
/** |
| 1939 |
* The meta object literal for the '<em><b>Bill To</b></em>' containment reference feature. |
| 1940 |
* <!-- begin-user-doc --> |
| 1941 |
* <!-- end-user-doc --> |
| 1942 |
* @generated |
| 1943 |
*/ |
| 1944 |
public static final EReference PURCHASE_ORDER_TYPE__BILL_TO = eINSTANCE.getPurchaseOrderType_BillTo(); |
| 1945 |
|
| 1946 |
/** |
| 1947 |
* The meta object literal for the '<em><b>Comment</b></em>' attribute feature. |
| 1948 |
* <!-- begin-user-doc --> |
| 1949 |
* <!-- end-user-doc --> |
| 1950 |
* @generated |
| 1951 |
*/ |
| 1952 |
public static final EAttribute PURCHASE_ORDER_TYPE__COMMENT = eINSTANCE.getPurchaseOrderType_Comment(); |
| 1953 |
|
| 1954 |
/** |
| 1955 |
* The meta object literal for the '<em><b>Items</b></em>' containment reference feature. |
| 1956 |
* <!-- begin-user-doc --> |
| 1957 |
* <!-- end-user-doc --> |
| 1958 |
* @generated |
| 1959 |
*/ |
| 1960 |
public static final EReference PURCHASE_ORDER_TYPE__ITEMS = eINSTANCE.getPurchaseOrderType_Items(); |
| 1961 |
|
| 1962 |
/** |
| 1963 |
* The meta object literal for the '<em><b>Order Date</b></em>' attribute feature. |
| 1964 |
* <!-- begin-user-doc --> |
| 1965 |
* <!-- end-user-doc --> |
| 1966 |
* @generated |
| 1967 |
*/ |
| 1968 |
public static final EAttribute PURCHASE_ORDER_TYPE__ORDER_DATE = eINSTANCE.getPurchaseOrderType_OrderDate(); |
| 1969 |
|
| 1970 |
/** |
| 1971 |
* The meta object literal for the '{@link org.eclipse.emf.test.models.ipo.impl.UKAddressImpl <em>UK Address</em>}' class. |
| 1972 |
* <!-- begin-user-doc --> |
| 1973 |
* <!-- end-user-doc --> |
| 1974 |
* @see org.eclipse.emf.test.models.ipo.impl.UKAddressImpl |
| 1975 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getUKAddress() |
| 1976 |
* @generated |
| 1977 |
*/ |
| 1978 |
public static final EClass UK_ADDRESS = eINSTANCE.getUKAddress(); |
| 1979 |
|
| 1980 |
/** |
| 1981 |
* The meta object literal for the '<em><b>Postcode</b></em>' attribute feature. |
| 1982 |
* <!-- begin-user-doc --> |
| 1983 |
* <!-- end-user-doc --> |
| 1984 |
* @generated |
| 1985 |
*/ |
| 1986 |
public static final EAttribute UK_ADDRESS__POSTCODE = eINSTANCE.getUKAddress_Postcode(); |
| 1987 |
|
| 1988 |
/** |
| 1989 |
* The meta object literal for the '<em><b>Export Code</b></em>' attribute feature. |
| 1990 |
* <!-- begin-user-doc --> |
| 1991 |
* <!-- end-user-doc --> |
| 1992 |
* @generated |
| 1993 |
*/ |
| 1994 |
public static final EAttribute UK_ADDRESS__EXPORT_CODE = eINSTANCE.getUKAddress_ExportCode(); |
| 1995 |
|
| 1996 |
/** |
| 1997 |
* The meta object literal for the '{@link org.eclipse.emf.test.models.ipo.impl.USAddressImpl <em>US Address</em>}' class. |
| 1998 |
* <!-- begin-user-doc --> |
| 1999 |
* <!-- end-user-doc --> |
| 2000 |
* @see org.eclipse.emf.test.models.ipo.impl.USAddressImpl |
| 2001 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getUSAddress() |
| 2002 |
* @generated |
| 2003 |
*/ |
| 2004 |
public static final EClass US_ADDRESS = eINSTANCE.getUSAddress(); |
| 2005 |
|
| 2006 |
/** |
| 2007 |
* The meta object literal for the '<em><b>State</b></em>' attribute feature. |
| 2008 |
* <!-- begin-user-doc --> |
| 2009 |
* <!-- end-user-doc --> |
| 2010 |
* @generated |
| 2011 |
*/ |
| 2012 |
public static final EAttribute US_ADDRESS__STATE = eINSTANCE.getUSAddress_State(); |
| 2013 |
|
| 2014 |
/** |
| 2015 |
* The meta object literal for the '<em><b>Zip</b></em>' attribute feature. |
| 2016 |
* <!-- begin-user-doc --> |
| 2017 |
* <!-- end-user-doc --> |
| 2018 |
* @generated |
| 2019 |
*/ |
| 2020 |
public static final EAttribute US_ADDRESS__ZIP = eINSTANCE.getUSAddress_Zip(); |
| 2021 |
|
| 2022 |
/** |
| 2023 |
* The meta object literal for the '{@link org.eclipse.emf.test.models.ipo.USState <em>US State</em>}' enum. |
| 2024 |
* <!-- begin-user-doc --> |
| 2025 |
* <!-- end-user-doc --> |
| 2026 |
* @see org.eclipse.emf.test.models.ipo.USState |
| 2027 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getUSState() |
| 2028 |
* @generated |
| 2029 |
*/ |
| 2030 |
public static final EEnum US_STATE = eINSTANCE.getUSState(); |
| 2031 |
|
| 2032 |
/** |
| 2033 |
* The meta object literal for the '<em>Postcode</em>' data type. |
| 2034 |
* <!-- begin-user-doc --> |
| 2035 |
* <!-- end-user-doc --> |
| 2036 |
* @see java.lang.String |
| 2037 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getPostcode() |
| 2038 |
* @generated |
| 2039 |
*/ |
| 2040 |
public static final EDataType POSTCODE = eINSTANCE.getPostcode(); |
| 2041 |
|
| 2042 |
/** |
| 2043 |
* The meta object literal for the '<em>Quantity Type</em>' data type. |
| 2044 |
* <!-- begin-user-doc --> |
| 2045 |
* <!-- end-user-doc --> |
| 2046 |
* @see java.math.BigInteger |
| 2047 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getQuantityType() |
| 2048 |
* @generated |
| 2049 |
*/ |
| 2050 |
public static final EDataType QUANTITY_TYPE = eINSTANCE.getQuantityType(); |
| 2051 |
|
| 2052 |
/** |
| 2053 |
* The meta object literal for the '<em>SKU</em>' data type. |
| 2054 |
* <!-- begin-user-doc --> |
| 2055 |
* <!-- end-user-doc --> |
| 2056 |
* @see java.lang.String |
| 2057 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getSKU() |
| 2058 |
* @generated |
| 2059 |
*/ |
| 2060 |
public static final EDataType SKU = eINSTANCE.getSKU(); |
| 2061 |
|
| 2062 |
/** |
| 2063 |
* The meta object literal for the '<em>UK Postcode</em>' data type. |
| 2064 |
* <!-- begin-user-doc --> |
| 2065 |
* <!-- end-user-doc --> |
| 2066 |
* @see java.lang.String |
| 2067 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getUKPostcode() |
| 2068 |
* @generated |
| 2069 |
*/ |
| 2070 |
public static final EDataType UK_POSTCODE = eINSTANCE.getUKPostcode(); |
| 2071 |
|
| 2072 |
/** |
| 2073 |
* The meta object literal for the '<em>US State Object</em>' data type. |
| 2074 |
* <!-- begin-user-doc --> |
| 2075 |
* <!-- end-user-doc --> |
| 2076 |
* @see org.eclipse.emf.test.models.ipo.USState |
| 2077 |
* @see org.eclipse.emf.test.models.ipo.impl.IPOPackageImpl#getUSStateObject() |
| 2078 |
* @generated |
| 2079 |
*/ |
| 2080 |
public static final EDataType US_STATE_OBJECT = eINSTANCE.getUSStateObject(); |
| 2081 |
|
| 2082 |
} |
| 2083 |
|
| 2084 |
} //IPOPackageImpl |