src-gen/org/worklang/work/impl/WorkFactoryImpl.java
/**
   * Creates the default factory implementation.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
Creates the default factory implementation.
Creates the default factory implementation .
public static WorkFactory init()
  {
    try
    {
      WorkFactory theWorkFactory = (WorkFactory)EPackage.Registry.INSTANCE.getEFactory(WorkPackage.eNS_URI);
      if (theWorkFactory != null)
      {
        return theWorkFactory;
      }
    }
    catch (Exception exception)
    {
      EcorePlugin.INSTANCE.log(exception);
    }
    return new WorkFactoryImpl();
  }
public static WorkFactory init ( ) { try { WorkFactory theWorkFactory = ( WorkFactory ) EPackage . Registry . INSTANCE . getEFactory ( WorkPackage . eNS_URI ) ; if ( theWorkFactory != null ) { return theWorkFactory ; } } catch ( Exception exception ) { EcorePlugin . INSTANCE . log ( exception ) ; } return new WorkFactoryImpl ( ) ; }
Creates the default factory implementation.
Creates the default factory implementation .