Class OnLineResourceImpl

  • All Implemented Interfaces:
    Serializable, Cloneable, OnLineResource

    public class OnLineResourceImpl
    extends MetadataEntity
    implements OnLineResource
    Information about on-line sources from which the dataset, specification, or community profile name and extended metadata elements can be obtained.
    Since:
    2.1
    Author:
    Martin Desruisseaux (IRD), Touraïvane
    See Also:
    Serialized Form
    • Constructor Detail

      • OnLineResourceImpl

        public OnLineResourceImpl()
        Creates an initially empty on line resource.
      • OnLineResourceImpl

        public OnLineResourceImpl​(OnLineResource source)
        Constructs a metadata entity initialized with the values from the specified metadata.
        Since:
        2.4
      • OnLineResourceImpl

        public OnLineResourceImpl​(URI linkage)
        Creates an on line resource initialized to the given URI.
      • OnLineResourceImpl

        public OnLineResourceImpl​(OnlineResourceType onlineResource)
    • Method Detail

      • getApplicationProfile

        public String getApplicationProfile()
        Returns the name of an application profile that can be used with the online resource. Returns null if none.
        Specified by:
        getApplicationProfile in interface OnLineResource
        Returns:
        Application profile that can be used with the online resource, or null.
      • setApplicationProfile

        public void setApplicationProfile​(String newValue)
        Set the name of an application profile that can be used with the online resource.
      • getName

        public String getName()
        Name of the online resource. Returns null if none.
        Specified by:
        getName in interface OnLineResource
        Returns:
        Name of the online resource, or null.
        Since:
        2.4
      • setName

        public void setName​(String newValue)
        Set the name of the online resource.
        Since:
        2.4
      • getDescription

        public InternationalString getDescription()
        Returns the detailed text description of what the online resource is/does. Returns null if none.
        Specified by:
        getDescription in interface OnLineResource
        Returns:
        Text description of what the online resource is/does, or null.
      • setDescription

        public void setDescription​(InternationalString newValue)
        Set the detailed text description of what the online resource is/does.
      • getFunction

        public OnLineFunction getFunction()
        Returns the code for function performed by the online resource. Returns null if unspecified.
        Specified by:
        getFunction in interface OnLineResource
        Returns:
        Function performed by the online resource, or null.
      • setFunction

        public void setFunction​(OnLineFunction newValue)
        Set the code for function performed by the online resource.
      • getLinkage

        public URI getLinkage()
        Returns the location (address) for on-line access using a Uniform Resource Locator address or similar addressing scheme such as http://www.statkart.no/isotc211.
        Specified by:
        getLinkage in interface OnLineResource
        Returns:
        Location for on-line access using a Uniform Resource Locator address or similar scheme.
      • setLinkage

        public void setLinkage​(URI newValue)
        Set the location (address) for on-line access using a Uniform Resource Locator address or similar addressing scheme such as http://www.statkart.no/isotc211.
      • getProtocol

        public String getProtocol()
        Returns the connection protocol to be used. Returns null if none.
        Specified by:
        getProtocol in interface OnLineResource
        Returns:
        Connection protocol to be used, or null.