All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface uhr.core.role.Replicatable

public interface Replicatable
A class may optionally implement this interface to indicate it can replicate itself.


Method Index

 o replicate()
The instance should replicate itself.

Methods

 o replicate
 public abstract Object replicate()
The instance should replicate itself. This is about half way between Java's "new" and "clone". The replication should include initialization state such as DK, but it should exclude current mission state, such as data read from a socket. This allows the replication to be used without the bother of initialization.

This is similar to life form reproduction. For example when a kitten is born, it has basic behavior and so is well initialized. But it lacks adult size and skills, and so lacks mission state.


All Packages  Class Hierarchy  This Package  Previous  Next  Index