Direct Known Subclasses:
TopicRequestBody

public class TopicProperties extends DataSetProperties
TopicProperties is a class for representing a topic for an event broker or streaming service.
  • Constructor Details

    • TopicProperties

      public TopicProperties()
      Default constructor
    • TopicProperties

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

    • getTopicType

      public 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(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
    • getTopicName

      public String getTopicName()
      Return the name of topic.
      Returns:
      name
    • setTopicName

      public void setTopicName(String topicName)
      Set up the name of topic.
      Parameters:
      topicName - name
    • toString

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

      public boolean equals(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