/******************************************************************************* * Copyright (c) 2010 Michal Antkiewicz. * 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: * Michal Antkiewicz - initial API and implementation ******************************************************************************/ /** * * * * $Id: Part.java,v 1.5 2008/06/26 19:28:43 Michal Antkiewicz <mantkiew@gsd.uwaterloo.ca> $ */ package ca.uwaterloo.gsd.wpi; import ca.uwaterloo.gsd.fsml.fsml.Concept; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Part</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link ca.uwaterloo.gsd.wpi.Part#getName <em>Name</em>}</li> * <li>{@link ca.uwaterloo.gsd.wpi.Part#getPackage <em>Package</em>}</li> * <li>{@link ca.uwaterloo.gsd.wpi.Part#isLocal <em>Local</em>}</li> * </ul> * </p> * * @see ca.uwaterloo.gsd.wpi.WpiPackage#getPart() * @model abstract="true" * @generated */ public interface Part extends Concept { /** * Returns the value of the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Name</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Name</em>' attribute. * @see #setName(String) * @see ca.uwaterloo.gsd.wpi.WpiPackage#getPart_Name() * @model required="true" * @generated */ String getName(); /** * Sets the value of the '{@link ca.uwaterloo.gsd.wpi.Part#getName <em>Name</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Name</em>' attribute. * @see #getName() * @generated */ void setName(String value); /** * Returns the value of the '<em><b>Package</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Package</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Package</em>' attribute. * @see #setPackage(String) * @see ca.uwaterloo.gsd.wpi.WpiPackage#getPart_Package() * @model * @generated */ String getPackage(); /** * Sets the value of the '{@link ca.uwaterloo.gsd.wpi.Part#getPackage <em>Package</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Package</em>' attribute. * @see #getPackage() * @generated */ void setPackage(String value); /** * Returns the value of the '<em><b>Local</b></em>' attribute. * The default value is <code>"true"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Local</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Local</em>' attribute. * @see #setLocal(boolean) * @see ca.uwaterloo.gsd.wpi.WpiPackage#getPart_Local() * @model default="true" * @generated */ boolean isLocal(); /** * Sets the value of the '{@link ca.uwaterloo.gsd.wpi.Part#isLocal <em>Local</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Local</em>' attribute. * @see #isLocal() * @generated */ void setLocal(boolean value); } // Part