KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > mapping > ecore2xml > XMLInfo


1 /**
2  * <copyright>
3  *
4  * Copyright (c) 2005 IBM Corporation and others.
5  * All rights reserved. This program and the accompanying materials
6  * are made available under the terms of the Eclipse Public License v1.0
7  * which accompanies this distribution, and is available at
8  * http://www.eclipse.org/legal/epl-v10.html
9  *
10  * Contributors:
11  * IBM - Initial API and implementation
12  *
13  * </copyright>
14  *
15  * $Id: XMLInfo.java,v 1.2 2005/06/21 16:17:03 khussey Exp $
16  */

17 package org.eclipse.emf.mapping.ecore2xml;
18
19 import org.eclipse.emf.ecore.EObject;
20 import org.eclipse.emf.ecore.xmi.XMLResource;
21
22 /**
23  * <!-- begin-user-doc -->
24  * A representation of the model object '<em><b>XML Info</b></em>'.
25  * @extends XMLResource.XMLInfo
26  * <!-- end-user-doc -->
27  *
28  * <p>
29  * The following features are supported:
30  * <ul>
31  * <li>{@link org.eclipse.emf.mapping.ecore2xml.XMLInfo#getName <em>Name</em>}</li>
32  * <li>{@link org.eclipse.emf.mapping.ecore2xml.XMLInfo#getTargetNamespace <em>Target Namespace</em>}</li>
33  * <li>{@link org.eclipse.emf.mapping.ecore2xml.XMLInfo#getXMLRepresentation <em>XML Representation</em>}</li>
34  * </ul>
35  * </p>
36  *
37  * @see org.eclipse.emf.mapping.ecore2xml.Ecore2XMLPackage#getXMLInfo()
38  * @model
39  * @generated
40  */

41 public interface XMLInfo extends EObject, XMLResource.XMLInfo{
42   
43   /**
44    * Returns the value of the '<em><b>Name</b></em>' attribute.
45    * <!-- begin-user-doc -->
46    * <p>
47    * If the meaning of the '<em>Name</em>' attribute isn't clear,
48    * there really should be more of a description here...
49    * </p>
50    * <!-- end-user-doc -->
51    * @return the value of the '<em>Name</em>' attribute.
52    * @see #setName(String)
53    * @see org.eclipse.emf.mapping.ecore2xml.Ecore2XMLPackage#getXMLInfo_Name()
54    * @model volatile="true"
55    * @generated
56    */

57   String JavaDoc getName();
58
59   /**
60    * Sets the value of the '{@link org.eclipse.emf.mapping.ecore2xml.XMLInfo#getName <em>Name</em>}' attribute.
61    * <!-- begin-user-doc -->
62    * <!-- end-user-doc -->
63    * @param value the new value of the '<em>Name</em>' attribute.
64    * @see #getName()
65    * @generated
66    */

67   void setName(String JavaDoc value);
68
69   /**
70    * Returns the value of the '<em><b>Target Namespace</b></em>' attribute.
71    * <!-- begin-user-doc -->
72    * <p>
73    * If the meaning of the '<em>Target Namespace</em>' attribute isn't clear,
74    * there really should be more of a description here...
75    * </p>
76    * <!-- end-user-doc -->
77    * @return the value of the '<em>Target Namespace</em>' attribute.
78    * @see #setTargetNamespace(String)
79    * @see org.eclipse.emf.mapping.ecore2xml.Ecore2XMLPackage#getXMLInfo_TargetNamespace()
80    * @model volatile="true"
81    * @generated
82    */

83   String JavaDoc getTargetNamespace();
84
85   /**
86    * Sets the value of the '{@link org.eclipse.emf.mapping.ecore2xml.XMLInfo#getTargetNamespace <em>Target Namespace</em>}' attribute.
87    * <!-- begin-user-doc -->
88    * <!-- end-user-doc -->
89    * @param value the new value of the '<em>Target Namespace</em>' attribute.
90    * @see #getTargetNamespace()
91    * @generated
92    */

93   void setTargetNamespace(String JavaDoc value);
94
95   /**
96    * Returns the value of the '<em><b>XML Representation</b></em>' attribute.
97    * The default value is <code>"-1"</code>.
98    * <!-- begin-user-doc -->
99    * <p>
100    * If the meaning of the '<em>XML Representation</em>' attribute isn't clear,
101    * there really should be more of a description here...
102    * </p>
103    * <!-- end-user-doc -->
104    * @return the value of the '<em>XML Representation</em>' attribute.
105    * @see #setXMLRepresentation(int)
106    * @see org.eclipse.emf.mapping.ecore2xml.Ecore2XMLPackage#getXMLInfo_XMLRepresentation()
107    * @model default="-1" volatile="true"
108    * @generated
109    */

110   int getXMLRepresentation();
111
112   /**
113    * Sets the value of the '{@link org.eclipse.emf.mapping.ecore2xml.XMLInfo#getXMLRepresentation <em>XML Representation</em>}' attribute.
114    * <!-- begin-user-doc -->
115    * <!-- end-user-doc -->
116    * @param value the new value of the '<em>XML Representation</em>' attribute.
117    * @see #getXMLRepresentation()
118    * @generated
119    */

120   void setXMLRepresentation(int value);
121
122 } // XMLInfo
123
Popular Tags