blob: 7a92782ee1816729d25e708768618b999fdd829e [file] [log] [blame]
/*
* Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Eike Stepper - initial API and implementation
*/
package org.eclipse.oomph.preferences;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.EFactory;
/**
* <!-- begin-user-doc -->
* The <b>Factory</b> for the model.
* It provides a create method for each non-abstract class of the model.
* <!-- end-user-doc -->
* @see org.eclipse.oomph.preferences.PreferencesPackage
* @generated
*/
public interface PreferencesFactory extends EFactory
{
/**
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
PreferencesFactory eINSTANCE = org.eclipse.oomph.preferences.impl.PreferencesFactoryImpl.init();
/**
* Returns a new object of class '<em>Preference Node</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Preference Node</em>'.
* @generated
*/
PreferenceNode createPreferenceNode();
/**
* Returns a new object of class '<em>Property</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Property</em>'.
* @generated
*/
Property createProperty();
/**
* Returns an instance of data type '<em>Escaped String</em>' corresponding the given literal.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param literal a literal of the data type.
* @return a new instance value of the data type.
* @generated
*/
String createEscapedString(String literal);
/**
* Returns a literal representation of an instance of data type '<em>Escaped String</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param instanceValue an instance value of the data type.
* @return a literal representation of the instance value.
* @generated
*/
String convertEscapedString(String instanceValue);
/**
* Returns an instance of data type '<em>URI</em>' corresponding the given literal.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param literal a literal of the data type.
* @return a new instance value of the data type.
* @generated
*/
URI createURI(String literal);
/**
* Returns a literal representation of an instance of data type '<em>URI</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param instanceValue an instance value of the data type.
* @return a literal representation of the instance value.
* @generated
*/
String convertURI(URI instanceValue);
/**
* Returns an instance of data type '<em>Preference Node Name</em>' corresponding the given literal.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param literal a literal of the data type.
* @return a new instance value of the data type.
* @generated
*/
String createPreferenceNodeName(String literal);
/**
* Returns a literal representation of an instance of data type '<em>Preference Node Name</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param instanceValue an instance value of the data type.
* @return a literal representation of the instance value.
* @generated
*/
String convertPreferenceNodeName(String instanceValue);
/**
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the package supported by this factory.
* @generated
*/
PreferencesPackage getPreferencesPackage();
} // PreferencesFactory