Interface ScriptFactory

All Superinterfaces:
org.eclipse.emf.ecore.EFactory, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
ScriptFactoryImpl

public interface ScriptFactory extends org.eclipse.emf.ecore.EFactory
The Factory for the model. It provides a create method for each non-abstract class of the model.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ScriptFactory
    The singleton instance of the factory.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a new object of class 'Abstract Unit'.
    Returns a new object of class 'ID Unit'.
    Returns a new object of class 'Quantity Literal'.
    Returns a new object of class 'Script'.
    Returns a new object of class 'Specific Unit'.
    Returns a new object of class 'String Unit'.
    Returns the package supported by this factory.

    Methods inherited from interface org.eclipse.emf.ecore.EFactory

    convertToString, create, createFromString, getEPackage, setEPackage

    Methods inherited from interface org.eclipse.emf.ecore.EModelElement

    getEAnnotation, getEAnnotations

    Methods inherited from interface org.eclipse.emf.ecore.EObject

    eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset

    Methods inherited from interface org.eclipse.emf.common.notify.Notifier

    eAdapters, eDeliver, eNotify, eSetDeliver
  • Field Details

    • eINSTANCE

      static final ScriptFactory eINSTANCE
      The singleton instance of the factory.
  • Method Details

    • createAbstractUnit

      AbstractUnit createAbstractUnit()
      Returns a new object of class 'Abstract Unit'.
      Returns:
      a new object of class 'Abstract Unit'.
    • createStringUnit

      StringUnit createStringUnit()
      Returns a new object of class 'String Unit'.
      Returns:
      a new object of class 'String Unit'.
    • createIDUnit

      IDUnit createIDUnit()
      Returns a new object of class 'ID Unit'.
      Returns:
      a new object of class 'ID Unit'.
    • createSpecificUnit

      SpecificUnit createSpecificUnit()
      Returns a new object of class 'Specific Unit'.
      Returns:
      a new object of class 'Specific Unit'.
    • createScript

      Script createScript()
      Returns a new object of class 'Script'.
      Returns:
      a new object of class 'Script'.
    • createQuantityLiteral

      QuantityLiteral createQuantityLiteral()
      Returns a new object of class 'Quantity Literal'.
      Returns:
      a new object of class 'Quantity Literal'.
    • getScriptPackage

      ScriptPackage getScriptPackage()
      Returns the package supported by this factory.
      Returns:
      the package supported by this factory.