View Javadoc

1   /*
2    WSMO Studio - a Semantic Web Service Editor
3    Copyright (c) 2004-2007, Ontotext Lab. / SIRMA Group
4    
5    This library is free software; you can redistribute it and/or modify it under
6    the terms of the GNU Lesser General Public License as published by the Free
7    Software Foundation; either version 2.1 of the License, or (at your option)
8    any later version.
9    This library is distributed in the hope that it will be useful, but WITHOUT
10   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   details.
13   You should have received a copy of the GNU Lesser General Public License along
14   with this library; if not, write to the Free Software Foundation, Inc.,
15   59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16   */
17  
18  /***
19   * <p>Title: WSMO Studio</p>
20   * <p>Description: Semantic Web Service Editor</p>
21   * <p>Copyright:  Copyright (c) 2004-2007</p>
22   * <p>Company: Ontotext Lab. / SIRMA </p>
23   */
24  
25  package org.semanticgov.ui;
26  
27  import org.wsmo.common.IRI;
28  import org.wsmostudio.runtime.WSMORuntime;
29  
30  public class Constants {
31  
32  
33      public static final String GEA_NAMESPACE = "http://www.semantic-gov.org/Ontologies/GEA#";
34      public static final IRI NFP_INST_ONTOLOGY = createIRI("http://www.semantic-gov.org#instanceOntology");
35      public static final IRI NFP_SERVICE_REF = createIRI("http://www.semantic-gov.org#hasWsmoService");
36      public static final IRI NFP_WSDL_ENDPOINT = createIRI("http://www.wsmo.org/wsml/wsml-syntax#endpointDescription");
37      
38      public static final IRI GEA_ID = createIRI(GEA_NAMESPACE + "GEA");
39      public static final IRI PUBLIC_SERVICE_ID = createIRI(GEA_NAMESPACE + "PublicService");
40      public static final IRI PUBLIC_SERVICE_DOMAIN = createIRI(GEA_NAMESPACE + "PublicServiceDomain");
41      public static final IRI PUBLIC_SERVICE_TYPE = createIRI(GEA_NAMESPACE + "PublicServiceType");
42      public static final IRI PUBLIC_SERVICE_SUB_DOMAIN = createIRI(GEA_NAMESPACE + "PublicServiceSubDomain");
43      public static final IRI PUBLIC_SERVICE_EFFECT_TYPE = createIRI(GEA_NAMESPACE + "PublicServiceEffectType");
44      public static final IRI ADMINISTRATION_LEVEL = createIRI(GEA_NAMESPACE + "AdministrationLevel");
45      
46      public static final IRI ELECTRONIC_LOCATOIN = createIRI(GEA_NAMESPACE + "ElectronicLocation");
47      public static final IRI PHYSICAL_LOCATOIN = createIRI(GEA_NAMESPACE + "PhysicalLocation");
48  
49      public static final IRI SOCIETAL_ENTITY = createIRI(GEA_NAMESPACE + "SocietalEntity");
50      public static final IRI LEGAL_ENTITY = createIRI(GEA_NAMESPACE + "LegalEntity");
51      public static final IRI PHYSICAL_ENTITY = createIRI(GEA_NAMESPACE + "PhysicalEntity");
52  
53      public static final IRI PROVIDER = createIRI(GEA_NAMESPACE + "ServiceProvider");
54      public static final IRI PROCESS = createIRI(GEA_NAMESPACE + "ServiceProcess");
55  
56      public static final IRI EVIDENCE_PLACEHOLDER = createIRI(GEA_NAMESPACE + "EvidencePlaceholder");
57      public static final IRI LAW = createIRI(GEA_NAMESPACE + "Law");
58  
59      
60      public static final IRI PA_ATTR_EFFECT_TYPE = createIRI(GEA_NAMESPACE + "hasEffectType"); //Public_Service_Effect_Type
61      public static final IRI PA_ATTR_CLIENT_TYPE = createIRI(GEA_NAMESPACE + "hasClientType");// Societal_Entity
62      public static final IRI PA_ATTR_DOMAIN = createIRI(GEA_NAMESPACE + "hasPADomain"); // Public_Service_Domain
63      public static final IRI PA_ATTR_SUB_DOMAIN = createIRI(GEA_NAMESPACE + "hasPASubDomain");// Public_Service_SubDomain
64      public static final IRI PA_ATTR_LOCATION = createIRI(GEA_NAMESPACE + "hasLocation");// Location
65      public static final IRI PA_ATTR_ADMIN_LEVEL = createIRI(GEA_NAMESPACE + "hasAdministrationLevel");// Administration_Level
66      public static final IRI PA_ATTR_OUTCOME = createIRI(GEA_NAMESPACE + "hasServiceOutcome");
67      public static final IRI PA_ATTR_GOVERNED_BY = createIRI(GEA_NAMESPACE + "isGovernedByLaw");
68      public static final IRI PA_ATTR_INPUT = createIRI(GEA_NAMESPACE + "usesServiceInput");
69      public static final IRI PA_ATTR_IS_PROVIDED_BY = createIRI(GEA_NAMESPACE + "isProvidedBy");
70      public static final IRI PA_ATTR_HAS_PROCESS = createIRI(GEA_NAMESPACE + "hasProcess");
71      public static final IRI PA_ATTR_HAS_SERVICE_TYPE = createIRI(GEA_NAMESPACE + "hasPublicServiceType");
72      
73      public static final IRI PA_ATTR_IS_SUBDOMAIN_OF = createIRI(GEA_NAMESPACE + "isSubDomainOf");
74      
75      private static IRI createIRI(String iriStr) {
76          return WSMORuntime.getRuntime().getWsmoFactory().createIRI(iriStr);
77      }
78      
79  }
80  
81  /*
82   * $Log: Constants.java,v $
83   * Revision 1.4  2007/01/26 14:11:29  alex_simov
84   * no message
85   *
86   * Revision 1.3  2007/01/23 16:23:33  alex_simov
87   * no message
88   *
89   * Revision 1.2  2007/01/22 17:25:34  alex_simov
90   * no message
91   *
92   * Revision 1.1  2007/01/12 16:30:28  alex_simov
93   * PA Service editor initial version
94   *
95   */