|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.trippi.ConnectorParameter
public class ConnectorParameter
A parameter to a TriplestoreConnector
.
Instances of this class document the nature of a parameter, the values it may have, and the other parameters that are valid only in the context of a certain value of this one.
For example, consider the remote parameter to a triplestore, indicating whether it is accessed via the network or the filesystem. In the case that remote is true, the parameters hostname and port would be needed. In the case where it is false, a path parameter would be needed.
Constructor Summary | |
---|---|
ConnectorParameter(java.lang.String name,
java.lang.String label,
java.lang.String description,
boolean isOptional,
java.util.List options,
java.util.Map parameterMap)
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
A longer description of the parameter. |
java.lang.String |
getLabel()
A simple description of the parameter. |
java.lang.String |
getName()
The name of the parameter. |
java.util.List |
getOptions()
Get the value options for this parameter. |
java.util.List |
getParameters(java.lang.String value)
For a given value of this parameter, get the list of additional ConnectorParameter s that should be considered. |
boolean |
isOptional()
Whether the parameter may be unspecified. |
java.lang.String |
toString()
|
java.lang.String |
toString(int i)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConnectorParameter(java.lang.String name, java.lang.String label, java.lang.String description, boolean isOptional, java.util.List options, java.util.Map parameterMap)
Method Detail |
---|
public java.lang.String getName()
public java.lang.String getLabel()
public java.lang.String getDescription()
public boolean isOptional()
public java.util.List getOptions()
public java.util.List getParameters(java.lang.String value)
ConnectorParameter
s that should be considered.
public java.lang.String toString(int i)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |