gate.creole.ontology.AllValuesFromRestriction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gate-core Show documentation
Show all versions of gate-core Show documentation
GATE - general achitecture for text engineering - is open source
software capable of solving almost any text processing problem. This
artifact enables you to embed the core GATE Embedded with its essential
dependencies. You will able to use the GATE Embedded API and load and
store GATE XML documents. This artifact is the perfect dependency for
CREOLE plugins or for applications that need to customize the GATE
dependencies due to confict with their own dependencies or for lower
footprint.
The newest version!
/*
* AllValuesFromRestriction.java
*
* $Id: AllValuesFromRestriction.java 15002 2012-01-10 21:18:26Z markagreenwood $
*/
package gate.creole.ontology;
/**
* An AllValuesFromRestriction.
*
* @author Niraj Aswani
* @author Johann Petrak
*
*/
public interface AllValuesFromRestriction extends Restriction {
/**
* Returns the resource which is set as a restricted value.
* For ontologies that conform to OWL-Lite this is always an OClass
* object.
*/
public OResource getHasValue();
/**
* Sets the value of the restriction. For ontologies that conform to
* OWL-Lite this should always be an OClass.
*
* @param resource - the OResource, usually and OClass that should be value
* of the restriction.
* @deprecated - use {@link #setHasValue(OClass) } instead
*/
@Deprecated
public void setHasValue(OResource resource);
/**
* Sets the value of the the restiction to the specified OClass.
*
* @param resource
*/
public void setHasValue(OClass resource);
/**
* Specify the object property for which to set the allValuesFromRestriction.
*
* @param property
*/
public void setOnPropertyValue(ObjectProperty property);
}