Date termination = null;
if (resource.hasCapability(WsrlConstants.SCHEDULED_TERMINATION_URI))
{
ScheduledTermination wsrl =
(ScheduledTermination)resource.getCapability(WsrlConstants.SCHEDULED_TERMINATION_URI);
termination = wsrl.getTerminationTime();
}
WsResource entry = addEntry(epr, null, termination);
//