uidesigner/com.nokia.sdt.component.symbian/src/com/nokia/sdt/emf/component/ConditionalSourceGenString.java
changeset 0 fb279309251b
equal deleted inserted replaced
-1:000000000000 0:fb279309251b
       
     1 /**
       
     2  * <copyright>
       
     3  * </copyright>
       
     4  *
       
     5  * $Id$
       
     6  */
       
     7 package com.nokia.sdt.emf.component;
       
     8 
       
     9 import org.eclipse.emf.ecore.EObject;
       
    10 
       
    11 import java.util.List;
       
    12 
       
    13 /**
       
    14  * <!-- begin-user-doc -->
       
    15  * A representation of the model object '<em><b>Conditional Source Gen String</b></em>'.
       
    16  * <!-- end-user-doc -->
       
    17  *
       
    18  * <!-- begin-model-doc -->
       
    19  * 
       
    20  * 		Base for sourcegen elements which may be conditionally skipped
       
    21  * 		(and which contain text).
       
    22  * 		Such skipping applies to the save-time behavior and not
       
    23  * 		the load-time or validation-time behavior.
       
    24  * 		
       
    25  * <!-- end-model-doc -->
       
    26  *
       
    27  * <p>
       
    28  * The following features are supported:
       
    29  * <ul>
       
    30  *   <li>{@link com.nokia.sdt.emf.component.ConditionalSourceGenString#getValue <em>Value</em>}</li>
       
    31  *   <li>{@link com.nokia.sdt.emf.component.ConditionalSourceGenString#getForms <em>Forms</em>}</li>
       
    32  *   <li>{@link com.nokia.sdt.emf.component.ConditionalSourceGenString#getIfEvents <em>If Events</em>}</li>
       
    33  *   <li>{@link com.nokia.sdt.emf.component.ConditionalSourceGenString#getIfExpr <em>If Expr</em>}</li>
       
    34  * </ul>
       
    35  * </p>
       
    36  *
       
    37  * @see com.nokia.sdt.emf.component.ComponentPackage#getConditionalSourceGenString()
       
    38  * @model abstract="true"
       
    39  *        extendedMetaData="name='ConditionalSourceGenString' kind='simple'"
       
    40  * @generated
       
    41  */
       
    42 public interface ConditionalSourceGenString extends EObject {
       
    43 	/**
       
    44 	 * Returns the value of the '<em><b>Value</b></em>' attribute.
       
    45 	 * <!-- begin-user-doc -->
       
    46 	 * <p>
       
    47 	 * If the meaning of the '<em>Value</em>' attribute isn't clear,
       
    48 	 * there really should be more of a description here...
       
    49 	 * </p>
       
    50 	 * <!-- end-user-doc -->
       
    51 	 * @return the value of the '<em>Value</em>' attribute.
       
    52 	 * @see #setValue(String)
       
    53 	 * @see com.nokia.sdt.emf.component.ComponentPackage#getConditionalSourceGenString_Value()
       
    54 	 * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
       
    55 	 *        extendedMetaData="name=':0' kind='simple'"
       
    56 	 * @generated
       
    57 	 */
       
    58 	String getValue();
       
    59 
       
    60 	/**
       
    61 	 * Sets the value of the '{@link com.nokia.sdt.emf.component.ConditionalSourceGenString#getValue <em>Value</em>}' attribute.
       
    62 	 * <!-- begin-user-doc -->
       
    63 	 * <!-- end-user-doc -->
       
    64 	 * @param value the new value of the '<em>Value</em>' attribute.
       
    65 	 * @see #getValue()
       
    66 	 * @generated
       
    67 	 */
       
    68 	void setValue(String value);
       
    69 
       
    70 	/**
       
    71 	 * Returns the value of the '<em><b>Forms</b></em>' attribute.
       
    72 	 * <!-- begin-user-doc -->
       
    73 	 * <!-- end-user-doc -->
       
    74 	 * <!-- begin-model-doc -->
       
    75 	 * 
       
    76 	 * 			Added post 1.1 to inline.
       
    77 	 * 
       
    78 	 * 			A list of tokens used to select a particular kind of source for a parent.
       
    79 	 * 			The namespace is determined implicitly by what a parent requests.
       
    80 	 * 			
       
    81 	 * 			For instance, a parent may have special sourcegen, and pass
       
    82 	 * 			the form "SpecialCase" to its children.  Elements specifying
       
    83 	 * 			form="SpecialCase" will be selected.  Other parents will not see
       
    84 	 * 			such elements if they do not specify that form.
       
    85 	 * 			
       
    86 	 * 			If the form does not match, the element is not invoked.
       
    87 	 * 			
       
    88 	 * <!-- end-model-doc -->
       
    89 	 * @return the value of the '<em>Forms</em>' attribute.
       
    90 	 * @see #setForms(List)
       
    91 	 * @see com.nokia.sdt.emf.component.ComponentPackage#getConditionalSourceGenString_Forms()
       
    92 	 * @model unique="false" dataType="com.nokia.sdt.emf.component.ListOfStrings" many="false"
       
    93 	 *        extendedMetaData="kind='attribute' name='forms'"
       
    94 	 * @generated
       
    95 	 */
       
    96 	List getForms();
       
    97 
       
    98 	/**
       
    99 	 * Sets the value of the '{@link com.nokia.sdt.emf.component.ConditionalSourceGenString#getForms <em>Forms</em>}' attribute.
       
   100 	 * <!-- begin-user-doc -->
       
   101 	 * <!-- end-user-doc -->
       
   102 	 * @param value the new value of the '<em>Forms</em>' attribute.
       
   103 	 * @see #getForms()
       
   104 	 * @generated
       
   105 	 */
       
   106 	void setForms(List value);
       
   107 
       
   108 	/**
       
   109 	 * Returns the value of the '<em><b>If Events</b></em>' attribute.
       
   110 	 * <!-- begin-user-doc -->
       
   111 	 * <!-- end-user-doc -->
       
   112 	 * <!-- begin-model-doc -->
       
   113 	 * 
       
   114 	 * 			Added post 1.1 to inline.
       
   115 	 * 			If defined, a list of events, any of which must be bound for the
       
   116 	 * 			element to be invoked.
       
   117 	 * 			
       
   118 	 * <!-- end-model-doc -->
       
   119 	 * @return the value of the '<em>If Events</em>' attribute.
       
   120 	 * @see #setIfEvents(List)
       
   121 	 * @see com.nokia.sdt.emf.component.ComponentPackage#getConditionalSourceGenString_IfEvents()
       
   122 	 * @model unique="false" dataType="com.nokia.sdt.emf.component.ListOfStrings" many="false"
       
   123 	 *        extendedMetaData="kind='attribute' name='ifEvents'"
       
   124 	 * @generated
       
   125 	 */
       
   126 	List getIfEvents();
       
   127 
       
   128 	/**
       
   129 	 * Sets the value of the '{@link com.nokia.sdt.emf.component.ConditionalSourceGenString#getIfEvents <em>If Events</em>}' attribute.
       
   130 	 * <!-- begin-user-doc -->
       
   131 	 * <!-- end-user-doc -->
       
   132 	 * @param value the new value of the '<em>If Events</em>' attribute.
       
   133 	 * @see #getIfEvents()
       
   134 	 * @generated
       
   135 	 */
       
   136 	void setIfEvents(List value);
       
   137 
       
   138 	/**
       
   139 	 * Returns the value of the '<em><b>If Expr</b></em>' attribute.
       
   140 	 * <!-- begin-user-doc -->
       
   141 	 * <!-- end-user-doc -->
       
   142 	 * <!-- begin-model-doc -->
       
   143 	 * 
       
   144 	 * 			Added post 1.1.
       
   145 	 * 			If defined, a Javascript expression which must evaluate to
       
   146 	 * 			true (or non-zero) for the element to be invoked.
       
   147 	 * 			
       
   148 	 * <!-- end-model-doc -->
       
   149 	 * @return the value of the '<em>If Expr</em>' attribute.
       
   150 	 * @see #setIfExpr(String)
       
   151 	 * @see com.nokia.sdt.emf.component.ComponentPackage#getConditionalSourceGenString_IfExpr()
       
   152 	 * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
       
   153 	 *        extendedMetaData="kind='attribute' name='ifExpr'"
       
   154 	 * @generated
       
   155 	 */
       
   156 	String getIfExpr();
       
   157 
       
   158 	/**
       
   159 	 * Sets the value of the '{@link com.nokia.sdt.emf.component.ConditionalSourceGenString#getIfExpr <em>If Expr</em>}' attribute.
       
   160 	 * <!-- begin-user-doc -->
       
   161 	 * <!-- end-user-doc -->
       
   162 	 * @param value the new value of the '<em>If Expr</em>' attribute.
       
   163 	 * @see #getIfExpr()
       
   164 	 * @generated
       
   165 	 */
       
   166 	void setIfExpr(String value);
       
   167 
       
   168 } // ConditionalSourceGenString