| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| ModelRef |
|
| 1.0;1 |
| 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 javax.xml.namespace.QName; | |
| 22 | ||
| 23 | import org.wsmo.common.IRI; | |
| 24 | ||
| 25 | /** | |
| 26 | * An abstract representation of a semantic model annotation of a WSDL or XML Schema | |
| 27 | * entity. | |
| 28 | * | |
| 29 | * For details see: <br> | |
| 30 | * <a href="http://www.w3.org/TR/sawsdl/" target="_blank">http://www.w3.org/TR/sawsdl/</a> <br> | |
| 31 | * <a href="http://www.w3.org/2001/XMLSchema/" target="_blank">http://www.w3.org/2001/XMLSchema/</a> | |
| 32 | * <a href="http://www.w3.org/TR/wsdl20/" target="_blank">http://www.w3.org/TR/wsdl20/</a> | |
| 33 | */ | |
| 34 | public interface ModelRef { | |
| 35 | ||
| 36 | /** | |
| 37 | * Returns unique id of the object annotated by this ModelReference | |
| 38 | * @return unique id of the annotated object | |
| 39 | * @uml.property name="source" | |
| 40 | */ | |
| 41 | public QName getSource(); | |
| 42 | ||
| 43 | /** | |
| 44 | * The target reference of this annotation, pointing to a concept of a semantic model. | |
| 45 | * | |
| 46 | * @uml.property name="target" | |
| 47 | */ | |
| 48 | public IRI getTarget(); | |
| 49 | ||
| 50 | } | |
| 51 | ||
| 52 | /* | |
| 53 | * $Log$ | |
| 54 | * Revision 1.3 2007/04/27 17:52:18 alex_simov | |
| 55 | * no message | |
| 56 | * | |
| 57 | * Revision 1.2 2007/04/27 17:46:31 alex_simov | |
| 58 | * javadoc added | |
| 59 | * | |
| 60 | * Revision 1.1 2007/04/24 14:09:44 alex_simov | |
| 61 | * new SA-WSDL api | |
| 62 | * | |
| 63 | */ |