/*******************************************************************************
* Copyright (c) 2006-2012
* Software Technology Group, Dresden University of Technology
* DevBoost GmbH, Berlin, Amtsgericht Charlottenburg, HRB 140026
*
* 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:
* Software Technology Group - TU Dresden, Germany;
* DevBoost GmbH - Berlin, Germany
* - initial API and implementation
******************************************************************************/
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.oasisopen.names.tc.opendocument.xmlns.form;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.util.FeatureMap;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Option Type</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.form.OptionType#getMixed <em>Mixed</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.form.OptionType#getCurrentSelected <em>Current Selected</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.form.OptionType#getLabel <em>Label</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.form.OptionType#getSelected <em>Selected</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.form.OptionType#getValue <em>Value</em>}</li>
* </ul>
* </p>
*
* @see org.oasisopen.names.tc.opendocument.xmlns.form.FormPackage#getOptionType()
* @model extendedMetaData="name='option_._type' kind='mixed'"
* @generated
*/
public interface OptionType extends EObject {
/**
* Returns the value of the '<em><b>Mixed</b></em>' attribute list.
* The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Mixed</em>' attribute list.
* @see org.oasisopen.names.tc.opendocument.xmlns.form.FormPackage#getOptionType_Mixed()
* @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
* extendedMetaData="kind='elementWildcard' name=':mixed'"
* @generated
*/
FeatureMap getMixed();
/**
* Returns the value of the '<em><b>Current Selected</b></em>' attribute.
* The default value is <code>"false"</code>.
* The literals are from the enumeration {@link org.oasisopen.names.tc.opendocument.xmlns.text.Boolean}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Current Selected</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Current Selected</em>' attribute.
* @see org.oasisopen.names.tc.opendocument.xmlns.text.Boolean
* @see #isSetCurrentSelected()
* @see #unsetCurrentSelected()
* @see #setCurrentSelected(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean)
* @see org.oasisopen.names.tc.opendocument.xmlns.form.FormPackage#getOptionType_CurrentSelected()
* @model default="false" unsettable="true"
* extendedMetaData="kind='attribute' name='current-selected' namespace='##targetNamespace'"
* @generated
*/
org.oasisopen.names.tc.opendocument.xmlns.text.Boolean getCurrentSelected();
/**
* Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.form.OptionType#getCurrentSelected <em>Current Selected</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Current Selected</em>' attribute.
* @see org.oasisopen.names.tc.opendocument.xmlns.text.Boolean
* @see #isSetCurrentSelected()
* @see #unsetCurrentSelected()
* @see #getCurrentSelected()
* @generated
*/
void setCurrentSelected(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean value);
/**
* Unsets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.form.OptionType#getCurrentSelected <em>Current Selected</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetCurrentSelected()
* @see #getCurrentSelected()
* @see #setCurrentSelected(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean)
* @generated
*/
void unsetCurrentSelected();
/**
* Returns whether the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.form.OptionType#getCurrentSelected <em>Current Selected</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Current Selected</em>' attribute is set.
* @see #unsetCurrentSelected()
* @see #getCurrentSelected()
* @see #setCurrentSelected(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean)
* @generated
*/
boolean isSetCurrentSelected();
/**
* Returns the value of the '<em><b>Label</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Label</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Label</em>' attribute.
* @see #setLabel(String)
* @see org.oasisopen.names.tc.opendocument.xmlns.form.FormPackage#getOptionType_Label()
* @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.String"
* extendedMetaData="kind='attribute' name='label' namespace='##targetNamespace'"
* @generated
*/
String getLabel();
/**
* Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.form.OptionType#getLabel <em>Label</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Label</em>' attribute.
* @see #getLabel()
* @generated
*/
void setLabel(String value);
/**
* Returns the value of the '<em><b>Selected</b></em>' attribute.
* The default value is <code>"false"</code>.
* The literals are from the enumeration {@link org.oasisopen.names.tc.opendocument.xmlns.text.Boolean}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Selected</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Selected</em>' attribute.
* @see org.oasisopen.names.tc.opendocument.xmlns.text.Boolean
* @see #isSetSelected()
* @see #unsetSelected()
* @see #setSelected(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean)
* @see org.oasisopen.names.tc.opendocument.xmlns.form.FormPackage#getOptionType_Selected()
* @model default="false" unsettable="true"
* extendedMetaData="kind='attribute' name='selected' namespace='##targetNamespace'"
* @generated
*/
org.oasisopen.names.tc.opendocument.xmlns.text.Boolean getSelected();
/**
* Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.form.OptionType#getSelected <em>Selected</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Selected</em>' attribute.
* @see org.oasisopen.names.tc.opendocument.xmlns.text.Boolean
* @see #isSetSelected()
* @see #unsetSelected()
* @see #getSelected()
* @generated
*/
void setSelected(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean value);
/**
* Unsets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.form.OptionType#getSelected <em>Selected</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetSelected()
* @see #getSelected()
* @see #setSelected(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean)
* @generated
*/
void unsetSelected();
/**
* Returns whether the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.form.OptionType#getSelected <em>Selected</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Selected</em>' attribute is set.
* @see #unsetSelected()
* @see #getSelected()
* @see #setSelected(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean)
* @generated
*/
boolean isSetSelected();
/**
* 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 org.oasisopen.names.tc.opendocument.xmlns.form.FormPackage#getOptionType_Value()
* @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.String" required="true"
* extendedMetaData="kind='attribute' name='value' namespace='##targetNamespace'"
* @generated
*/
String getValue();
/**
* Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.form.OptionType#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);
} // OptionType