com.objectwave.persist.bcel.examples
Class Person
java.lang.Object
|
+--com.objectwave.persist.bcel.examples.Person
- public class Person
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected java.lang.String name
age
protected short age
employee
protected Employee employee
Person
public Person()
setEmployee
public void setEmployee(Employee emp)
getEmployee
public Employee getEmployee()
setName
public void setName(java.lang.String per)
getName
public java.lang.String getName()
getAge
public short getAge()
setAge
public void setAge(short value)
generateAge
public void generateAge()
newInstance
public Person newInstance()
- While not required, adding a method like this to your class can
help simplify the coding. This will allow you to create type
specific factories when creating new instances.
- See Also:
BcelTest