| 1 |
/** |
| 2 |
* Copyright (c) 2007 IBM Corporation and others. |
| 3 |
* All rights reserved. This program and the accompanying materials |
| 4 |
* are made available under the terms of the Eclipse Public License v2.0 |
| 5 |
* which accompanies this distribution, and is available at |
| 6 |
* http://www.eclipse.org/legal/epl-v20.html |
| 7 |
* |
| 8 |
* Contributors: |
| 9 |
* IBM - Initial API and implementation |
| 10 |
*/ |
| 11 |
package org.eclipse.emf.test.models.customer; |
| 12 |
|
| 13 |
import org.eclipse.emf.common.util.EMap; |
| 14 |
import org.eclipse.emf.ecore.EObject; |
| 15 |
import org.eclipse.emf.ecore.util.FeatureMap; |
| 16 |
|
| 17 |
/** |
| 18 |
* <!-- begin-user-doc --> |
| 19 |
* A representation of the model object '<em><b>Document Root</b></em>'. |
| 20 |
* <!-- end-user-doc --> |
| 21 |
* |
| 22 |
* <p> |
| 23 |
* The following features are supported: |
| 24 |
* </p> |
| 25 |
* <ul> |
| 26 |
* <li>{@link org.eclipse.emf.test.models.customer.DocumentRoot#getMixed <em>Mixed</em>}</li> |
| 27 |
* <li>{@link org.eclipse.emf.test.models.customer.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li> |
| 28 |
* <li>{@link org.eclipse.emf.test.models.customer.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li> |
| 29 |
* <li>{@link org.eclipse.emf.test.models.customer.DocumentRoot#getCustomers <em>Customers</em>}</li> |
| 30 |
* <li>{@link org.eclipse.emf.test.models.customer.DocumentRoot#getID <em>ID</em>}</li> |
| 31 |
* </ul> |
| 32 |
* |
| 33 |
* @see org.eclipse.emf.test.models.customer.CustomerPackage#getDocumentRoot() |
| 34 |
* @model extendedMetaData="name='' kind='mixed'" |
| 35 |
* @generated |
| 36 |
*/ |
| 37 |
public interface DocumentRoot extends EObject |
| 38 |
{ |
| 39 |
/** |
| 40 |
* Returns the value of the '<em><b>Mixed</b></em>' attribute list. |
| 41 |
* The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. |
| 42 |
* <!-- begin-user-doc --> |
| 43 |
* <p> |
| 44 |
* If the meaning of the '<em>Mixed</em>' attribute list isn't clear, |
| 45 |
* there really should be more of a description here... |
| 46 |
* </p> |
| 47 |
* <!-- end-user-doc --> |
| 48 |
* @return the value of the '<em>Mixed</em>' attribute list. |
| 49 |
* @see org.eclipse.emf.test.models.customer.CustomerPackage#getDocumentRoot_Mixed() |
| 50 |
* @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" |
| 51 |
* extendedMetaData="kind='elementWildcard' name=':mixed'" |
| 52 |
* @generated |
| 53 |
*/ |
| 54 |
FeatureMap getMixed(); |
| 55 |
|
| 56 |
/** |
| 57 |
* Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map. |
| 58 |
* The key is of type {@link java.lang.String}, |
| 59 |
* and the value is of type {@link java.lang.String}, |
| 60 |
* <!-- begin-user-doc --> |
| 61 |
* <p> |
| 62 |
* If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear, |
| 63 |
* there really should be more of a description here... |
| 64 |
* </p> |
| 65 |
* <!-- end-user-doc --> |
| 66 |
* @return the value of the '<em>XMLNS Prefix Map</em>' map. |
| 67 |
* @see org.eclipse.emf.test.models.customer.CustomerPackage#getDocumentRoot_XMLNSPrefixMap() |
| 68 |
* @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true" |
| 69 |
* extendedMetaData="kind='attribute' name='xmlns:prefix'" |
| 70 |
* @generated |
| 71 |
*/ |
| 72 |
EMap<String, String> getXMLNSPrefixMap(); |
| 73 |
|
| 74 |
/** |
| 75 |
* Returns the value of the '<em><b>XSI Schema Location</b></em>' map. |
| 76 |
* The key is of type {@link java.lang.String}, |
| 77 |
* and the value is of type {@link java.lang.String}, |
| 78 |
* <!-- begin-user-doc --> |
| 79 |
* <p> |
| 80 |
* If the meaning of the '<em>XSI Schema Location</em>' map isn't clear, |
| 81 |
* there really should be more of a description here... |
| 82 |
* </p> |
| 83 |
* <!-- end-user-doc --> |
| 84 |
* @return the value of the '<em>XSI Schema Location</em>' map. |
| 85 |
* @see org.eclipse.emf.test.models.customer.CustomerPackage#getDocumentRoot_XSISchemaLocation() |
| 86 |
* @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true" |
| 87 |
* extendedMetaData="kind='attribute' name='xsi:schemaLocation'" |
| 88 |
* @generated |
| 89 |
*/ |
| 90 |
EMap<String, String> getXSISchemaLocation(); |
| 91 |
|
| 92 |
/** |
| 93 |
* Returns the value of the '<em><b>Customers</b></em>' containment reference. |
| 94 |
* <!-- begin-user-doc --> |
| 95 |
* <p> |
| 96 |
* If the meaning of the '<em>Customers</em>' containment reference isn't clear, |
| 97 |
* there really should be more of a description here... |
| 98 |
* </p> |
| 99 |
* <!-- end-user-doc --> |
| 100 |
* @return the value of the '<em>Customers</em>' containment reference. |
| 101 |
* @see #setCustomers(CustomersType) |
| 102 |
* @see org.eclipse.emf.test.models.customer.CustomerPackage#getDocumentRoot_Customers() |
| 103 |
* @model containment="true" upper="-2" transient="true" volatile="true" derived="true" |
| 104 |
* extendedMetaData="kind='element' name='customers' namespace='##targetNamespace'" |
| 105 |
* @generated |
| 106 |
*/ |
| 107 |
CustomersType getCustomers(); |
| 108 |
|
| 109 |
/** |
| 110 |
* Sets the value of the '{@link org.eclipse.emf.test.models.customer.DocumentRoot#getCustomers <em>Customers</em>}' containment reference. |
| 111 |
* <!-- begin-user-doc --> |
| 112 |
* <!-- end-user-doc --> |
| 113 |
* @param value the new value of the '<em>Customers</em>' containment reference. |
| 114 |
* @see #getCustomers() |
| 115 |
* @generated |
| 116 |
*/ |
| 117 |
void setCustomers(CustomersType value); |
| 118 |
|
| 119 |
/** |
| 120 |
* Returns the value of the '<em><b>ID</b></em>' attribute. |
| 121 |
* <!-- begin-user-doc --> |
| 122 |
* <p> |
| 123 |
* If the meaning of the '<em>ID</em>' attribute isn't clear, |
| 124 |
* there really should be more of a description here... |
| 125 |
* </p> |
| 126 |
* <!-- end-user-doc --> |
| 127 |
* @return the value of the '<em>ID</em>' attribute. |
| 128 |
* @see #setID(String) |
| 129 |
* @see org.eclipse.emf.test.models.customer.CustomerPackage#getDocumentRoot_ID() |
| 130 |
* @model id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" |
| 131 |
* extendedMetaData="kind='attribute' name='ID' namespace='##targetNamespace'" |
| 132 |
* @generated |
| 133 |
*/ |
| 134 |
String getID(); |
| 135 |
|
| 136 |
/** |
| 137 |
* Sets the value of the '{@link org.eclipse.emf.test.models.customer.DocumentRoot#getID <em>ID</em>}' attribute. |
| 138 |
* <!-- begin-user-doc --> |
| 139 |
* <!-- end-user-doc --> |
| 140 |
* @param value the new value of the '<em>ID</em>' attribute. |
| 141 |
* @see #getID() |
| 142 |
* @generated |
| 143 |
*/ |
| 144 |
void setID(String value); |
| 145 |
|
| 146 |
} // DocumentRoot |