/******************************************************************************* * 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.datastyle; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; import org.oasisopen.names.tc.opendocument.xmlns.style.MapType; import org.oasisopen.names.tc.opendocument.xmlns.text.StyleTextPropertiesContent; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Percentage Style Type</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getTextProperties <em>Text Properties</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getText <em>Text</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getNumber <em>Number</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getText1 <em>Text1</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getMap <em>Map</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getCountry <em>Country</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getLanguage <em>Language</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getName <em>Name</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getTitle <em>Title</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getTransliterationCountry <em>Transliteration Country</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getTransliterationFormat <em>Transliteration Format</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getTransliterationLanguage <em>Transliteration Language</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getTransliterationStyle <em>Transliteration Style</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getVolatile <em>Volatile</em>}</li> * </ul> * </p> * * @see org.oasisopen.names.tc.opendocument.xmlns.datastyle.DatastylePackage#getPercentageStyleType() * @model extendedMetaData="name='percentage-style_._type' kind='elementOnly'" * @generated */ public interface PercentageStyleType extends EObject { /** * Returns the value of the '<em><b>Text Properties</b></em>' containment reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Text Properties</em>' containment reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Text Properties</em>' containment reference. * @see #setTextProperties(StyleTextPropertiesContent) * @see org.oasisopen.names.tc.opendocument.xmlns.datastyle.DatastylePackage#getPercentageStyleType_TextProperties() * @model containment="true" * extendedMetaData="kind='element' name='text-properties' namespace='urn:oasis:names:tc:opendocument:xmlns:style:1.0'" * @generated */ StyleTextPropertiesContent getTextProperties(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getTextProperties <em>Text Properties</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Text Properties</em>' containment reference. * @see #getTextProperties() * @generated */ void setTextProperties(StyleTextPropertiesContent value); /** * Returns the value of the '<em><b>Text</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Text</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Text</em>' attribute. * @see #setText(String) * @see org.oasisopen.names.tc.opendocument.xmlns.datastyle.DatastylePackage#getPercentageStyleType_Text() * @model dataType="org.eclipse.emf.ecore.xml.type.String" * extendedMetaData="kind='element' name='text' namespace='##targetNamespace'" * @generated */ String getText(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getText <em>Text</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Text</em>' attribute. * @see #getText() * @generated */ void setText(String value); /** * Returns the value of the '<em><b>Number</b></em>' containment reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Number</em>' containment reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Number</em>' containment reference. * @see #setNumber(NumberType) * @see org.oasisopen.names.tc.opendocument.xmlns.datastyle.DatastylePackage#getPercentageStyleType_Number() * @model containment="true" * extendedMetaData="kind='element' name='number' namespace='##targetNamespace'" * @generated */ NumberType getNumber(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getNumber <em>Number</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Number</em>' containment reference. * @see #getNumber() * @generated */ void setNumber(NumberType value); /** * Returns the value of the '<em><b>Text1</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Text1</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Text1</em>' attribute. * @see #setText1(String) * @see org.oasisopen.names.tc.opendocument.xmlns.datastyle.DatastylePackage#getPercentageStyleType_Text1() * @model dataType="org.eclipse.emf.ecore.xml.type.String" * extendedMetaData="kind='element' name='text' namespace='##targetNamespace'" * @generated */ String getText1(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getText1 <em>Text1</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Text1</em>' attribute. * @see #getText1() * @generated */ void setText1(String value); /** * Returns the value of the '<em><b>Map</b></em>' containment reference list. * The list contents are of type {@link org.oasisopen.names.tc.opendocument.xmlns.style.MapType}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Map</em>' containment reference list isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Map</em>' containment reference list. * @see org.oasisopen.names.tc.opendocument.xmlns.datastyle.DatastylePackage#getPercentageStyleType_Map() * @model containment="true" * extendedMetaData="kind='element' name='map' namespace='urn:oasis:names:tc:opendocument:xmlns:style:1.0'" * @generated */ EList<MapType> getMap(); /** * Returns the value of the '<em><b>Country</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Country</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Country</em>' attribute. * @see #setCountry(String) * @see org.oasisopen.names.tc.opendocument.xmlns.datastyle.DatastylePackage#getPercentageStyleType_Country() * @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.CountryCode" * extendedMetaData="kind='attribute' name='country' namespace='##targetNamespace'" * @generated */ String getCountry(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getCountry <em>Country</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Country</em>' attribute. * @see #getCountry() * @generated */ void setCountry(String value); /** * Returns the value of the '<em><b>Language</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Language</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Language</em>' attribute. * @see #setLanguage(String) * @see org.oasisopen.names.tc.opendocument.xmlns.datastyle.DatastylePackage#getPercentageStyleType_Language() * @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.LanguageCode" * extendedMetaData="kind='attribute' name='language' namespace='##targetNamespace'" * @generated */ String getLanguage(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getLanguage <em>Language</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Language</em>' attribute. * @see #getLanguage() * @generated */ void setLanguage(String value); /** * Returns the value of the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Name</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Name</em>' attribute. * @see #setName(String) * @see org.oasisopen.names.tc.opendocument.xmlns.datastyle.DatastylePackage#getPercentageStyleType_Name() * @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.StyleName" required="true" * extendedMetaData="kind='attribute' name='name' namespace='urn:oasis:names:tc:opendocument:xmlns:style:1.0'" * @generated */ String getName(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#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>Title</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Title</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Title</em>' attribute. * @see #setTitle(Object) * @see org.oasisopen.names.tc.opendocument.xmlns.datastyle.DatastylePackage#getPercentageStyleType_Title() * @model dataType="org.eclipse.emf.ecore.xml.type.AnySimpleType" * extendedMetaData="kind='attribute' name='title' namespace='##targetNamespace'" * @generated */ Object getTitle(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getTitle <em>Title</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Title</em>' attribute. * @see #getTitle() * @generated */ void setTitle(Object value); /** * Returns the value of the '<em><b>Transliteration Country</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Transliteration Country</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Transliteration Country</em>' attribute. * @see #setTransliterationCountry(String) * @see org.oasisopen.names.tc.opendocument.xmlns.datastyle.DatastylePackage#getPercentageStyleType_TransliterationCountry() * @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.CountryCode" * extendedMetaData="kind='attribute' name='transliteration-country' namespace='##targetNamespace'" * @generated */ String getTransliterationCountry(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getTransliterationCountry <em>Transliteration Country</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Transliteration Country</em>' attribute. * @see #getTransliterationCountry() * @generated */ void setTransliterationCountry(String value); /** * Returns the value of the '<em><b>Transliteration Format</b></em>' attribute. * The default value is <code>"1"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Transliteration Format</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Transliteration Format</em>' attribute. * @see #isSetTransliterationFormat() * @see #unsetTransliterationFormat() * @see #setTransliterationFormat(String) * @see org.oasisopen.names.tc.opendocument.xmlns.datastyle.DatastylePackage#getPercentageStyleType_TransliterationFormat() * @model default="1" unsettable="true" dataType="org.oasisopen.names.tc.opendocument.xmlns.text.String" * extendedMetaData="kind='attribute' name='transliteration-format' namespace='##targetNamespace'" * @generated */ String getTransliterationFormat(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getTransliterationFormat <em>Transliteration Format</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Transliteration Format</em>' attribute. * @see #isSetTransliterationFormat() * @see #unsetTransliterationFormat() * @see #getTransliterationFormat() * @generated */ void setTransliterationFormat(String value); /** * Unsets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getTransliterationFormat <em>Transliteration Format</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see #isSetTransliterationFormat() * @see #getTransliterationFormat() * @see #setTransliterationFormat(String) * @generated */ void unsetTransliterationFormat(); /** * Returns whether the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getTransliterationFormat <em>Transliteration Format</em>}' attribute is set. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return whether the value of the '<em>Transliteration Format</em>' attribute is set. * @see #unsetTransliterationFormat() * @see #getTransliterationFormat() * @see #setTransliterationFormat(String) * @generated */ boolean isSetTransliterationFormat(); /** * Returns the value of the '<em><b>Transliteration Language</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Transliteration Language</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Transliteration Language</em>' attribute. * @see #setTransliterationLanguage(String) * @see org.oasisopen.names.tc.opendocument.xmlns.datastyle.DatastylePackage#getPercentageStyleType_TransliterationLanguage() * @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.CountryCode" * extendedMetaData="kind='attribute' name='transliteration-language' namespace='##targetNamespace'" * @generated */ String getTransliterationLanguage(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getTransliterationLanguage <em>Transliteration Language</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Transliteration Language</em>' attribute. * @see #getTransliterationLanguage() * @generated */ void setTransliterationLanguage(String value); /** * Returns the value of the '<em><b>Transliteration Style</b></em>' attribute. * The default value is <code>"short"</code>. * The literals are from the enumeration {@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.TransliterationStyleType}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Transliteration Style</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Transliteration Style</em>' attribute. * @see org.oasisopen.names.tc.opendocument.xmlns.datastyle.TransliterationStyleType * @see #isSetTransliterationStyle() * @see #unsetTransliterationStyle() * @see #setTransliterationStyle(TransliterationStyleType) * @see org.oasisopen.names.tc.opendocument.xmlns.datastyle.DatastylePackage#getPercentageStyleType_TransliterationStyle() * @model default="short" unsettable="true" * extendedMetaData="kind='attribute' name='transliteration-style' namespace='##targetNamespace'" * @generated */ TransliterationStyleType getTransliterationStyle(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getTransliterationStyle <em>Transliteration Style</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Transliteration Style</em>' attribute. * @see org.oasisopen.names.tc.opendocument.xmlns.datastyle.TransliterationStyleType * @see #isSetTransliterationStyle() * @see #unsetTransliterationStyle() * @see #getTransliterationStyle() * @generated */ void setTransliterationStyle(TransliterationStyleType value); /** * Unsets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getTransliterationStyle <em>Transliteration Style</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see #isSetTransliterationStyle() * @see #getTransliterationStyle() * @see #setTransliterationStyle(TransliterationStyleType) * @generated */ void unsetTransliterationStyle(); /** * Returns whether the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getTransliterationStyle <em>Transliteration Style</em>}' attribute is set. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return whether the value of the '<em>Transliteration Style</em>' attribute is set. * @see #unsetTransliterationStyle() * @see #getTransliterationStyle() * @see #setTransliterationStyle(TransliterationStyleType) * @generated */ boolean isSetTransliterationStyle(); /** * Returns the value of the '<em><b>Volatile</b></em>' attribute. * 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>Volatile</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Volatile</em>' attribute. * @see org.oasisopen.names.tc.opendocument.xmlns.text.Boolean * @see #isSetVolatile() * @see #unsetVolatile() * @see #setVolatile(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean) * @see org.oasisopen.names.tc.opendocument.xmlns.datastyle.DatastylePackage#getPercentageStyleType_Volatile() * @model unsettable="true" * extendedMetaData="kind='attribute' name='volatile' namespace='urn:oasis:names:tc:opendocument:xmlns:style:1.0'" * @generated */ org.oasisopen.names.tc.opendocument.xmlns.text.Boolean getVolatile(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getVolatile <em>Volatile</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Volatile</em>' attribute. * @see org.oasisopen.names.tc.opendocument.xmlns.text.Boolean * @see #isSetVolatile() * @see #unsetVolatile() * @see #getVolatile() * @generated */ void setVolatile(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean value); /** * Unsets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getVolatile <em>Volatile</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see #isSetVolatile() * @see #getVolatile() * @see #setVolatile(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean) * @generated */ void unsetVolatile(); /** * Returns whether the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.datastyle.PercentageStyleType#getVolatile <em>Volatile</em>}' attribute is set. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return whether the value of the '<em>Volatile</em>' attribute is set. * @see #unsetVolatile() * @see #getVolatile() * @see #setVolatile(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean) * @generated */ boolean isSetVolatile(); } // PercentageStyleType