/**
* <copyright>
* Copyright (c) 2010-2014 Henshin developers. 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
* </copyright>
*/
package org.eclipse.emf.henshin.model;
import org.eclipse.emf.ecore.EAttribute;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Attribute</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.emf.henshin.model.Attribute#getType <em>Type</em>}</li>
* <li>{@link org.eclipse.emf.henshin.model.Attribute#getValue <em>Value</em>}</li>
* <li>{@link org.eclipse.emf.henshin.model.Attribute#getNode <em>Node</em>}</li>
* <li>{@link org.eclipse.emf.henshin.model.Attribute#getConstant <em>Constant</em>}</li>
* <li>{@link org.eclipse.emf.henshin.model.Attribute#isNull <em>Null</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.emf.henshin.model.HenshinPackage#getAttribute()
* @model annotation="http://www.eclipse.org/emf/2002/Ecore constraints='valueValidJavaScript'"
* @generated
*/
public interface Attribute extends ModelElement, GraphElement {
/**
* Returns the value of the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Type</em>' reference.
* @see #setType(EAttribute)
* @see org.eclipse.emf.henshin.model.HenshinPackage#getAttribute_Type()
* @model
* @generated
*/
EAttribute getType();
/**
* Sets the value of the '{@link org.eclipse.emf.henshin.model.Attribute#getType <em>Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Type</em>' reference.
* @see #getType()
* @generated
*/
void setType(EAttribute value);
/**
* Returns the value of the '<em><b>Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Value</em>' attribute.
* @see #setValue(String)
* @see org.eclipse.emf.henshin.model.HenshinPackage#getAttribute_Value()
* @model
* @generated
*/
String getValue();
/**
* Sets the value of the '{@link org.eclipse.emf.henshin.model.Attribute#getValue <em>Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Value</em>' attribute.
* @see #getValue()
* @generated
*/
void setValue(String value);
/**
* Returns the value of the '<em><b>Node</b></em>' container reference.
* It is bidirectional and its opposite is '{@link org.eclipse.emf.henshin.model.Node#getAttributes <em>Attributes</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Node</em>' container reference.
* @see #setNode(Node)
* @see org.eclipse.emf.henshin.model.HenshinPackage#getAttribute_Node()
* @see org.eclipse.emf.henshin.model.Node#getAttributes
* @model opposite="attributes" transient="false"
* @generated
*/
Node getNode();
/**
* Sets the value of the '{@link org.eclipse.emf.henshin.model.Attribute#getNode <em>Node</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Node</em>' container reference.
* @see #getNode()
* @generated
*/
void setNode(Node value);
/**
* Returns the value of the '<em><b>Constant</b></em>' attribute.
* The default value is <code>"ACED0005740000"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Constant</em>' attribute.
* @see org.eclipse.emf.henshin.model.HenshinPackage#getAttribute_Constant()
* @model default="ACED0005740000" transient="true" changeable="false" derived="true"
* @generated
*/
Object getConstant();
/**
* Returns the value of the '<em><b>Null</b></em>' attribute.
* The default value is <code>"false"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Null</em>' attribute.
* @see org.eclipse.emf.henshin.model.HenshinPackage#getAttribute_Null()
* @model default="false" transient="true" changeable="false" derived="true"
* @generated
*/
boolean isNull();
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model kind="operation"
* @generated
*/
Attribute getActionAttribute();
} // Attribute