|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujac.print.ParameterDefinition
public class ParameterDefinition
Name: ParameterDefinition
Description: A class, defining parameters.
| Field Summary | |
|---|---|
static int |
TYPE_COLOR
Constant for Color type. |
static int |
TYPE_FONT
Constant for font type. |
static int |
TYPE_FORMAT
Constant for Format type. |
| Fields inherited from interface org.ujac.util.UjacTypes |
|---|
TYPE_BOOLEAN, TYPE_DATE, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT, TYPE_LONG, TYPE_NAME_BOOLEAN, TYPE_NAME_DATE, TYPE_NAME_DOUBLE, TYPE_NAME_FLOAT, TYPE_NAME_INT, TYPE_NAME_LONG, TYPE_NAME_OBJECT, TYPE_NAME_SHORT, TYPE_NAME_STRING, TYPE_NAME_TABLE, TYPE_NAME_TIME, TYPE_NAME_TIMESTAMP, TYPE_OBJECT, TYPE_SHORT, TYPE_STRING, TYPE_TABLE, TYPE_TIME, TYPE_TIMESTAMP |
| Constructor Summary | |
|---|---|
ParameterDefinition(String name,
int type,
boolean list,
boolean optional,
Object defaultValue)
Constructs a ParameterDefinition instance with specific attributes. |
|
ParameterDefinition(String name,
int type,
boolean list,
boolean optional,
Object defaultValue,
String description)
Constructs a ParameterDefinition instance with specific attributes. |
|
| Method Summary | |
|---|---|
Object |
getDefaultValue()
Gets the default value. |
String |
getDescription()
Gets the parameter description. |
String |
getName()
Gets the parameter name. |
int |
getType()
Gets the parameter type. |
boolean |
isList()
Gets the list flag |
boolean |
isOptional()
Gets the optional flag |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int TYPE_FONT
public static final int TYPE_FORMAT
public static final int TYPE_COLOR
| Constructor Detail |
|---|
public ParameterDefinition(String name,
int type,
boolean list,
boolean optional,
Object defaultValue)
name - The parameter name.type - The parameter type.list - The list flag.optional - The optional flag.defaultValue - The parameter's default value.
public ParameterDefinition(String name,
int type,
boolean list,
boolean optional,
Object defaultValue,
String description)
name - The parameter name.type - The parameter type.list - The list flag.optional - The optional flag.defaultValue - The parameter's default value.description - The parameter description.| Method Detail |
|---|
public String getName()
public int getType()
public boolean isList()
public boolean isOptional()
public Object getDefaultValue()
public String getDescription()
public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||