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
FieldsModifier and TypeFieldDescriptionprotected org.gcube.informationsystem.model.reference.properties.PropertyAuthorization information for the access pointprotected StringA description of the access pointprotected URIThe endpoint URI of the access pointprotected StringThe name of the access point entryprotected StringThe protocol used by the access pointFields inherited from class org.gcube.informationsystem.model.impl.entities.FacetImpl
additionalProperties, allowedAdditionalKeysFields inherited from class org.gcube.informationsystem.model.impl.entities.EntityImpl
contexts, expectedtype, supertypesFields inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl
metadata, uuidFields inherited from interface org.gcube.resourcemanagement.model.reference.entities.facets.AccessPointFacet
AUTHORIZATION_PROPERTY, ENDPOINT_PROPERTY, NAMEFields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, NAME, TYPE_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.entities.Entity
NAMEFields inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
NAMEFields inherited from interface org.gcube.informationsystem.model.reference.ERElement
CONTEXTS_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.entities.Facet
NAMEFields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
ID_PROPERTY, METADATA_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.gcube.informationsystem.model.reference.properties.PropertyContains authorisation information. e.g., a token, the couple username:password, etc.A human-oriented text accompanying the access pointThe 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.voidsetAuthorization(org.gcube.informationsystem.model.reference.properties.Property authorization) Sets the authorisation information. e.g., a token, the couple username:password, etc.voidsetDescription(String description) Sets a human-oriented text accompanying the access point.voidsetEndpoint(URI endpoint) Sets the URI which characterises the specific endpoint instance.voidsetEntryName(String entryName) Sets a distinguishing string to be used by clients to identify the access point of interest.voidsetProtocol(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, setAdditionalPropertyMethods inherited from class org.gcube.informationsystem.model.impl.entities.EntityImpl
getContexts, getExpectedtype, getSupertypes, setContextsMethods inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl
getID, getMetadata, setID, setMetadataMethods inherited from class org.gcube.informationsystem.base.impl.ElementImpl
getTypeName, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeNameMethods inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
getID, getMetadata, setID, setMetadataMethods inherited from interface org.gcube.informationsystem.model.reference.ERElement
getContextsMethods inherited from interface org.gcube.informationsystem.model.reference.entities.Facet
getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalPropertyMethods inherited from interface org.gcube.informationsystem.model.reference.ModelElement
getExpectedtype, getSupertypes
-
Field Details
-
entryName
The name of the access point entry -
endpoint
The endpoint URI of the access point -
protocol
The protocol used by the access point -
description
A description of the access point -
authorization
protected org.gcube.informationsystem.model.reference.properties.Property authorizationAuthorization information for the access point
-
-
Constructor Details
-
AccessPointFacetImpl
public AccessPointFacetImpl()
-
-
Method Details
-
getEntryName
A distinguishing string to be used by clients to identify the access point of interest.- Specified by:
getEntryNamein interfaceAccessPointFacet- Returns:
- the entry name
-
setEntryName
Sets a distinguishing string to be used by clients to identify the access point of interest.- Specified by:
setEntryNamein interfaceAccessPointFacet- Parameters:
entryName- the entry name
-
getEndpoint
The URI which characterises the specific endpoint instance.- Specified by:
getEndpointin interfaceAccessPointFacet- Returns:
- the URI
-
setEndpoint
Sets the URI which characterises the specific endpoint instance.- Specified by:
setEndpointin interfaceAccessPointFacet- Parameters:
endpoint- the URI
-
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:
getProtocolin interfaceAccessPointFacet- Returns:
- the protocol
-
setProtocol
Sets the high-level protocol used by the access point.- Specified by:
setProtocolin interfaceAccessPointFacet- Parameters:
protocol- the protocol
-
getDescription
A human-oriented text accompanying the access point- Specified by:
getDescriptionin interfaceAccessPointFacet- Returns:
- the description
-
setDescription
Sets a human-oriented text accompanying the access point.- Specified by:
setDescriptionin interfaceAccessPointFacet- 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:
getAuthorizationin interfaceAccessPointFacet- 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:
setAuthorizationin interfaceAccessPointFacet- Parameters:
authorization- the authorization
-