/** * <copyright> * * Copyright (c) 2008,2010 E.D.Willink 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: * E.D.Willink - initial API and implementation * * </copyright> * * $Id: JavaLabelElement.java,v 1.2 2010/04/08 06:26:52 ewillink Exp $ */ package org.eclipse.ocl.examples.editor; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Java Label Element</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.eclipse.ocl.examples.editor.JavaLabelElement#getClass_ <em>Class</em>}</li> * <li>{@link org.eclipse.ocl.examples.editor.JavaLabelElement#getMethod <em>Method</em>}</li> * </ul> * </p> * * @see org.eclipse.ocl.examples.editor.EditorPackage#getJavaLabelElement() * @model * @generated */ public interface JavaLabelElement extends AbstractLabelElement { /** * Returns the value of the '<em><b>Class</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Class</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Class</em>' attribute. * @see #isSetClass() * @see #unsetClass() * @see #setClass(String) * @see org.eclipse.ocl.examples.editor.EditorPackage#getJavaLabelElement_Class() * @model unsettable="true" * @generated */ String getClass_(); /** * Sets the value of the '{@link org.eclipse.ocl.examples.editor.JavaLabelElement#getClass_ <em>Class</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Class</em>' attribute. * @see #isSetClass() * @see #unsetClass() * @see #getClass_() * @generated */ void setClass(String value); /** * Unsets the value of the '{@link org.eclipse.ocl.examples.editor.JavaLabelElement#getClass_ <em>Class</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see #isSetClass() * @see #getClass_() * @see #setClass(String) * @generated */ void unsetClass(); /** * Returns whether the value of the '{@link org.eclipse.ocl.examples.editor.JavaLabelElement#getClass_ <em>Class</em>}' attribute is set. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return whether the value of the '<em>Class</em>' attribute is set. * @see #unsetClass() * @see #getClass_() * @see #setClass(String) * @generated */ boolean isSetClass(); /** * Returns the value of the '<em><b>Method</b></em>' attribute. * The default value is <code>"toString"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Method</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Method</em>' attribute. * @see #setMethod(String) * @see org.eclipse.ocl.examples.editor.EditorPackage#getJavaLabelElement_Method() * @model default="toString" required="true" * @generated */ String getMethod(); /** * Sets the value of the '{@link org.eclipse.ocl.examples.editor.JavaLabelElement#getMethod <em>Method</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Method</em>' attribute. * @see #getMethod() * @generated */ void setMethod(String value); } // JavaLabelElement