Interface Uses<Out extends EService,​In extends EService>

  • All Superinterfaces:
    CallsFor<Out,​In>, org.gcube.informationsystem.base.reference.Element, org.gcube.informationsystem.model.reference.ERElement, org.gcube.informationsystem.base.reference.IdentifiableElement, org.gcube.informationsystem.model.reference.relations.IsRelatedTo<Out,​In>, org.gcube.informationsystem.model.reference.ModelElement, org.gcube.informationsystem.model.reference.relations.Relation<Out,​In>, org.gcube.informationsystem.base.reference.relations.RelationElement<Out,​In>, org.gcube.informationsystem.base.reference.SchemaMixedElement, Serializable
    All Known Implementing Classes:
    UsesImpl

    @TypeMetadata(name="Uses",
                  description="Uses relation inform regarding the network invocation of the target{@link EService} by the source. Uses relation specialises the semantic of {@link CallsFor}.",
                  version="1.0.0")
    @Change(version="1.0.0",
            description="First Version")
    public interface Uses<Out extends EService,​In extends EService>
    extends CallsFor<Out,​In>
    Uses relation inform regarding the network invocation of the target EService by the source. Uses relation specialises the semantic of CallsFor. https://wiki.gcube-system.org/gcube/GCube_Model#Uses
    Author:
    Luca Frosini (ISTI - CNR)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String NAME
      The name of the Uses relation type.
      • Fields inherited from interface org.gcube.informationsystem.base.reference.Element

        DATETIME_PATTERN, TYPE_PROPERTY
      • Fields inherited from interface org.gcube.informationsystem.model.reference.ERElement

        CONTEXTS_PROPERTY
      • Fields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement

        ID_PROPERTY, METADATA_PROPERTY
      • Fields inherited from interface org.gcube.informationsystem.model.reference.ModelElement

        EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY
      • Fields inherited from interface org.gcube.informationsystem.model.reference.relations.Relation

        PROPAGATION_CONSTRAINT_PROPERTY
      • Fields inherited from interface org.gcube.informationsystem.base.reference.relations.RelationElement

        SOURCE_PROPERTY, TARGET_PROPERTY
    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static <Out extends EService,​In extends EService>
      Uses<Out,​In>
      getDefaultInstance​(Out out, In in)
      Returns a default instance of Uses
      • Methods inherited from interface org.gcube.informationsystem.base.reference.Element

        getTypeName
      • Methods inherited from interface org.gcube.informationsystem.model.reference.ERElement

        getContexts
      • Methods inherited from interface org.gcube.informationsystem.model.reference.ModelElement

        getExpectedtype, getSupertypes
      • Methods inherited from interface org.gcube.informationsystem.model.reference.relations.Relation

        getAdditionalProperties, getAdditionalProperty, getPropagationConstraint, getSource, getTarget, setAdditionalProperties, setAdditionalProperty, setPropagationConstraint, setSource, setTarget
      • Methods inherited from interface org.gcube.informationsystem.base.reference.relations.RelationElement

        getID, getMetadata, setID, setMetadata
    • Method Detail

      • getDefaultInstance

        static <Out extends EService,​In extends EServiceUses<Out,​In> getDefaultInstance​(Out out,
                                                                                                      In in)
        Returns a default instance of Uses
        Type Parameters:
        Out - the source EService
        In - the target EService
        Parameters:
        out - the source EService instance
        in - the target EService instance
        Returns:
        a default instance of Uses