Added @Method annotation

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/information-system-model@129794 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2016-07-01 17:57:15 +00:00
parent 5559304455
commit d7ce4bbe8c
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@
*/
package org.gcube.informationsystem.model.relation;
import org.gcube.informationsystem.model.annotations.Method;
import org.gcube.informationsystem.model.embedded.RelationProperty;
import org.gcube.informationsystem.model.entity.Entity;
@ -11,8 +12,10 @@ import org.gcube.informationsystem.model.entity.Entity;
*/
public interface Relation<Out extends Entity, In extends Entity> {
@Method
public Out getSource();
@Method
public In getTarget();
public RelationProperty getRelationProperty();