View Javadoc

1   /*
2    wsmo4j - a WSMO API and Reference Implementation
3   
4    Copyright (c) 2004-2007, Ontotext Lab. / SIRMA
5   
6    This library is free software; you can redistribute it and/or modify it under
7    the terms of the GNU Lesser General Public License as published by the Free
8    Software Foundation; either version 2.1 of the License, or (at your option)
9    any later version.
10   This library is distributed in the hope that it will be useful, but WITHOUT
11   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12   FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
13   details.
14   You should have received a copy of the GNU Lesser General Public License along
15   with this library; if not, write to the Free Software Foundation, Inc.,
16   59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17   */
18  
19  package org.wsmo.grounding.sawsdl;
20  
21  import java.net.URI;
22  
23  import javax.xml.namespace.QName;
24  
25  /**
26   * An abstract schema mapping for a certain XML Schema element.
27   *  
28   * For details see: <br>
29   *   <a href="http://www.w3.org/TR/sawsdl/" target="_blank">http://www.w3.org/TR/sawsdl/</a> <br>
30   *   <a href="http://www.w3.org/2001/XMLSchema/" target="_blank">http://www.w3.org/2001/XMLSchema/</a>
31  */
32  
33  public interface SchemaMapping {
34  
35  
36      /**
37       * @return The transformation schema which is targeted by this mapping object
38       */
39      public URI getSchema();
40  
41      /**
42       * Returns Unique id of the object annotated by this schema mapping
43       * @return   unique id of the annotated object
44       */
45      public QName getSource();
46  
47  }
48  
49  /*
50   * $Log$
51   * Revision 1.2  2007/04/27 17:46:31  alex_simov
52   * javadoc added
53   *
54   * Revision 1.1  2007/04/24 14:09:44  alex_simov
55   * new SA-WSDL api
56   *
57   */