public void bornAgent(PlatformEvent ev) {
ContainerID cid = ev.getContainer();
AID agentID = ev.getAgent();
String ownership = ev.getNewOwnership();
BornAgent ba = new BornAgent();
ba.setAgent(agentID);
ba.setWhere(cid);
ba.setState(AMSAgentDescription.ACTIVE);
ba.setOwnership(ownership);
ba.setClassName((String) agentID.getAllUserDefinedSlot().get(AID.AGENT_CLASSNAME));
EventRecord er = new EventRecord(ba, localContainer);
er.setWhen(ev.getTime());
eventQueue.put(er);
}