Class Platform


  • public class Platform
    extends Object
    • Constructor Detail

      • Platform

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

        public Platform​(String platformName,
                        String platformDescription)
        Constructor
        Parameters:
        platformName - platform name
        platformDescription - platform description
    • Method Detail

      • getPlatformName

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

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

        public String getPlatformDescription()
        Get the platform description
        Returns:
        platform description
      • setPlatformDescription

        public void setPlatformDescription​(String platformDescription)
        Set the description for the platform
        Parameters:
        platformDescription - set platform description
      • getStoredServers

        public Set<StoredServer> getStoredServers()
        Set the stored servers on this platform
        Returns:
        the stored servers on this platform
      • setStoredServers

        public void setStoredServers​(Set<StoredServer> storedServers)
        Get the stored servers on this platform
        Parameters:
        storedServers - servers
      • getAccessServices

        public List<RegisteredOMAGService> getAccessServices()
        Get the access services that this platform supports.
        Returns:
        access services supported by this platform
      • setAccessServices

        public void setAccessServices​(List<RegisteredOMAGService> accessServices)
        Set the access services that this platform supports.
        Parameters:
        accessServices - the access services that this platform supports.
      • getEngineServices

        public List<RegisteredOMAGService> getEngineServices()
        Get the engine services that this platform supports.
        Returns:
        engine services supported by this platform
      • setEngineServices

        public void setEngineServices​(List<RegisteredOMAGService> engineServices)
        Set the engine services that this platform supports.
        Parameters:
        engineServices - engine services that this platform supports.
      • getIntegrationServices

        public List<RegisteredOMAGService> getIntegrationServices()
        Get the integration services that this platform supports.
        Returns:
        integration services supported by this platform
      • setIntegrationServices

        public void setIntegrationServices​(List<RegisteredOMAGService> integrationServices)
        Set the integration services that this platform supports.
        Parameters:
        integrationServices - integration services that this platform supports.
      • getViewServices

        public List<RegisteredOMAGService> getViewServices()
        Get the view services that this platform supports.
        Returns:
        view services supported by this platform
      • setViewServices

        public void setViewServices​(List<RegisteredOMAGService> viewServices)
        Set the view services that this platform supports.
        Parameters:
        viewServices - the view services that this platform supports.
      • addStoredServer

        public void addStoredServer​(StoredServer storedServer)
        Add a stored server to the platform
        Parameters:
        storedServer - stored server to add
      • getPlatformStatus

        public PlatformStatus getPlatformStatus()
        return the status of the platform
        Returns:
        the returned platform status
      • setPlatformStatus

        public void setPlatformStatus​(PlatformStatus platformStatus)
        Set the platform status
        Parameters:
        platformStatus - platform status to set
      • toString

        public StringBuilder toString​(StringBuilder sb)
        toString builder
        Parameters:
        sb - StringBuffer to build details in
        Returns:
        updated StringBuffer
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object