Class Platform


  • public class Platform
    extends java.lang.Object
    • Constructor Detail

      • Platform

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

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

      • 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
      • getPlatformDescription

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

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

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

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

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

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

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

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

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

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

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

        public void setViewServices​(java.util.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 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