Interface LicenseFacet

  • All Superinterfaces:
    org.gcube.informationsystem.base.reference.Element, org.gcube.informationsystem.model.reference.entities.Entity, org.gcube.informationsystem.base.reference.entities.EntityElement, org.gcube.informationsystem.model.reference.ERElement, org.gcube.informationsystem.model.reference.entities.Facet, org.gcube.informationsystem.base.reference.IdentifiableElement, org.gcube.informationsystem.model.reference.ModelElement, org.gcube.informationsystem.base.reference.SchemaMixedElement, Serializable
    All Known Implementing Classes:
    LicenseFacetImpl

    @TypeMetadata(name="LicenseFacet",
                  description="LicenseFacet captures information on any license associated with the  resource to capture the policies governing its exploitation and use. Example of use is the licence of a dataset e.g., Creative Commons Attribution (CC-BY) or the licence of software such as GPL. This facet is used to provide for human knowledge, but it is not excluded the usage by infrastructure services which enforces the respect of the licence e.g., a service which denies the usage of a dataset with Creative Commons Attribution No-Derivatives (CC-BY-ND)licence to produce a new dataset.",
                  version="1.0.0")
    @Change(version="1.0.0",
            description="First Version")
    public interface LicenseFacet
    extends org.gcube.informationsystem.model.reference.entities.Facet
    LicenseFacet captures information on any license associated with the resource to capture the policies governing its exploitation and use. Example of use is the licence of a dataset e.g., Creative Commons Attribution (CC-BY) or the licence of software such as GPL. This facet is used to provide for human knowledge, but it is not excluded the usage by infrastructure services which enforces the respect of the licence e.g., a service which denies the usage of a dataset with Creative Commons Attribution No-Derivatives (CC-BY-ND) licence to produce a new dataset. https://wiki.gcube-system.org/gcube/GCube_Model#License_Facet
    Author:
    Luca Frosini (ISTI - CNR)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String NAME
      The name associated with this facet
      • 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
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      static LicenseFacet getDefaultInstance()
      Returns a default instance of LicenseFacet
      String getName()
      The common name of the license.
      URL getTextURL()
      The URL to the actual text of the license.
      void setName​(String name)
      Sets the common name of the license.
      void setTextURL​(URL textURL)
      Sets the URL to the actual text of the license.
      • Methods inherited from interface org.gcube.informationsystem.base.reference.Element

        getTypeName
      • Methods inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement

        getID, getMetadata, setID, setMetadata
      • Methods inherited from interface org.gcube.informationsystem.model.reference.ERElement

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

        getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty
      • Methods inherited from interface org.gcube.informationsystem.model.reference.ModelElement

        getExpectedtype, getSupertypes
    • Method Detail

      • getDefaultInstance

        static LicenseFacet getDefaultInstance()
        Returns a default instance of LicenseFacet
        Returns:
        a default instance of LicenseFacet
      • getName

        @ISProperty(description="The common name of the license. e.g., European Union Public Licence (EUPL) 1.1, GNU General Public License (GPL) 2, Berkeley Software Distribution (BSD), Common Creative (CC).",
                    mandatory=true,
                    nullable=false)
        String getName()
        The common name of the license. e.g., European Union Public Licence (EUPL) 1.1, GNU General Public License (GPL) 2, Berkeley Software Distribution (BSD), Common Creative (CC
        Returns:
        the name
      • setName

        void setName​(String name)
        Sets the common name of the license.
        Parameters:
        name - the name
      • getTextURL

        @ISProperty(description="The URL to the actual text of the license.",
                    mandatory=true,
                    nullable=false)
        URL getTextURL()
        The URL to the actual text of the license.
        Returns:
        the textURL
      • setTextURL

        void setTextURL​(URL textURL)
        Sets the URL to the actual text of the license.
        Parameters:
        textURL - the textURL