/*******************************************************************************
* 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.config;
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.config.DocumentRoot#getMixed <em>Mixed</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.config.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.config.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.config.DocumentRoot#getConfigItem <em>Config Item</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.config.DocumentRoot#getConfigItemMapEntry <em>Config Item Map Entry</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.config.DocumentRoot#getConfigItemMapIndexed <em>Config Item Map Indexed</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.config.DocumentRoot#getConfigItemMapNamed <em>Config Item Map Named</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.config.DocumentRoot#getConfigItemSet <em>Config Item Set</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.config.DocumentRoot#getName <em>Name</em>}</li>
* <li>{@link org.oasisopen.names.tc.opendocument.xmlns.config.DocumentRoot#getType <em>Type</em>}</li>
* </ul>
* </p>
*
* @see org.oasisopen.names.tc.opendocument.xmlns.config.ConfigPackage#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.config.ConfigPackage#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.config.ConfigPackage#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.config.ConfigPackage#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>Config Item</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Config Item</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>Config Item</em>' containment reference.
* @see #setConfigItem(ConfigItemType)
* @see org.oasisopen.names.tc.opendocument.xmlns.config.ConfigPackage#getDocumentRoot_ConfigItem()
* @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
* extendedMetaData="kind='element' name='config-item' namespace='##targetNamespace'"
* @generated
*/
ConfigItemType getConfigItem();
/**
* Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.config.DocumentRoot#getConfigItem <em>Config Item</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Config Item</em>' containment reference.
* @see #getConfigItem()
* @generated
*/
void setConfigItem(ConfigItemType value);
/**
* Returns the value of the '<em><b>Config Item Map Entry</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Config Item Map Entry</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>Config Item Map Entry</em>' containment reference.
* @see #setConfigItemMapEntry(ConfigItemMapEntryType)
* @see org.oasisopen.names.tc.opendocument.xmlns.config.ConfigPackage#getDocumentRoot_ConfigItemMapEntry()
* @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
* extendedMetaData="kind='element' name='config-item-map-entry' namespace='##targetNamespace'"
* @generated
*/
ConfigItemMapEntryType getConfigItemMapEntry();
/**
* Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.config.DocumentRoot#getConfigItemMapEntry <em>Config Item Map Entry</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Config Item Map Entry</em>' containment reference.
* @see #getConfigItemMapEntry()
* @generated
*/
void setConfigItemMapEntry(ConfigItemMapEntryType value);
/**
* Returns the value of the '<em><b>Config Item Map Indexed</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Config Item Map Indexed</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>Config Item Map Indexed</em>' containment reference.
* @see #setConfigItemMapIndexed(ConfigItemMapIndexedType)
* @see org.oasisopen.names.tc.opendocument.xmlns.config.ConfigPackage#getDocumentRoot_ConfigItemMapIndexed()
* @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
* extendedMetaData="kind='element' name='config-item-map-indexed' namespace='##targetNamespace'"
* @generated
*/
ConfigItemMapIndexedType getConfigItemMapIndexed();
/**
* Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.config.DocumentRoot#getConfigItemMapIndexed <em>Config Item Map Indexed</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Config Item Map Indexed</em>' containment reference.
* @see #getConfigItemMapIndexed()
* @generated
*/
void setConfigItemMapIndexed(ConfigItemMapIndexedType value);
/**
* Returns the value of the '<em><b>Config Item Map Named</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Config Item Map Named</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>Config Item Map Named</em>' containment reference.
* @see #setConfigItemMapNamed(ConfigItemMapNamedType)
* @see org.oasisopen.names.tc.opendocument.xmlns.config.ConfigPackage#getDocumentRoot_ConfigItemMapNamed()
* @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
* extendedMetaData="kind='element' name='config-item-map-named' namespace='##targetNamespace'"
* @generated
*/
ConfigItemMapNamedType getConfigItemMapNamed();
/**
* Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.config.DocumentRoot#getConfigItemMapNamed <em>Config Item Map Named</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Config Item Map Named</em>' containment reference.
* @see #getConfigItemMapNamed()
* @generated
*/
void setConfigItemMapNamed(ConfigItemMapNamedType value);
/**
* Returns the value of the '<em><b>Config Item Set</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Config Item Set</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>Config Item Set</em>' containment reference.
* @see #setConfigItemSet(ConfigItemSetType)
* @see org.oasisopen.names.tc.opendocument.xmlns.config.ConfigPackage#getDocumentRoot_ConfigItemSet()
* @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
* extendedMetaData="kind='element' name='config-item-set' namespace='##targetNamespace'"
* @generated
*/
ConfigItemSetType getConfigItemSet();
/**
* Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.config.DocumentRoot#getConfigItemSet <em>Config Item Set</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Config Item Set</em>' containment reference.
* @see #getConfigItemSet()
* @generated
*/
void setConfigItemSet(ConfigItemSetType 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.config.ConfigPackage#getDocumentRoot_Name()
* @model dataType="org.oasisopen.names.tc.opendocument.xmlns.text.String"
* extendedMetaData="kind='attribute' name='name' namespace='##targetNamespace'"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.config.DocumentRoot#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>Type</b></em>' attribute.
* The literals are from the enumeration {@link org.oasisopen.names.tc.opendocument.xmlns.config.TypeType}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Type</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Type</em>' attribute.
* @see org.oasisopen.names.tc.opendocument.xmlns.config.TypeType
* @see #isSetType()
* @see #unsetType()
* @see #setType(TypeType)
* @see org.oasisopen.names.tc.opendocument.xmlns.config.ConfigPackage#getDocumentRoot_Type()
* @model unsettable="true"
* extendedMetaData="kind='attribute' name='type' namespace='##targetNamespace'"
* @generated
*/
TypeType getType();
/**
* Sets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.config.DocumentRoot#getType <em>Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Type</em>' attribute.
* @see org.oasisopen.names.tc.opendocument.xmlns.config.TypeType
* @see #isSetType()
* @see #unsetType()
* @see #getType()
* @generated
*/
void setType(TypeType value);
/**
* Unsets the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.config.DocumentRoot#getType <em>Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetType()
* @see #getType()
* @see #setType(TypeType)
* @generated
*/
void unsetType();
/**
* Returns whether the value of the '{@link org.oasisopen.names.tc.opendocument.xmlns.config.DocumentRoot#getType <em>Type</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Type</em>' attribute is set.
* @see #unsetType()
* @see #getType()
* @see #setType(TypeType)
* @generated
*/
boolean isSetType();
} // DocumentRoot