Class AccessPointFacetImpl

java.lang.Object
org.gcube.informationsystem.base.impl.ElementImpl
org.gcube.informationsystem.base.impl.entities.EntityElementImpl
org.gcube.informationsystem.model.impl.entities.EntityImpl
org.gcube.informationsystem.model.impl.entities.FacetImpl
org.gcube.resourcemanagement.model.impl.entities.facets.AccessPointFacetImpl
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, AccessPointFacet

public class AccessPointFacetImpl extends org.gcube.informationsystem.model.impl.entities.FacetImpl implements AccessPointFacet
Author:
Luca Frosini (ISTI - CNR)
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.gcube.informationsystem.model.reference.properties.Property
    Authorization information for the access point
    protected String
    A description of the access point
    protected URI
    The endpoint URI of the access point
    protected String
    The name of the access point entry
    protected String
    The protocol used by the access point

    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.resourcemanagement.model.reference.entities.facets.AccessPointFacet

    AUTHORIZATION_PROPERTY, ENDPOINT_PROPERTY, NAME

    Fields inherited from interface org.gcube.informationsystem.base.reference.Element

    DATETIME_PATTERN, NAME, TYPE_PROPERTY

    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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.gcube.informationsystem.model.reference.properties.Property
    Contains authorisation information. e.g., a token, the couple username:password, etc.
    A human-oriented text accompanying the access point
    The URI which characterises the specific endpoint instance.
    A distinguishing string to be used by clients to identify the access point of interest.
    The high-level protocol used by the access point.
    void
    setAuthorization(org.gcube.informationsystem.model.reference.properties.Property authorization)
    Sets the authorisation information. e.g., a token, the couple username:password, etc.
    void
    setDescription(String description)
    Sets a human-oriented text accompanying the access point.
    void
    setEndpoint(URI endpoint)
    Sets the URI which characterises the specific endpoint instance.
    void
    setEntryName(String entryName)
    Sets a distinguishing string to be used by clients to identify the access point of interest.
    void
    setProtocol(String protocol)
    Sets the high-level protocol used by the access point.

    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 class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    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 Details

    • entryName

      protected String entryName
      The name of the access point entry
    • endpoint

      protected URI endpoint
      The endpoint URI of the access point
    • protocol

      protected String protocol
      The protocol used by the access point
    • description

      protected String description
      A description of the access point
    • authorization

      protected org.gcube.informationsystem.model.reference.properties.Property authorization
      Authorization information for the access point
  • Constructor Details

    • AccessPointFacetImpl

      public AccessPointFacetImpl()
  • Method Details

    • getEntryName

      public String getEntryName()
      A distinguishing string to be used by clients to identify the access point of interest.
      Specified by:
      getEntryName in interface AccessPointFacet
      Returns:
      the entry name
    • setEntryName

      public void setEntryName(String entryName)
      Sets a distinguishing string to be used by clients to identify the access point of interest.
      Specified by:
      setEntryName in interface AccessPointFacet
      Parameters:
      entryName - the entry name
    • getEndpoint

      public URI getEndpoint()
      The URI which characterises the specific endpoint instance.
      Specified by:
      getEndpoint in interface AccessPointFacet
      Returns:
      the URI
    • setEndpoint

      public void setEndpoint(URI endpoint)
      Sets the URI which characterises the specific endpoint instance.
      Specified by:
      setEndpoint in interface AccessPointFacet
      Parameters:
      endpoint - the URI
    • getProtocol

      public String getProtocol()
      The high-level protocol used by the access point. The String could contain the version if needed. e.g., Web Map Service (WMS) and not HyperText Transfer Protocol (HTTP) which is already contained in the URI.
      Specified by:
      getProtocol in interface AccessPointFacet
      Returns:
      the protocol
    • setProtocol

      public void setProtocol(String protocol)
      Sets the high-level protocol used by the access point.
      Specified by:
      setProtocol in interface AccessPointFacet
      Parameters:
      protocol - the protocol
    • getDescription

      public String getDescription()
      A human-oriented text accompanying the access point
      Specified by:
      getDescription in interface AccessPointFacet
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Sets a human-oriented text accompanying the access point.
      Specified by:
      setDescription in interface AccessPointFacet
      Parameters:
      description - the description
    • getAuthorization

      public org.gcube.informationsystem.model.reference.properties.Property getAuthorization()
      Contains authorisation information. e.g., a token, the couple username:password, etc.
      Specified by:
      getAuthorization in interface AccessPointFacet
      Returns:
      the authorization
    • setAuthorization

      public void setAuthorization(org.gcube.informationsystem.model.reference.properties.Property authorization)
      Sets the authorisation information. e.g., a token, the couple username:password, etc.
      Specified by:
      setAuthorization in interface AccessPointFacet
      Parameters:
      authorization - the authorization