|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.infoengine.object.factory.Param
public class Param
| Field Summary | |
|---|---|
static java.lang.String |
DATA
|
static int |
KEY
|
static java.lang.String[] |
TYPES
|
static int |
UNKNOWN
|
static int |
VALUE
|
| Constructor Summary | |
|---|---|
Param(IeAtt att)
Constructs a parameter wrapper around an existing set of meta. |
|
Param(java.lang.String name,
int type)
Constructs a named parameter without a value. |
|
Param(java.lang.String name,
int type,
java.lang.String data)
Constructs a named parameter with a value. |
|
Param(java.lang.String name,
java.lang.String data)
Constructs a named parameter without a type. |
|
Param(java.lang.String name,
java.lang.String type,
java.lang.String data)
Constructs a named parameter with a value. |
|
| Method Summary | |
|---|---|
java.util.Enumeration |
applyBinding(Task task)
Bind this parameter to variable substitutions in the context of a specified task, and return the resulting value. |
java.lang.Object |
clone()
Creates a shallow copy of this parameter. |
java.lang.String |
getData()
Returns the value of this parameter. |
java.lang.String |
getDefault()
Returns this parameter's default value. |
java.lang.String |
getDelim()
Returns this parameter's delimiter (DELIM) value. |
java.lang.String |
getElementSeparator()
Returns this parameter's element separator value. |
java.lang.String |
getName()
Returns this parameter's name. |
int |
getType()
Returns this parameter's type. |
java.lang.String |
getValueSeparator()
Returns this parameter's value separator value. |
void |
printTree()
Prints the structure of the parameter to System.out. |
void |
setData(java.lang.String value)
Sets the value of this parameter. |
void |
setDefault(java.lang.String value)
Sets this parameter's default value. |
void |
setDelim(java.lang.String value)
Sets this parameter's delimiter (DELIM) value. |
void |
setElementSeparator(java.lang.String value)
Sets this parameter's element separator value. |
void |
setName(java.lang.String name)
Sets this parameter's name. |
void |
setType(int type)
Sets this parameter's type. |
void |
setType(java.lang.String type)
Sets this parameter's type. |
void |
setValueSeparator(java.lang.String value)
Sets this parameter's value separator value. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DATA
public static final java.lang.String[] TYPES
public static final int UNKNOWN
public static final int KEY
public static final int VALUE
| Constructor Detail |
|---|
public Param(java.lang.String name,
java.lang.String type,
java.lang.String data)
name - the name of the parametertype - the type of the parameterdata - the value of the parameter
public Param(java.lang.String name,
int type,
java.lang.String data)
name - the name of the parametertype - the type of the parameterdata - the value of the parameter
public Param(java.lang.String name,
int type)
name - the name of the parametertype - the type of the parameter
public Param(java.lang.String name,
java.lang.String data)
name - the name of the parameterdata - the value of the parameterpublic Param(IeAtt att)
att - an Info*Engine attribute object| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - The parameter's new name.public java.lang.String getDefault()
public void setDefault(java.lang.String value)
value - The parameter's new default value.public java.lang.String getDelim()
public void setDelim(java.lang.String value)
value - The parameter's new default value.public java.lang.String getElementSeparator()
public void setElementSeparator(java.lang.String value)
value - The parameter's new element separator value.public java.lang.String getValueSeparator()
public void setValueSeparator(java.lang.String value)
value - The parameter's new value separator value.public java.util.Enumeration applyBinding(Task task)
task - The task providing the binding context
public int getType()
public void setType(int type)
type - The parameter's new type.public void setType(java.lang.String type)
type - The parameter's new type.public java.lang.String getData()
public void setData(java.lang.String value)
value - This parameter's string value.public java.lang.Object clone()
clone in class java.lang.Objectpublic void printTree()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||