Class IdentifierFacetImpl

  • All Implemented Interfaces:
    Serializable, org.gcube.informationsystem.base.reference.Element, org.gcube.informationsystem.base.reference.entities.EntityElement, org.gcube.informationsystem.base.reference.IdentifiableElement, org.gcube.informationsystem.base.reference.SchemaMixedElement, org.gcube.informationsystem.model.reference.entities.Entity, org.gcube.informationsystem.model.reference.entities.Facet, org.gcube.informationsystem.model.reference.ERElement, org.gcube.informationsystem.model.reference.ModelElement, IdentifierFacet

    public class IdentifierFacetImpl
    extends org.gcube.informationsystem.model.impl.entities.FacetImpl
    implements IdentifierFacet
    Implementation of IdentifierFacet.
    Author:
    Luca Frosini (ISTI - CNR)
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean persistent
      To indicate whether the identifier is persistent or not.
      protected String scheme
      The identification scheme.
      protected String value
      The identifier value.
      • Fields inherited from class org.gcube.informationsystem.model.impl.entities.FacetImpl

        additionalProperties, allowedAdditionalKeys
      • Fields inherited from class org.gcube.informationsystem.model.impl.entities.EntityImpl

        contexts, expectedType, supertypes
      • Fields inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl

        metadata, uuid
      • Fields inherited from interface org.gcube.informationsystem.base.reference.Element

        DATETIME_PATTERN, NAME, REDACTED, TYPE_PROPERTY, UNKNOWN_USER
      • Fields inherited from interface org.gcube.informationsystem.model.reference.entities.Entity

        NAME
      • Fields inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement

        NAME
      • Fields inherited from interface org.gcube.informationsystem.model.reference.ERElement

        CONTEXTS_PROPERTY
      • Fields inherited from interface org.gcube.informationsystem.model.reference.entities.Facet

        NAME
      • 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 Concrete Methods 
      Modifier and Type Method Description
      String getScheme()
      The identification scheme (e.g., "DOI", "ORCID", "SWHID", "UUID", "URI")
      String getValue()
      The identifier value
      boolean isPersistent()
      To indicate whether the identifier is persistent or not
      void setPersistent​(boolean persistent)
      Sets whether the identifier is persistent or not
      void setScheme​(String scheme)
      Sets the identification scheme
      void setValue​(String value)
      Sets the identifier value
      • Methods inherited from class org.gcube.informationsystem.model.impl.entities.FacetImpl

        addAllowedAdditionalKey, getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty
      • Methods inherited from class org.gcube.informationsystem.model.impl.entities.EntityImpl

        getContexts, getExpectedType, getSupertypes, setContexts
      • Methods inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl

        getID, getMetadata, setID, setMetadata
      • Methods inherited from class org.gcube.informationsystem.base.impl.ElementImpl

        getTypeName, toString
      • 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
    • Field Detail

      • value

        protected String value
        The identifier value.
      • scheme

        protected String scheme
        The identification scheme.
      • persistent

        protected boolean persistent
        To indicate whether the identifier is persistent or not.
    • Constructor Detail

      • IdentifierFacetImpl

        public IdentifierFacetImpl()
    • Method Detail

      • getScheme

        public String getScheme()
        Description copied from interface: IdentifierFacet
        The identification scheme (e.g., "DOI", "ORCID", "SWHID", "UUID", "URI")
        Specified by:
        getScheme in interface IdentifierFacet
        Returns:
        the identification scheme
      • setScheme

        public void setScheme​(String scheme)
        Description copied from interface: IdentifierFacet
        Sets the identification scheme
        Specified by:
        setScheme in interface IdentifierFacet
        Parameters:
        scheme - the identification scheme
      • isPersistent

        public boolean isPersistent()
        Description copied from interface: IdentifierFacet
        To indicate whether the identifier is persistent or not
        Specified by:
        isPersistent in interface IdentifierFacet
        Returns:
        true if the identifier is persistent, false otherwise
      • setPersistent

        public void setPersistent​(boolean persistent)
        Description copied from interface: IdentifierFacet
        Sets whether the identifier is persistent or not
        Specified by:
        setPersistent in interface IdentifierFacet
        Parameters:
        persistent - true if the identifier is persistent, false otherwise