Class ResourceEndpoint


  • public class ResourceEndpoint
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceEndpoint()
      Default Constructor sets the properties to nulls
      ResourceEndpoint​(java.lang.String resourceCategory, java.lang.String platformName, java.lang.String resourceDescription, java.lang.String resourceRootURL, java.lang.String serverName, java.lang.String serverInstanceName)
      Constructor
      ResourceEndpoint​(ResourceEndpointConfig cfg)
      Config constructor - create a ResourceEndpoint from a ResourceEndpointConfig
    • Constructor Detail

      • ResourceEndpoint

        public ResourceEndpoint()
        Default Constructor sets the properties to nulls
      • ResourceEndpoint

        public ResourceEndpoint​(java.lang.String resourceCategory,
                                java.lang.String platformName,
                                java.lang.String resourceDescription,
                                java.lang.String resourceRootURL,
                                java.lang.String serverName,
                                java.lang.String serverInstanceName)
        Constructor
        Parameters:
        resourceCategory - resource category
        platformName - platform name
        resourceDescription - resource description
        resourceRootURL - resource root URL
        serverName - server anme
        serverInstanceName - server instance name
      • ResourceEndpoint

        public ResourceEndpoint​(ResourceEndpointConfig cfg)
        Config constructor - create a ResourceEndpoint from a ResourceEndpointConfig
        Parameters:
        cfg - resource end point configuration
    • Method Detail

      • getResourceCategory

        public java.lang.String getResourceCategory()
        get the resource category
        Returns:
        the resource caegory
      • setResourceCategory

        public void setResourceCategory​(java.lang.String resourceCategory)
        Set the resource category
        Parameters:
        resourceCategory - the resource category
      • getResourceDescription

        public java.lang.String getResourceDescription()
        Get the resource description
        Returns:
        resource description
      • setResourceDescription

        public void setResourceDescription​(java.lang.String resourceDescription)
        Set the resource description
        Parameters:
        resourceDescription - resource description
      • getResourceRootURL

        public java.lang.String getResourceRootURL()
        get the resource root URL
        Returns:
        resource root URL
      • setResourceRootURL

        public void setResourceRootURL​(java.lang.String resourceRootURL)
        set the resource root URL
        Parameters:
        resourceRootURL - resource root URL
      • getServerName

        public java.lang.String getServerName()
        get the server anme
        Returns:
        server name
      • setServerName

        public void setServerName​(java.lang.String serverName)
        Set the server name
        Parameters:
        serverName - server name
      • getPlatformName

        public java.lang.String getPlatformName()
        Get the platform name
        Returns:
        platform name
      • setPlatformName

        public void setPlatformName​(java.lang.String platformName)
        Set a meaningful name for the platform
        Parameters:
        platformName - set platform name
      • getServerInstanceName

        public java.lang.String getServerInstanceName()
        Get server instance name
        Returns:
        server instance name
      • setServerInstanceName

        public void setServerInstanceName​(java.lang.String serverInstanceName)
        set server instance name
        Parameters:
        serverInstanceName - name of server instance
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toString

        public java.lang.StringBuilder toString​(java.lang.StringBuilder sb)
        toString builder
        Parameters:
        sb - StringBuffer to build details in
        Returns:
        updated StringBuffer
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object