| Previous | Next | WireHose Developers Guide |


import com.wirehose.base.*;
public class RSSFeed extends com.wirehose.base.WHConcreteResource
lastFetchDate in the past:
public void awakeFromInsertion(EOEditingContext ec) {
super.awakeFromInsertion(ec);
setLastFetchDate(new NSTimestamp(0));
setLastFetchWasInvalid(false);
}public boolean lastFetchWasInvalid() {
return WHEnterpriseObject.storedBooleanValueForKey(this, "lastFetchInvalid");
}
public void setLastFetchWasInvalid(boolean value) {
WHEnterpriseObject.takeStoredBooleanValueForKey(this, value, "lastFetchInvalid");
}lastFetchValid and
setLastFetchValid methods so they accept and return
instances of java.lang.Object:
public Object lastFetchInvalid() {
return storedValueForKey("lastFetchInvalid");
}
public void setLastFetchInvalid(Object value) {
takeStoredValueForKey(value, "lastFetchInvalid");
}

Copyright ©2000-2003 Gary Teter. All rights reserved. WireHose is a trademark of Gary Teter.