📄 owls_1_0.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;
import java.net.URI;
import org.mindswap.owl.OWLFactory;
/**
* @author Evren Sirin
*/
public class OWLS_1_0 extends OWLS {
public static OWLS_1_0 instance = new OWLS_1_0();
public Service Service;
public Profile Profile;
public Process Process;
public Grounding Grounding;
protected OWLS_1_0() {
super("http://www.daml.org/services/owl-s/", "1.0");
Service = new Service(URI + "Service.owl#");
Profile = new Profile(URI + "Profile.owl#");
Process = new Process(URI + "Process.owl#");
Grounding = new Grounding(URI + "Grounding.owl#");
}
public OWLS.Service getService() { return Service; }
public OWLS.Profile getProfile() { return Profile; }
public OWLS.Process getProcess() { return Process; }
public OWLS.Grounding getGrounding() {return Grounding; }
public class Service extends OWLS.Service {
Service(String URI) {
super(URI);
}
}
public class Profile extends OWLS.Profile {
public URI hasInput;
public URI hasOutput;
public URI hasPrecondition;
public URI hasEffect;
Profile(String URI) {
super(URI);
hasInput = OWLFactory.createURI(URI + "hasInput");
hasOutput = OWLFactory.createURI(URI + "hasOutput");
hasPrecondition = OWLFactory.createURI(URI + "hasPrecondition");
hasEffect = OWLFactory.createURI(URI + "hasEffect");
}
}
public class Process extends OWLS.Process {
public URI Input;
public URI Output;
public URI Precondition;
public URI Effect;
public URI parameterType;
public URI hasInput;
public URI hasOutput;
public URI hasPrecondition;
public URI hasEffect;
Process(String URI) {
super(URI);
Input = OWLFactory.createURI(URI + "Input");
Output = OWLFactory.createURI(URI + "Output");
Precondition = OWLFactory.createURI(URI + "Precondition");
Effect = OWLFactory.createURI(URI + "Effect");
parameterType = OWLFactory.createURI(URI + "parameterType");
hasInput = OWLFactory.createURI(URI + "hasInput");
hasOutput = OWLFactory.createURI(URI + "hasOutput");
hasPrecondition = OWLFactory.createURI(URI + "hasPrecondition");
hasEffect = OWLFactory.createURI(URI + "hasEffect");
atClass = OWLFactory.createURI(URI + "atProcess");
theProperty = OWLFactory.createURI(URI + "theParameter");
}
}
public class Grounding extends OWLS.Grounding {
Grounding(String URI) {
super(URI);
owlsProcess = OWLFactory.createURI(URI + "owlsProcess");
owlsParameter = OWLFactory.createURI(URI + "owlsParameter");
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -