src-gen/org/worklang/work/impl/WorkPackageImpl.java
/**
   * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
   * 
   * <p>This method is used to initialize {@link WorkPackage#eINSTANCE} when that field is accessed.
   * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #eNS_URI
   * @see #createPackageContents()
   * @see #initializePackageContents()
   * @generated
   */
Creates, registers, and initializes the Package for this model, and for any others upon which it depends.

This method is used to initialize  WorkPackage#eINSTANCE when that field is accessed.
Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
Creates registers and initializes the Package for this model and for any others upon which it depends . This method is used to initialize WorkPackage#eINSTANCE when that field is accessed . Clients should not invoke it directly . Instead they should simply access that field to obtain the package .
public static WorkPackage init()
  {
    if (isInited) return (WorkPackage)EPackage.Registry.INSTANCE.getEPackage(WorkPackage.eNS_URI);
    WorkPackageImpl theWorkPackage = (WorkPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof WorkPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new WorkPackageImpl());
    isInited = true;
    theWorkPackage.createPackageContents();
    theWorkPackage.initializePackageContents();
    theWorkPackage.freeze();
    EPackage.Registry.INSTANCE.put(WorkPackage.eNS_URI, theWorkPackage);
    return theWorkPackage;
  }
public static WorkPackage init ( ) { if ( isInited ) return ( WorkPackage ) EPackage . Registry . INSTANCE . getEPackage ( WorkPackage . eNS_URI ) ; WorkPackageImpl theWorkPackage = ( WorkPackageImpl ) ( EPackage . Registry . INSTANCE . get ( eNS_URI ) instanceof WorkPackageImpl ? EPackage . Registry . INSTANCE . get ( eNS_URI ) : new WorkPackageImpl ( ) ) ; isInited = true ; theWorkPackage . createPackageContents ( ) ; theWorkPackage . initializePackageContents ( ) ; theWorkPackage . freeze ( ) ; EPackage . Registry . INSTANCE . put ( WorkPackage . eNS_URI , theWorkPackage ) ; return theWorkPackage ; }
Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
Creates registers and initializes the <b > Package< / b > for this model and for any others upon which it depends .
// Obtain or create and register package // Create package meta-data objects // Initialize created meta-data // Mark meta-data to indicate it can't be changed // Update the registry and return the package