blob: bb59bcebb75e5a104a5a6730ec6ee23b0b37cd6f [file] [log] [blame]
/**
* <copyright>
*
* Copyright (c) 2008 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.1 2008/08/24 18:56:21 ewillink Exp $
*/
package org.eclipse.qvt.declarative.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.qvt.declarative.editor.JavaLabelElement#getClass_ <em>Class</em>}</li>
* <li>{@link org.eclipse.qvt.declarative.editor.JavaLabelElement#getMethod <em>Method</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.qvt.declarative.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.qvt.declarative.editor.EditorPackage#getJavaLabelElement_Class()
* @model unsettable="true"
* @generated
*/
String getClass_();
/**
* Sets the value of the '{@link org.eclipse.qvt.declarative.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.qvt.declarative.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.qvt.declarative.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.qvt.declarative.editor.EditorPackage#getJavaLabelElement_Method()
* @model default="toString" required="true"
* @generated
*/
String getMethod();
/**
* Sets the value of the '{@link org.eclipse.qvt.declarative.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