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:
parent
5559304455
commit
d7ce4bbe8c
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue