blob: c7bbda49e7c2d3f1a8de8e3d650412e87ce5ee35 [file] [log] [blame]
package org.apache.taverna.biocatalogue.model;
import org.biocatalogue.x2009.xml.rest.ResourceLink;
import org.biocatalogue.x2009.xml.rest.impl.ResourceLinkImpl;
/**
* @author Sergejs Aleksejevs
*/
public class LoadingExpandedResource extends ResourceLinkImpl
{
private boolean nowLoading;
private ResourceLink associatedObj;
public LoadingExpandedResource(ResourceLink associatedObj)
{
super(ResourceLink.type);
this.associatedObj = associatedObj;
this.nowLoading = true;
}
public ResourceLink getAssociatedObj() {
return associatedObj;
}
public boolean isLoading() {
return (nowLoading);
}
public void setLoading(boolean isLoading) {
this.nowLoading = isLoading;
}
public String getHref() {
return (associatedObj.getHref());
}
public String getResourceName() {
return (associatedObj.getResourceName());
}
}