/******************************************************************************* * 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.text; import javax.xml.datatype.Duration; import javax.xml.datatype.XMLGregorianCalendar; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.util.FeatureMap; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>User Defined Type</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#getMixed <em>Mixed</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#getBooleanValue <em>Boolean Value</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#getDataStyleName <em>Data Style Name</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#getDateValue <em>Date Value</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#getFixed <em>Fixed</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#getName <em>Name</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#getStringValue <em>String Value</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#getTimeValue <em>Time Value</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#getValue <em>Value</em>}</li> * </ul> * </p> * * @see org.oasisopen.names.tc.opendocument.xmlns.text.TextPackage#getUserDefinedType() * @model extendedMetaData="name='user-defined_._type' kind='mixed'" * @generated */ public interface UserDefinedType 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.text.TextPackage#getUserDefinedType_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>Boolean Value</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>Boolean 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>Boolean Value</em>' attribute. * @see org.oasisopen.names.tc.opendocument.xmlns.text.Boolean * @see #isSetBooleanValue() * @see #unsetBooleanValue() * @see #setBooleanValue(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean) * @see org.oasisopen.names.tc.opendocument.xmlns.text.TextPackage#getUserDefinedType_BooleanValue() * @model unsettable="true" * extendedMetaData="kind='attribute' name='boolean-value' namespace='urn:oasis:names:tc:opendocument:xmlns:office:1.0'" * @generated */ org.oasisopen.names.tc.opendocument.xmlns.text.Boolean getBooleanValue(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#getBooleanValue <em>Boolean Value</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Boolean Value</em>' attribute. * @see org.oasisopen.names.tc.opendocument.xmlns.text.Boolean * @see #isSetBooleanValue() * @see #unsetBooleanValue() * @see #getBooleanValue() * @generated */ void setBooleanValue(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean value); /** * Unsets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#getBooleanValue <em>Boolean Value</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see #isSetBooleanValue() * @see #getBooleanValue() * @see #setBooleanValue(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean) * @generated */ void unsetBooleanValue(); /** * Returns whether the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#getBooleanValue <em>Boolean Value</em>}' attribute is set. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return whether the value of the '<em>Boolean Value</em>' attribute is set. * @see #unsetBooleanValue() * @see #getBooleanValue() * @see #setBooleanValue(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean) * @generated */ boolean isSetBooleanValue(); /** * Returns the value of the '<em><b>Data Style Name</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Data Style 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>Data Style Name</em>' attribute. * @see #setDataStyleName(String) * @see org.oasisopen.names.tc.opendocument.xmlns.text.TextPackage#getUserDefinedType_DataStyleName() * @model dataType="org.oasisopen.names.tc.opendocument.xmlns.style.DataStyleNameType" * extendedMetaData="kind='attribute' name='data-style-name' namespace='urn:oasis:names:tc:opendocument:xmlns:style:1.0'" * @generated */ String getDataStyleName(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#getDataStyleName <em>Data Style Name</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Data Style Name</em>' attribute. * @see #getDataStyleName() * @generated */ void setDataStyleName(String value); /** * Returns the value of the '<em><b>Date Value</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Date 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>Date Value</em>' attribute. * @see #setDateValue(XMLGregorianCalendar) * @see org.oasisopen.names.tc.opendocument.xmlns.text.TextPackage#getUserDefinedType_DateValue() * @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.DateOrDateTime" * extendedMetaData="kind='attribute' name='date-value' namespace='urn:oasis:names:tc:opendocument:xmlns:office:1.0'" * @generated */ XMLGregorianCalendar getDateValue(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#getDateValue <em>Date Value</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Date Value</em>' attribute. * @see #getDateValue() * @generated */ void setDateValue(XMLGregorianCalendar value); /** * Returns the value of the '<em><b>Fixed</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>Fixed</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Fixed</em>' attribute. * @see org.oasisopen.names.tc.opendocument.xmlns.text.Boolean * @see #isSetFixed() * @see #unsetFixed() * @see #setFixed(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean) * @see org.oasisopen.names.tc.opendocument.xmlns.text.TextPackage#getUserDefinedType_Fixed() * @model unsettable="true" * extendedMetaData="kind='attribute' name='fixed' namespace='##targetNamespace'" * @generated */ org.oasisopen.names.tc.opendocument.xmlns.text.Boolean getFixed(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#getFixed <em>Fixed</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Fixed</em>' attribute. * @see org.oasisopen.names.tc.opendocument.xmlns.text.Boolean * @see #isSetFixed() * @see #unsetFixed() * @see #getFixed() * @generated */ void setFixed(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean value); /** * Unsets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#getFixed <em>Fixed</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see #isSetFixed() * @see #getFixed() * @see #setFixed(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean) * @generated */ void unsetFixed(); /** * Returns whether the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#getFixed <em>Fixed</em>}' attribute is set. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return whether the value of the '<em>Fixed</em>' attribute is set. * @see #unsetFixed() * @see #getFixed() * @see #setFixed(org.oasisopen.names.tc.opendocument.xmlns.text.Boolean) * @generated */ boolean isSetFixed(); /** * 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.text.TextPackage#getUserDefinedType_Name() * @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.String" required="true" * extendedMetaData="kind='attribute' name='name' namespace='##targetNamespace'" * @generated */ String getName(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#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>String Value</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>String 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>String Value</em>' attribute. * @see #setStringValue(String) * @see org.oasisopen.names.tc.opendocument.xmlns.text.TextPackage#getUserDefinedType_StringValue() * @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.String" * extendedMetaData="kind='attribute' name='string-value' namespace='urn:oasis:names:tc:opendocument:xmlns:office:1.0'" * @generated */ String getStringValue(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#getStringValue <em>String Value</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>String Value</em>' attribute. * @see #getStringValue() * @generated */ void setStringValue(String value); /** * Returns the value of the '<em><b>Time Value</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Time 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>Time Value</em>' attribute. * @see #setTimeValue(Duration) * @see org.oasisopen.names.tc.opendocument.xmlns.text.TextPackage#getUserDefinedType_TimeValue() * @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.Duration" * extendedMetaData="kind='attribute' name='time-value' namespace='urn:oasis:names:tc:opendocument:xmlns:office:1.0'" * @generated */ Duration getTimeValue(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#getTimeValue <em>Time Value</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Time Value</em>' attribute. * @see #getTimeValue() * @generated */ void setTimeValue(Duration value); /** * 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 #isSetValue() * @see #unsetValue() * @see #setValue(double) * @see org.oasisopen.names.tc.opendocument.xmlns.text.TextPackage#getUserDefinedType_Value() * @model unsettable="true" dataType="org.oasisopen.names.tc.opendocument.xmlns.text.Double" * extendedMetaData="kind='attribute' name='value' namespace='urn:oasis:names:tc:opendocument:xmlns:office:1.0'" * @generated */ double getValue(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#getValue <em>Value</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Value</em>' attribute. * @see #isSetValue() * @see #unsetValue() * @see #getValue() * @generated */ void setValue(double value); /** * Unsets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#getValue <em>Value</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see #isSetValue() * @see #getValue() * @see #setValue(double) * @generated */ void unsetValue(); /** * Returns whether the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.text.UserDefinedType#getValue <em>Value</em>}' attribute is set. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return whether the value of the '<em>Value</em>' attribute is set. * @see #unsetValue() * @see #getValue() * @see #setValue(double) * @generated */ boolean isSetValue(); } // UserDefinedType