31 lines
875 B
Java
31 lines
875 B
Java
/**
|
|
*
|
|
*/
|
|
package org.gcube.informationsystem.impl.relation;
|
|
|
|
import org.gcube.informationsystem.impl.entity.ResourceImpl;
|
|
import org.gcube.informationsystem.model.annotations.ISRelation;
|
|
import org.gcube.informationsystem.model.entity.Resource;
|
|
import org.gcube.informationsystem.model.relation.RelatedTo;
|
|
import org.gcube.informationsystem.model.relation.RelationProperty;
|
|
|
|
/**
|
|
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
|
*
|
|
*/
|
|
@ISRelation(name="RelatedTo", out=ResourceImpl.class, in=ResourceImpl.class)
|
|
public class RelatedToImpl<Out extends Resource, In extends Resource> extends
|
|
RelationImpl<Out, In> implements RelatedTo<Out, In> {
|
|
|
|
/**
|
|
* @param source
|
|
* @param target
|
|
* @param relationProperty
|
|
*/
|
|
public RelatedToImpl(Out source, In target,
|
|
RelationProperty relationProperty) {
|
|
super(source, target, relationProperty);
|
|
}
|
|
|
|
}
|