/** * <copyright> * * Copyright (c) 2011, 2011 SAP AG. * 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: * SAP AG - initial API, implementation and documentation * * </copyright> */ package org.eclipse.graphiti.examples.mm.chess; 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.graphiti.examples.mm.chess.ChessPackage * @generated */ public interface ChessFactory extends EFactory { /** * The singleton instance of the factory. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ ChessFactory eINSTANCE = org.eclipse.graphiti.examples.mm.chess.impl.ChessFactoryImpl.init(); /** * Returns a new object of class '<em>Board</em>'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return a new object of class '<em>Board</em>'. * @generated */ Board createBoard(); /** * Returns a new object of class '<em>Square</em>'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return a new object of class '<em>Square</em>'. * @generated */ Square createSquare(); /** * Returns a new object of class '<em>Piece</em>'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return a new object of class '<em>Piece</em>'. * @generated */ Piece createPiece(); /** * Returns the package supported by this factory. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the package supported by this factory. * @generated */ ChessPackage getChessPackage(); } //ChessFactory