/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.eclipse.gmf.codegen.gmfgen;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Gen Preference</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.gmf.codegen.gmfgen.GenPreference#getPage <em>Page</em>}</li>
* <li>{@link org.eclipse.gmf.codegen.gmfgen.GenPreference#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.gmf.codegen.gmfgen.GenPreference#getKey <em>Key</em>}</li>
* <li>{@link org.eclipse.gmf.codegen.gmfgen.GenPreference#getDefaultValue <em>Default Value</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.gmf.codegen.gmfgen.GMFGenPackage#getGenPreference()
* @model
* @generated
*/
public interface GenPreference extends EObject {
/**
* Returns the value of the '<em><b>Page</b></em>' container reference.
* It is bidirectional and its opposite is '{@link org.eclipse.gmf.codegen.gmfgen.GenCustomPreferencePage#getPreferences <em>Preferences</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Page</em>' container reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Page</em>' container reference.
* @see org.eclipse.gmf.codegen.gmfgen.GMFGenPackage#getGenPreference_Page()
* @see org.eclipse.gmf.codegen.gmfgen.GenCustomPreferencePage#getPreferences
* @model opposite="preferences" resolveProxies="false" required="true" transient="false" changeable="false"
* @generated
*/
GenCustomPreferencePage getPage();
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Java constant name
* <!-- end-model-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.gmf.codegen.gmfgen.GMFGenPackage#getGenPreference_Name()
* @model required="true"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link org.eclipse.gmf.codegen.gmfgen.GenPreference#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the '<em><b>Key</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Preference key, derived from constant name if not set
* <!-- end-model-doc -->
* @return the value of the '<em>Key</em>' attribute.
* @see #setKey(String)
* @see org.eclipse.gmf.codegen.gmfgen.GMFGenPackage#getGenPreference_Key()
* @model
* @generated
*/
String getKey();
/**
* Sets the value of the '{@link org.eclipse.gmf.codegen.gmfgen.GenPreference#getKey <em>Key</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Key</em>' attribute.
* @see #getKey()
* @generated
*/
void setKey(String value);
/**
* Returns the value of the '<em><b>Default Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Default 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>Default Value</em>' attribute.
* @see #setDefaultValue(String)
* @see org.eclipse.gmf.codegen.gmfgen.GMFGenPackage#getGenPreference_DefaultValue()
* @model
* @generated
*/
String getDefaultValue();
/**
* Sets the value of the '{@link org.eclipse.gmf.codegen.gmfgen.GenPreference#getDefaultValue <em>Default Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Default Value</em>' attribute.
* @see #getDefaultValue()
* @generated
*/
void setDefaultValue(String value);
} // GenPreference