Class RegisteredOMAGService

  • All Implemented Interfaces:
    java.io.Serializable

    public class RegisteredOMAGService
    extends java.lang.Object
    implements java.io.Serializable
    RegisteredOMAGServicesResponse provides an object for returning information about a service that is registered with an OMAG Server Platform.
    See Also:
    Serialized Form
    • Constructor Detail

      • RegisteredOMAGService

        public RegisteredOMAGService()
        Default constructor
      • RegisteredOMAGService

        public RegisteredOMAGService​(RegisteredOMAGService template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getServiceId

        public int getServiceId()
        Return the component identifier used by the service
        Returns:
        int
      • setServiceId

        public void setServiceId​(int serviceId)
        Set up the component identifier used by the service.
        Parameters:
        serviceId - int
      • getServiceName

        public java.lang.String getServiceName()
        Return the default name for this service.
        Returns:
        String default name
      • setServiceName

        public void setServiceName​(java.lang.String serviceName)
        Set up the default name for this service.
        Parameters:
        serviceName - name
      • getServiceDevelopmentStatus

        public ComponentDevelopmentStatus getServiceDevelopmentStatus()
        Return the development status of the service.
        Returns:
        development status enum
      • setServiceDevelopmentStatus

        public void setServiceDevelopmentStatus​(ComponentDevelopmentStatus serviceDevelopmentStatus)
        Set up the development status of the service.
        Parameters:
        serviceDevelopmentStatus - development status
      • getServiceURLMarker

        public java.lang.String getServiceURLMarker()
        Return the string that appears in the REST API URL that identifies the owning service. Null means no REST APIs supported by this service.
        Returns:
        url fragment
      • setServiceURLMarker

        public void setServiceURLMarker​(java.lang.String serviceURLMarker)
        Set up the string that appears in the REST API URL that identifies the owning service. Null means no REST APIs supported by this service.
        Parameters:
        serviceURLMarker - url fragment
      • getServiceDescription

        public java.lang.String getServiceDescription()
        Return the default description for this service.
        Returns:
        String default description
      • setServiceDescription

        public void setServiceDescription​(java.lang.String serviceDescription)
        Set up the default description for this service.
        Parameters:
        serviceDescription - text
      • getServiceWiki

        public java.lang.String getServiceWiki()
        Return the URL for the wiki page describing this service.
        Returns:
        String URL name for the wiki page
      • setServiceWiki

        public void setServiceWiki​(java.lang.String serviceWiki)
        Set up the URL for the wiki page describing this service.
        Parameters:
        serviceWiki - URL
      • toString

        public java.lang.String toString()
        JSON-style toString
        Overrides:
        toString in class java.lang.Object
        Returns:
        return string containing the property names and values
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Return comparison result based on the content of the properties.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        objectToCompare - test object
        Returns:
        result of comparison
      • hashCode

        public int hashCode()
        Return hash code for this object
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        int hash code