}
+ private static final String RETRIEVE_FROM="RETRIEVE_FROM";
/**
* Permanent URI for retrieving the original structure data
* @param urlStr
*/
public void setRetrievalUrl(String urlStr)
{
- setProperty("RETRIEVE_FROM", urlStr);
+ setProperty(RETRIEVE_FROM, urlStr);
}
/**
* get the Permanent URI for retrieving the original structure data
*/
public String getRetrievalUrl()
{
- return (String) getProperty("RETRIEVE_FROM");
+ return (String) getProperty(RETRIEVE_FROM);
+ }
+
+ public boolean hasRetrievalUrl()
+ {
+ return (properties!=null && properties.containsKey(RETRIEVE_FROM));
}
}