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

gate.creole.ontology.MaxCardinalityRestriction 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!
/*
 * MaxCardinalityRestriction.java
 *
 * $Id: MaxCardinalityRestriction.java 15002 2012-01-10 21:18:26Z markagreenwood $
 * 
 */
package gate.creole.ontology;

/**
 * A MaxCardinalityRestriction.
 *
 * @author Niraj Aswani
 *
 */
public interface MaxCardinalityRestriction extends Restriction {

    /**
     * This method returns the maximum cardinality value allowed for this value.
     */
    public String getValue();
    
    /**
     * This method returns the datatype associated to the restriction.
     */
    public DataType getDataType();
    
  /**
   * Sets the cardinality value.
   * @param value
   * @param dataType
   * @throws InvalidValueException
   */
  public void setValue(String value, DataType dataType) throws InvalidValueException;
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy