uidesigner/com.nokia.sdt.component.symbian/src/com/nokia/sdt/emf/component/ConditionalSourceGenString.java
Keeping PlatSim internal only.
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package com.nokia.sdt.emf.component;
import org.eclipse.emf.ecore.EObject;
import java.util.List;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Conditional Source Gen String</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
*
* Base for sourcegen elements which may be conditionally skipped
* (and which contain text).
* Such skipping applies to the save-time behavior and not
* the load-time or validation-time behavior.
*
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link com.nokia.sdt.emf.component.ConditionalSourceGenString#getValue <em>Value</em>}</li>
* <li>{@link com.nokia.sdt.emf.component.ConditionalSourceGenString#getForms <em>Forms</em>}</li>
* <li>{@link com.nokia.sdt.emf.component.ConditionalSourceGenString#getIfEvents <em>If Events</em>}</li>
* <li>{@link com.nokia.sdt.emf.component.ConditionalSourceGenString#getIfExpr <em>If Expr</em>}</li>
* </ul>
* </p>
*
* @see com.nokia.sdt.emf.component.ComponentPackage#getConditionalSourceGenString()
* @model abstract="true"
* extendedMetaData="name='ConditionalSourceGenString' kind='simple'"
* @generated
*/
public interface ConditionalSourceGenString extends EObject {
/**
* Returns the value of the '<em><b>Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Value</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Value</em>' attribute.
* @see #setValue(String)
* @see com.nokia.sdt.emf.component.ComponentPackage#getConditionalSourceGenString_Value()
* @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
* extendedMetaData="name=':0' kind='simple'"
* @generated
*/
String getValue();
/**
* Sets the value of the '{@link com.nokia.sdt.emf.component.ConditionalSourceGenString#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>Forms</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
*
* Added post 1.1 to inline.
*
* A list of tokens used to select a particular kind of source for a parent.
* The namespace is determined implicitly by what a parent requests.
*
* For instance, a parent may have special sourcegen, and pass
* the form "SpecialCase" to its children. Elements specifying
* form="SpecialCase" will be selected. Other parents will not see
* such elements if they do not specify that form.
*
* If the form does not match, the element is not invoked.
*
* <!-- end-model-doc -->
* @return the value of the '<em>Forms</em>' attribute.
* @see #setForms(List)
* @see com.nokia.sdt.emf.component.ComponentPackage#getConditionalSourceGenString_Forms()
* @model unique="false" dataType="com.nokia.sdt.emf.component.ListOfStrings" many="false"
* extendedMetaData="kind='attribute' name='forms'"
* @generated
*/
List getForms();
/**
* Sets the value of the '{@link com.nokia.sdt.emf.component.ConditionalSourceGenString#getForms <em>Forms</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Forms</em>' attribute.
* @see #getForms()
* @generated
*/
void setForms(List value);
/**
* Returns the value of the '<em><b>If Events</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
*
* Added post 1.1 to inline.
* If defined, a list of events, any of which must be bound for the
* element to be invoked.
*
* <!-- end-model-doc -->
* @return the value of the '<em>If Events</em>' attribute.
* @see #setIfEvents(List)
* @see com.nokia.sdt.emf.component.ComponentPackage#getConditionalSourceGenString_IfEvents()
* @model unique="false" dataType="com.nokia.sdt.emf.component.ListOfStrings" many="false"
* extendedMetaData="kind='attribute' name='ifEvents'"
* @generated
*/
List getIfEvents();
/**
* Sets the value of the '{@link com.nokia.sdt.emf.component.ConditionalSourceGenString#getIfEvents <em>If Events</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>If Events</em>' attribute.
* @see #getIfEvents()
* @generated
*/
void setIfEvents(List value);
/**
* Returns the value of the '<em><b>If Expr</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
*
* Added post 1.1.
* If defined, a Javascript expression which must evaluate to
* true (or non-zero) for the element to be invoked.
*
* <!-- end-model-doc -->
* @return the value of the '<em>If Expr</em>' attribute.
* @see #setIfExpr(String)
* @see com.nokia.sdt.emf.component.ComponentPackage#getConditionalSourceGenString_IfExpr()
* @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
* extendedMetaData="kind='attribute' name='ifExpr'"
* @generated
*/
String getIfExpr();
/**
* Sets the value of the '{@link com.nokia.sdt.emf.component.ConditionalSourceGenString#getIfExpr <em>If Expr</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>If Expr</em>' attribute.
* @see #getIfExpr()
* @generated
*/
void setIfExpr(String value);
} // ConditionalSourceGenString