37 lines
718 B
Java
37 lines
718 B
Java
/**
|
|
*
|
|
*/
|
|
package org.gcube.informationsystem.model.entity;
|
|
|
|
import org.gcube.informationsystem.model.relation.RelationProperty;
|
|
|
|
|
|
|
|
/**
|
|
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
|
*/
|
|
public interface Resource extends Entity {
|
|
|
|
|
|
public void addFacet(Facet facet);
|
|
|
|
public void addFacet(Facet facet, RelationProperty relationProperty);
|
|
|
|
|
|
public void attachFacet(Facet facet);
|
|
|
|
public void attachFacet(Facet facet, RelationProperty relationProperty);
|
|
|
|
public void detachFacet(Facet facet);
|
|
|
|
|
|
|
|
public void attachResource(Resource resource);
|
|
|
|
public void attachResource(Resource resource, RelationProperty relationProperty);
|
|
|
|
public void detachResource(Resource resource);
|
|
|
|
|
|
}
|