View Javadoc

1   /*
2    wsmo4j - a WSMO API and Reference Implementation
3   
4    Copyright (c) 2004-2005, 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  /**
20   * <p>Title: WSMO4J</p>
21   * <p>Description: WSMO API and a Reference Implementation</p>
22   * <p>Copyright:  Copyright (c) 2004-2005</p>
23   * <p>Company: OntoText Lab. / SIRMA </p>
24   */
25  
26  package org.omwg.ontology;
27  
28  import org.wsmo.common.*;
29  
30  public interface WsmlDataType extends Type {
31  
32      String WSML_STRING = WSML.WSML_NAMESPACE+"string";
33      String WSML_DECIMAL = WSML.WSML_NAMESPACE+"decimal";
34      String WSML_INTEGER = WSML.WSML_NAMESPACE+"integer";
35      String WSML_FLOAT = WSML.WSML_NAMESPACE+"float";
36      String WSML_DOUBLE = WSML.WSML_NAMESPACE+"double";
37      String WSML_IRI = WSML.WSML_NAMESPACE+"iri";
38      String WSML_SQNAME = WSML.WSML_NAMESPACE+"sqname";
39      String WSML_BOOLEAN = WSML.WSML_NAMESPACE+"boolean";
40      String WSML_DURATION = WSML.WSML_NAMESPACE+"duration";
41      String WSML_DATETIME = WSML.WSML_NAMESPACE+"dateTime";
42      String WSML_TIME = WSML.WSML_NAMESPACE+"time";
43      String WSML_DATE = WSML.WSML_NAMESPACE+"date";
44      String WSML_GYEARMONTH = WSML.WSML_NAMESPACE+"gyearmonth";
45      String WSML_GYEAR = WSML.WSML_NAMESPACE+"gyear";
46      String WSML_GMONTHDAY = WSML.WSML_NAMESPACE+"gmonthday";
47      String WSML_GDAY = WSML.WSML_NAMESPACE+"gday";
48      String WSML_GMONTH = WSML.WSML_NAMESPACE+"gmonth";
49      String WSML_HEXBINARY = WSML.WSML_NAMESPACE+"hexbinary";
50      String WSML_BASE64BINARY = WSML.WSML_NAMESPACE+"base64binary";
51  
52      final static String WSML_STRING_NOTATION = "_string";
53      final static String WSML_INTEGER_NOTATION = "_integer";
54      final static String WSML_DECIMAL_NOTATION = "_decimal";
55      final static String WSML_IRI_NOTATION = "_iri";
56      final static String WSML_SQNAME_NOTATION = "_sqname";
57      final static String WSML_FLOAT_NOTATION = "_float";
58      final static String WSML_DOUBLE_NOTATION = "_double";
59      final static String WSML_BOOLEAN_NOTATION = "_boolean";
60      final static String WSML_DURATION_NOTATION = "_duration";
61      final static String WSML_DATETIME_NOTATION = "_dateTime";
62      final static String WSML_TIME_NOTATION = "_time";
63      final static String WSML_DATE_NOTATION = "_date";
64      final static String WSML_GYEARMONTH_NOTATION = "_gyearmonth";
65      final static String WSML_GYEAR_NOTATION = "_gyear";
66      final static String WSML_GMONTHDAY_NOTATION = "_gmonthday";
67      final static String WSML_GDAY_NOTATION = "_gday";
68      final static String WSML_GMONTH_NOTATION = "_gmonth";
69      final static String WSML_HEXBINARY_NOTATION = "_hexbinary";
70      final static String WSML_BASE64BINARY_NOTATION = "_base64binary";    
71  
72      /**
73       * Returns the IRI of this type
74       * @return The IRI of this type
75       */
76      IRI getIRI();
77  }
78  
79  /*
80   * $Log$
81   * Revision 1.9  2006/11/16 09:36:28  holgerlausen
82   * removed duplicated namespace definition occurences
83   *
84   * Revision 1.8  2005/09/23 07:09:51  holgerlausen
85   * moved constanttransformer from API to implementation, removed dublicated constants in logicalexpression.constants
86   *
87   * Revision 1.7  2005/08/19 08:59:38  marin_dimitrov
88   * -
89   *
90   * Revision 1.6  2005/07/06 12:22:48  marin_dimitrov
91   * built-in datatypes
92   *
93   * Revision 1.5  2005/07/04 12:23:51  marin_dimitrov
94   * no message
95   *
96   */