|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--simkin.examples.person.Person
This program shows how a Simkin script can access fields and methods within any Java object
Field Summary | |
int |
Age
This is a public field - giving the person's age |
java.lang.String |
Name
This is a public field - giving the person's name |
Constructor Summary | |
Person()
|
Method Summary | |
static void |
main(java.lang.String[] a)
Entry point - executes the script |
void |
sayHello()
This is a public method - it can be called from Simkin |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String Name
public int Age
Constructor Detail |
public Person()
Method Detail |
public void sayHello()
public static void main(java.lang.String[] a)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |