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

gate.creole.ontology.CardinalityRestriction Maven / Gradle / Ivy

Go to download

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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy