All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mindswap.pellet.jena.graph.loader.RestrictionInfo Maven / Gradle / Ivy

There is a newer version: 2.3.6-ansell
Show newest version
// Copyright (c) 2006 - 2008, Clark & Parsia, LLC. 
// This source code is available under the terms of the Affero General Public License v3.
//
// Please see LICENSE.txt for full license terms, including the availability of proprietary exceptions.
// Questions, comments, or requests for clarification: [email protected]

package org.mindswap.pellet.jena.graph.loader;

import org.mindswap.pellet.utils.Bool;

import com.hp.hpl.jena.graph.Node;

/**
 * 

* Title: *

*

* Description: A simple structure to cache information related to restrictions. *

*

* Copyright: Copyright (c) 2008 *

*

* Company: Clark & Parsia, LLC. *

* * @author Evren Sirin */ public class RestrictionInfo { private Node type; private Node predicate; private Node filler; private Node detail; private Bool isObjectRestriction = Bool.UNKNOWN; public RestrictionInfo(Node predicate) { this.predicate = predicate; } public Node getType() { return type; } public void setType(Node type) { this.type = type; } public Node getPredicate() { return predicate; } public void setPredicate(Node predicate) { this.predicate = predicate; } public Node getFiller() { return filler; } public void setFiller(Node filler) { this.filler = filler; } public Node getDetail() { return detail; } public void setDetail(Node detail) { this.detail = detail; } public Bool isObjectRestriction() { return isObjectRestriction; } public void setObjectRestriction(boolean isObjectRestriction) { this.isObjectRestriction = Bool.create( isObjectRestriction ); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy