AI2 Component
(Version nb184)
|
Protected Member Functions | |
Parameter (String name, String type) | |
Parameter (String name, String type, boolean color) | |
String | parameterToYailType (Parameter parameter) |
Protected Attributes | |
final String | name |
final String | type |
final boolean | color |
Represents a parameter consisting of a name and a type. The type is a String representation of the java type, such as "int", "double", or "java.lang.String".
Definition at line 223 of file ComponentProcessor.java.
|
protected |
Constructs a Parameter.
name | the parameter name |
type | the parameter's Java type (such as "int" or "java.lang.String") |
Definition at line 242 of file ComponentProcessor.java.
|
protected |
Definition at line 246 of file ComponentProcessor.java.
|
protected |
Provides a Yail type for a given parameter type. This is useful because the parameter types used for Event are Simple types (e.g., "Single"), while the parameter types used for Method are Java types (e.g., "int".
parameter | a parameter |
RuntimeException | if parameter
|
Definition at line 263 of file ComponentProcessor.java.
|
protected |
Definition at line 234 of file ComponentProcessor.java.
|
protected |
The parameter name
Definition at line 227 of file ComponentProcessor.java.
|
protected |
The parameter's Java type, such as "int" or "java.lang.String".
Definition at line 232 of file ComponentProcessor.java.