⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 damls_0_7.java

📁 开发owl的API,提供了W3C规定标准接口,是目前比较少的API.
💻 JAVA
字号:
// The MIT License
//
// Copyright (c) 2004 Evren Sirin
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.

package org.mindswap.owls.vocabulary.jena;

import com.hp.hpl.jena.rdf.model.Property;
import com.hp.hpl.jena.rdf.model.Resource;
import com.hp.hpl.jena.rdf.model.ResourceFactory;

public class DAMLS_0_7 {
	public final static String base    = "http://www.daml.org/services/daml-s/";	
	public final static String version = "0.7";	
	public final static String URI     = base + version + "/";	
	
	public static class Service {
		public final static String URI = DAMLS_0_7.URI + "Service.daml#";	

		public static Resource Service = ResourceFactory.createResource(URI + "Service");

		public static Property presents    = ResourceFactory.createProperty(URI, "presents");
		public static Property describedBy = ResourceFactory.createProperty(URI, "describedBy");
		public static Property supports    = ResourceFactory.createProperty(URI, "supports");
	}
	
	public static class Process {
		public final static String URI = DAMLS_0_7.URI + "Process.daml#";	

		public static Resource Process          = ResourceFactory.createResource(URI + "Process");
		
		public static Resource AtomicProcess    = ResourceFactory.createResource(URI + "AtomicProcess");
		public static Resource CompositeProcess = ResourceFactory.createResource(URI + "CompositeProcess");
		public static Resource SimpleProcess    = ResourceFactory.createResource(URI + "SimpleProcess");
		
		public static Resource Sequence         = ResourceFactory.createResource(URI + "Sequence");
		public static Resource Choice           = ResourceFactory.createResource(URI + "Choice");
		public static Resource Unordered        = ResourceFactory.createResource(URI + "Unordered");
		
		public static Resource ValueOf          = ResourceFactory.createResource(URI + "ValueOf");		

		public static Property input        = ResourceFactory.createProperty(URI, "input");
		public static Property output       = ResourceFactory.createProperty(URI, "output");
		public static Property effect       = ResourceFactory.createProperty(URI, "effect");
		public static Property precondition = ResourceFactory.createProperty(URI, "precondition");
		public static Property hasProcess   = ResourceFactory.createProperty(URI, "hasProcess");
		public static Property composedOf   = ResourceFactory.createProperty(URI, "composedOf");
		public static Property components   = ResourceFactory.createProperty(URI, "components");
		public static Property listOfInstancesOf = ResourceFactory.createProperty(URI, "listOfInstancesOf");		
		public static Property sameValues   = ResourceFactory.createProperty(URI, "sameValues");
		public static Property atClass      = ResourceFactory.createProperty(URI, "atClass");
		public static Property theProperty  = ResourceFactory.createProperty(URI, "theProperty");
	}

	public static class Profile {
		public final static String URI = DAMLS_0_7.URI + "Profile.daml#";	

		public static Property input           = ResourceFactory.createProperty(URI, "input");
		public static Property output          = ResourceFactory.createProperty(URI, "output");
		public static Property serviceName     = ResourceFactory.createProperty(URI, "serviceName");
		public static Property textDescription = ResourceFactory.createProperty(URI, "textDescription");
		public static Property restrictedTo    = ResourceFactory.createProperty(URI, "restrictedTo");
		public static Property parameterName   = ResourceFactory.createProperty(URI, "parameterName");
		public static Property refersTo        = ResourceFactory.createProperty(URI, "refersTo");
	}

	public static class Grounding {
		public final static String URI = DAMLS_0_7.URI + "Grounding.daml#";	

		public final static Resource WsdlGrounding = ResourceFactory.createResource(URI + "WsdlGrounding");
		public final static Resource WsdlAtomicProcessGrounding = ResourceFactory.createResource(URI + "WsdlAtomicProcessGrounding");
		
		public static Property hasAtomicProcessGrounding = ResourceFactory.createProperty(URI, "hasAtomicProcessGrounding");
		public static Property wsdlDocument           = ResourceFactory.createProperty(URI, "wsdlDocument");
		public static Property wsdlOperation          = ResourceFactory.createProperty(URI, "wsdlOperation");
		public static Property operation              = ResourceFactory.createProperty(URI, "operation");
		public static Property portType               = ResourceFactory.createProperty(URI, "portType");
		public static Property damlsProcess           = ResourceFactory.createProperty(URI, "damlsProcess");
		public static Property wsdlInputMessage       = ResourceFactory.createProperty(URI, "wsdlInputMessage");
		public static Property wsdlInputMessageParts  = ResourceFactory.createProperty(URI, "wsdlInputMessageParts");
		public static Property wsdlOutputMessage      = ResourceFactory.createProperty(URI, "wsdlOutputMessage");
		public static Property wsdlOutputMessageParts = ResourceFactory.createProperty(URI, "wsdlOutputMessageParts");
		public static Property wsdlMessagePart        = ResourceFactory.createProperty(URI, "wsdlMessagePart");
		public static Property damlsParameter         = ResourceFactory.createProperty(URI, "damlsParameter");
		
		private static String flaURI = "http://www.flacp.fujitsulabs.com/~mhgrove/services/FLACP-ServiceOnt.daml#";		
		public static Property xsltTranformation      = ResourceFactory.createProperty(flaURI, "xsltTransformation");
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -