diff --git a/src/main/java/org/gcube/resourcemanagement/model/impl/relations/consistsof/IsIdentifiedByImpl.java b/src/main/java/org/gcube/resourcemanagement/model/impl/relations/consistsof/IsIdentifiedByImpl.java new file mode 100644 index 0000000..d8e0c42 --- /dev/null +++ b/src/main/java/org/gcube/resourcemanagement/model/impl/relations/consistsof/IsIdentifiedByImpl.java @@ -0,0 +1,35 @@ +/** + * + */ +package org.gcube.resourcemanagement.model.impl.relations.consistsof; + +import org.gcube.informationsystem.model.impl.relations.ConsistsOfImpl; +import org.gcube.informationsystem.model.reference.entities.Facet; +import org.gcube.informationsystem.model.reference.entities.Resource; +import org.gcube.informationsystem.model.reference.properties.PropagationConstraint; +import org.gcube.resourcemanagement.model.reference.relations.consistsof.IsIdentifiedBy; + +import com.fasterxml.jackson.annotation.JsonTypeName; + +/** + * @author Luca Frosini (ISTI - CNR) + */ +@JsonTypeName(value=IsIdentifiedBy.NAME) +public class IsIdentifiedByImpl extends + ConsistsOfImpl implements IsIdentifiedBy { + + /** + * Generated Serial Version UID + */ + private static final long serialVersionUID = 8043666054054911145L; + + protected IsIdentifiedByImpl(){ + super(); + } + + public IsIdentifiedByImpl(S source, T target, + PropagationConstraint propagationConstraint) { + super(source, target, propagationConstraint); + } + +} diff --git a/src/main/java/org/gcube/resourcemanagement/model/reference/relations/consistsof/IsIdentifiedBy.java b/src/main/java/org/gcube/resourcemanagement/model/reference/relations/consistsof/IsIdentifiedBy.java new file mode 100644 index 0000000..8ddaecc --- /dev/null +++ b/src/main/java/org/gcube/resourcemanagement/model/reference/relations/consistsof/IsIdentifiedBy.java @@ -0,0 +1,23 @@ +/** + * + */ +package org.gcube.resourcemanagement.model.reference.relations.consistsof; + +import org.gcube.informationsystem.model.reference.entities.Facet; +import org.gcube.informationsystem.model.reference.entities.Resource; +import org.gcube.informationsystem.model.reference.relations.ConsistsOf; +import org.gcube.resourcemanagement.model.impl.relations.consistsof.IsIdentifiedByImpl; + +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; + +/** + * @author Luca Frosini (ISTI - CNR) + * https://wiki.gcube-system.org/gcube/Facet_Based_Resource_Model#isIdentifiedBy + */ +@JsonDeserialize(as=IsIdentifiedByImpl.class) +public interface IsIdentifiedBy + extends ConsistsOf { + + public static final String NAME = "IsIdentifiedBy"; //IsIdentifiedBy.class.getSimpleName(); + +}