LogicLanguageImpl.java revision 2
0N/A// The MIT License
2362N/A//
0N/A// Copyright (c) 2004 Evren Sirin
0N/A//
0N/A// Permission is hereby granted, free of charge, to any person obtaining a copy
0N/A// of this software and associated documentation files (the "Software"), to
2362N/A// deal in the Software without restriction, including without limitation the
0N/A// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
2362N/A// sell copies of the Software, and to permit persons to whom the Software is
0N/A// furnished to do so, subject to the following conditions:
0N/A//
0N/A// The above copyright notice and this permission notice shall be included in
0N/A// all copies or substantial portions of the Software.
0N/A//
0N/A// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0N/A// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0N/A// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
0N/A// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
0N/A// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
0N/A// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
2362N/A// IN THE SOFTWARE.
2362N/A
2362N/A/*
0N/A * Created on Jul 7, 2004
0N/A */
0N/Apackage impl.owls.generic.expression;
0N/A
0N/Aimport impl.owl.WrappedIndividual;
0N/A
0N/Aimport java.net.URI;
0N/A
0N/Aimport org.mindswap.owl.OWLIndividual;
0N/Aimport org.mindswap.owls.generic.expression.LogicLanguage;
0N/Aimport org.mindswap.owls.vocabulary.OWLS;
0N/A
0N/A/**
0N/A * @author Evren Sirin
0N/A */
0N/Apublic class LogicLanguageImpl extends WrappedIndividual implements LogicLanguage {
0N/A public LogicLanguageImpl(OWLIndividual ind, URI refURI) {
0N/A super(ind);
0N/A
0N/A setProperty(OWLS.Expression.refURI, refURI);
0N/A }
0N/A
public URI getRefURI() {
return getPropertyAsURI(OWLS.Expression.refURI);
}
}