Interface IsIdentifiedBy<S extends org.gcube.informationsystem.model.reference.entities.Resource,​T extends org.gcube.informationsystem.model.reference.entities.Facet>

  • All Superinterfaces:
    org.gcube.informationsystem.model.reference.relations.ConsistsOf<S,​T>, org.gcube.informationsystem.base.reference.Element, org.gcube.informationsystem.model.reference.ERElement, org.gcube.informationsystem.base.reference.IdentifiableElement, org.gcube.informationsystem.model.reference.ModelElement, org.gcube.informationsystem.model.reference.relations.Relation<S,​T>, org.gcube.informationsystem.base.reference.relations.RelationElement<S,​T>, org.gcube.informationsystem.base.reference.SchemaMixedElement, Serializable
    All Known Implementing Classes:
    IsIdentifiedByImpl

    @TypeMetadata(name="IsIdentifiedBy",
                  description="Each {@link GCubeResource} has been defined to have at least a facet linked with an IsIdentifiedBy relation. IsIdentifiedBy indicates that the target facet represents a sort of identification for the source resource. For instance, a software can consist of one or more {@link SoftwareFacet} but the one related with IsIdentifiedBy represents the identify of the software.",
                  version="1.0.0")
    @Change(version="1.0.0",
            description="First Version")
    public interface IsIdentifiedBy<S extends org.gcube.informationsystem.model.reference.entities.Resource,​T extends org.gcube.informationsystem.model.reference.entities.Facet>
    extends org.gcube.informationsystem.model.reference.relations.ConsistsOf<S,​T>
    Each GCubeResource has been defined to have at least a facet linked with an IsIdentifiedBy relation. IsIdentifiedBy indicates that the target facet represents a sort of identification for the source resource. For instance, a software can consist of one or more SoftwareFacet but the one related with IsIdentifiedBy represents the identify of the software. https://wiki.gcube-system.org/gcube/GCube_Model#IsIdentifiedBy
    Author:
    Luca Frosini (ISTI - CNR)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String NAME
      The name associated with this relation
      • 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 <S extends org.gcube.informationsystem.model.reference.entities.Resource,​T extends org.gcube.informationsystem.model.reference.entities.Facet>
      IsIdentifiedBy<S,​T>
      getDefaultInstance​(T in, S out)
      Returns a default instance of IsIdentifiedBy
      • 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 <S extends org.gcube.informationsystem.model.reference.entities.Resource,​T extends org.gcube.informationsystem.model.reference.entities.Facet> IsIdentifiedBy<S,​T> getDefaultInstance​(T in,
                                                                                                                                                                                                                 S out)
        Returns a default instance of IsIdentifiedBy
        Type Parameters:
        S - the source Resource
        T - the target Facet
        Parameters:
        in - the target Facet instance
        out - the source Resource instance
        Returns:
        a default instance of IsIdentifiedBy