org.gcube.opensearch.opensearchlibrary.query
Class BasicURLTemplate.Parameter
java.lang.Object
org.gcube.opensearch.opensearchlibrary.query.BasicURLTemplate.Parameter
- Enclosing class:
- BasicURLTemplate
protected static class BasicURLTemplate.Parameter
- extends Object
Class representing a query parameter, containing the qualified name of the parameter
and information about whether the parameter is required or not
- Author:
- gerasimos.farantatos
|
Method Summary |
boolean |
equals(Object p)
Determines if two Parameter objects are the same. |
name
public String name
BasicURLTemplate.Parameter
public BasicURLTemplate.Parameter()
- Creates a new Parameter object
BasicURLTemplate.Parameter
public BasicURLTemplate.Parameter(String name,
boolean optional)
- Creates a new Parameter object with a given qualified name and required-optional information
- Parameters:
name - The qualified name of the parameteroptional - False if the parameter is required, true otherwise
equals
public boolean equals(Object p)
- Determines if two Parameter objects are the same. Two parameters are considered the
same if they have the same qualified name, regardless of their required or optional status
- Overrides:
equals in class Object
- Parameters:
p - The Parameter that will be checked for equality with this instance
- Returns:
- true if the parameters are equal, false otherwise
Copyright © 2013. All Rights Reserved.