/******************************************************************************* * 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.script; import org.eclipse.emf.common.util.EMap; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.util.FeatureMap; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Document Root</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.script.DocumentRoot#getMixed <em>Mixed</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.script.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.script.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.script.DocumentRoot#getEventListener <em>Event Listener</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.script.DocumentRoot#getEventName <em>Event Name</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.script.DocumentRoot#getLanguage <em>Language</em>}</li> * <li>{@link org.oasisopen.names.tc.opendocument.xmlns.script.DocumentRoot#getMacroName <em>Macro Name</em>}</li> * </ul> * </p> * * @see org.oasisopen.names.tc.opendocument.xmlns.script.ScriptPackage#getDocumentRoot() * @model extendedMetaData="name='' kind='mixed'" * @generated */ public interface DocumentRoot 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.script.ScriptPackage#getDocumentRoot_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>XMLNS Prefix Map</b></em>' map. * The key is of type {@link java.lang.String}, * and the value is of type {@link java.lang.String}, * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>XMLNS Prefix Map</em>' map. * @see org.oasisopen.names.tc.opendocument.xmlns.script.ScriptPackage#getDocumentRoot_XMLNSPrefixMap() * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true" * extendedMetaData="kind='attribute' name='xmlns:prefix'" * @generated */ EMap<String, String> getXMLNSPrefixMap(); /** * Returns the value of the '<em><b>XSI Schema Location</b></em>' map. * The key is of type {@link java.lang.String}, * and the value is of type {@link java.lang.String}, * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>XSI Schema Location</em>' map. * @see org.oasisopen.names.tc.opendocument.xmlns.script.ScriptPackage#getDocumentRoot_XSISchemaLocation() * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true" * extendedMetaData="kind='attribute' name='xsi:schemaLocation'" * @generated */ EMap<String, String> getXSISchemaLocation(); /** * Returns the value of the '<em><b>Event Listener</b></em>' containment reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Event Listener</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>Event Listener</em>' containment reference. * @see #setEventListener(EventListenerType) * @see org.oasisopen.names.tc.opendocument.xmlns.script.ScriptPackage#getDocumentRoot_EventListener() * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" * extendedMetaData="kind='element' name='event-listener' namespace='##targetNamespace'" * @generated */ EventListenerType getEventListener(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.script.DocumentRoot#getEventListener <em>Event Listener</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Event Listener</em>' containment reference. * @see #getEventListener() * @generated */ void setEventListener(EventListenerType value); /** * Returns the value of the '<em><b>Event Name</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Event 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>Event Name</em>' attribute. * @see #setEventName(String) * @see org.oasisopen.names.tc.opendocument.xmlns.script.ScriptPackage#getDocumentRoot_EventName() * @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.String" * extendedMetaData="kind='attribute' name='event-name' namespace='##targetNamespace'" * @generated */ String getEventName(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.script.DocumentRoot#getEventName <em>Event Name</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Event Name</em>' attribute. * @see #getEventName() * @generated */ void setEventName(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.script.ScriptPackage#getDocumentRoot_Language() * @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.String" * extendedMetaData="kind='attribute' name='language' namespace='##targetNamespace'" * @generated */ String getLanguage(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.script.DocumentRoot#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>Macro Name</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Macro 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>Macro Name</em>' attribute. * @see #setMacroName(String) * @see org.oasisopen.names.tc.opendocument.xmlns.script.ScriptPackage#getDocumentRoot_MacroName() * @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.String" * extendedMetaData="kind='attribute' name='macro-name' namespace='##targetNamespace'" * @generated */ String getMacroName(); /** * Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.script.DocumentRoot#getMacroName <em>Macro Name</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Macro Name</em>' attribute. * @see #getMacroName() * @generated */ void setMacroName(String value); } // DocumentRoot