|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbsh.Variable
public class Variable
| Method Summary | |
|---|---|
Modifiers |
getModifiers()
|
String |
getName()
|
Class |
getType()
A type of null means loosely typed variable |
String |
getTypeDescriptor()
|
boolean |
hasModifier(String name)
|
void |
setValue(Object value,
int context)
Set the value of the typed variable. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public void setValue(Object value,
int context)
throws UtilEvalError
value - should be an object or wrapped bsh Primitive type.
if value is null the appropriate default value will be set for the
type: e.g. false for boolean, zero for integer types.
UtilEvalErrorpublic Class getType()
public String getTypeDescriptor()
public Modifiers getModifiers()
public String getName()
public boolean hasModifier(String name)
public String toString()
toString in class Object
|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||