demo1
Class NumberKeeper

java.lang.Object
demo1.NumberKeeper
- All Implemented Interfaces:
- com.ghettojedi.opp.aspect.concurrent.Concurrent, com.ghettojedi.opp.aspect.entity.Entity, java.io.Serializable, com.ghettojedi.opp.aspect.transaction.TransactionAware
- public class NumberKeeper
- extends java.lang.Object
- implements com.ghettojedi.opp.aspect.entity.Entity
The NumberKeeper and all its references are the prevalent system.
* i.e: They are the "business objects" and will be transparently persisted by Prevayler.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
numbers
private final java.util.List numbers
NumberKeeper
public NumberKeeper()
keep
public void keep(int nextNumber)
numbers
public java.util.List numbers()
lastNumber
public int lastNumber()