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

org.opengis.parameter.Parameter Maven / Gradle / Ivy

There is a newer version: 24.2-oss84-1
Show newest version
/*
 *    GeoTools - The Open Source Java GIS Toolkit
 *    http://geotools.org
 *
 *    (C) 2011, Open Source Geospatial Foundation (OSGeo)
 *    (C) 2003-2005, Open Geospatial Consortium Inc.
 *
 *    All Rights Reserved. http://www.opengis.org/legal/
 */
package org.opengis.parameter;

import org.opengis.util.InternationalString;

/**
 * General parameter interface.
 *
 * @author Justin Deoliveira, OpenGeo
 * @param 
 */
public interface Parameter {

    /** Name of the parameter. */
    String getName();

    /** Title of the parameter. */
    InternationalString getTitle();

    /** Description of the parameter. */
    InternationalString getDescription();

    /** Type/class of the parameter. */
    Class getType();

    /** Flag indicating if the parameter is required or not. */
    Boolean isRequired();

    /**
     * The minimum number of occurrences of the parameter.
     *
     * @return minimum number of occurrences, or -1 if no minimum needed
     */
    int getMinOccurs();

    /**
     * The maximum number of occurrences of the parameter.
     *
     * @return maximum number of occurences, or -1 for unbound
     */
    int getMaxOccurs();

    /** A default value for the parameter. */
    T getDefaultValue();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy