|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.sparql.benchmarking.loader.OperationLoaderArgument
public class OperationLoaderArgument
Represents information about an operation loader argument
Field Summary | |
---|---|
static int |
TYPE_BOOLEAN
Indicates the argument type is a boolean |
static int |
TYPE_FILE
Indicates the argument type is a string denoting a file |
static int |
TYPE_LONG
Indicates the argument type is a long |
static int |
TYPE_STRING
Indicates the argument type is a string |
Constructor Summary | |
---|---|
OperationLoaderArgument(String name)
Creates a new argument |
|
OperationLoaderArgument(String name,
int type)
Creates a new argument |
|
OperationLoaderArgument(String name,
String description)
Creates a new argument |
|
OperationLoaderArgument(String name,
String description,
int type)
Creates a new argument |
|
OperationLoaderArgument(String name,
String description,
int type,
boolean optional)
Creates a new argument |
Method Summary | |
---|---|
String |
getDescription()
Gets a description of the purpose of the argument |
String |
getName()
Gets a short name for the argument |
int |
getType()
Gets the expected type of the argument |
boolean |
isOptional()
Gets whether the argument is optional |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int TYPE_FILE
public static final int TYPE_LONG
public static final int TYPE_STRING
public static final int TYPE_BOOLEAN
Constructor Detail |
---|
public OperationLoaderArgument(String name)
name
- Short name for the argumentpublic OperationLoaderArgument(String name, int type)
name
- Short name for the argumenttype
- Expected argument typepublic OperationLoaderArgument(String name, String description)
name
- Short name for the argumentdescription
- Description of the purpose of the argumentpublic OperationLoaderArgument(String name, String description, int type)
name
- Short name for the argumentdescription
- Description of the purpose of the argumenttype
- Expected argument typepublic OperationLoaderArgument(String name, String description, int type, boolean optional)
name
- Short name for the argumentdescription
- Description of the purpose of the argumenttype
- Expected argument typeoptional
- Whether the argument is optionalMethod Detail |
---|
public String getName()
public String getDescription()
public boolean isOptional()
public int getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |