return 0;
long result=0; try { setup(); if (this.status == ST_COLLECTION){ result = ((CollectionImpl)this.collection).getCreationTime().getTime(); }else if(this.status == ST_RESOURCE){ result = ((EXistResource)this.resource).getLastModificationTime().getTime(); } } catch (Exception e){ if (getLogger().isDebugEnabled()) { getLogger().debug("getLastModified() for " + resName + " from collection " + url + " failed: " + e.getMessage()); } } finally { cleanup(); } return result;
    public long getLastModified() {        return 0;    }