simkin.examples.person
Class Person

java.lang.Object
  |
  +--simkin.examples.person.Person

public class Person
extends java.lang.Object

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

Name

public java.lang.String Name
This is a public field - giving the person's name


Age

public int Age
This is a public field - giving the person's age

Constructor Detail

Person

public Person()
Method Detail

sayHello

public void sayHello()
This is a public method - it can be called from Simkin


main

public static void main(java.lang.String[] a)
Entry point - executes the script