blob: 916ea41f33617fe06bce3a1d772462497b613796 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004, 2005 IBM Corporation 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
/*
* $RCSfile: PTInvalidExpression.java,v $
* $Revision: 1.6 $ $Date: 2005/09/15 21:02:19 $
*/
package org.eclipse.jem.internal.instantiation;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Invalid Expression</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* This is used when we have some expression we just can't evaluate for our purposes. It allows us to tell the evaluation what is actually wrong. It should be placed as the root expression to prevent processing much of the tree and then finally fail.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.jem.internal.instantiation.PTInvalidExpression#getMessage <em>Message</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTInvalidExpression()
* @model
* @generated
*/
public interface PTInvalidExpression extends PTExpression{
/**
* Returns the value of the '<em><b>Message</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* A message as to why it is invalid.
* <!-- end-model-doc -->
* @return the value of the '<em>Message</em>' attribute.
* @see #setMessage(String)
* @see org.eclipse.jem.internal.instantiation.InstantiationPackage#getPTInvalidExpression_Message()
* @model
* @generated
*/
String getMessage();
/**
* Sets the value of the '{@link org.eclipse.jem.internal.instantiation.PTInvalidExpression#getMessage <em>Message</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Message</em>' attribute.
* @see #getMessage()
* @generated
*/
void setMessage(String value);
} // InvalidExpression