Interface IdentifierFacet

  • 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:
    IdentifierFacetImpl

    @TypeMetadata(name="IdentifierFacet",
                  description="IdentifierFacet captures information on identifiers (other than the ones automatically generated by the system) that can be attached to a resource.",
                  version="1.0.0")
    @Change(version="1.0.0",
            description="First Version")
    public interface IdentifierFacet
    extends org.gcube.informationsystem.model.reference.entities.Facet
    IdentifierFacet captures information on identifiers (other than the ones automatically generated by the system) that can be attached to a resource. https://wiki.gcube-system.org/gcube/GCube_Model#Identifier_Facet Changelog (only model changes are logged here. Not implementation details) - 1.0.1 Added STRING in IdentificationType enum. - 1.0.0 First version
    Author:
    Luca Frosini (ISTI - CNR)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String IDENTIFICATION_TYPE_PROPERTY  
      static String NAME  
      static String VALUE_PROPERTY  
      • 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 Instance Methods Abstract Methods 
      Modifier and Type Method Description
      IdentifierFacet.IdentificationType getIdentificationType()  
      String getValue()  
      boolean isPersistent()  
      void setIdentificationType​(IdentifierFacet.IdentificationType type)  
      void setPersistent​(boolean persistent)  
      void setValue​(String value)  
      • 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

      • getValue

        @ISProperty(name="value",
                    description="The identifier",
                    mandatory=true,
                    nullable=false)
        String getValue()
      • setValue

        void setValue​(String value)
      • getIdentificationType

        @ISProperty(name="identificationType",
                    description="The typology of identifier",
                    mandatory=true,
                    nullable=false)
        IdentifierFacet.IdentificationType getIdentificationType()
      • isPersistent

        @ISProperty(description="To indicate whether the identifier is persistent or not")
        boolean isPersistent()
      • setPersistent

        void setPersistent​(boolean persistent)