Class TopicProperties

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    TopicRequestBody

    public class TopicProperties
    extends DataSetProperties
    TopicProperties is a class for representing a topic for an event broker or streaming service.
    See Also:
    Serialized Form
    • Constructor Detail

      • TopicProperties

        public TopicProperties()
        Default constructor
      • TopicProperties

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

      • getTopicType

        public java.lang.String getTopicType()
        Return the type of topic. Often this the type of data that can be placed on the topic.
        Returns:
        type name
      • setTopicType

        public void setTopicType​(java.lang.String topicType)
        Set up the type of topic. Often this the type of data that can be placed on the topic.
        Parameters:
        topicType - type name
      • toString

        public java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class DataSetProperties
        Returns:
        print out of variables in a JSON-style
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class AssetProperties
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Return hash code based on properties.
        Overrides:
        hashCode in class AssetProperties
        Returns:
        int