gate.creole.ontology.CardinalityRestriction 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!
/*
* CardinalityRestriction.java
*
* $Id: CardinalityRestriction.java 15002 2012-01-10 21:18:26Z markagreenwood $
*
*/
package gate.creole.ontology;
/**
* A CardinalityRestriction
*
* @author Niraj Aswani
* @author Johann Petrak
*
*/
public interface CardinalityRestriction extends Restriction {
/**
* This method returns the cardinality value.
*/
public String getValue();
/**
* This method returns the datatype uri.
*/
public DataType getDataType();
/**
* Sets the cardinality value.
* @throws InvalidValueException
*/
public void setValue(String value, DataType dataType) throws InvalidValueException;
}