Interface NameIF

All Superinterfaces:
TMObjectIF
All Known Subinterfaces:
MTopicName, MTopicNameWithoutTopic, MVariantName, TopicNameIF, VariantNameIF
All Known Implementing Classes:
ReadOnlyTopicName, ReadOnlyVariantName, SnapshotTopicName, SnapshotVariantName, TopicName, TopicName, VariantName, VariantName

public interface NameIF extends TMObjectIF
  • Method Details

    • getTopic

      TopicIF getTopic()
      PUBLIC: Gets the topic to which this name belongs.
      Returns:
      The topic named by this name; an object implementing TopicIF.
    • getValue

      String getValue()
      PUBLIC: Gets the value of this name. This corresponds to the content of the 'baseNameString' element in XTM 1.0, as a string. Where this method is implemented by an object implementing VariantNameIF, the contents of the 'variantName' element are returned instead.
      Returns:
      A string which is the value of this topic name.
    • setValue

      void setValue(String name)
      PUBLIC: Sets the value of this topic name. This corresponds to the content of the 'baseNameString' element in XTM 1.0, as a string. Where this method is implemented by an object implementing VariantNameIF, the contents of the 'variantName' element are returned instead.
      Parameters:
      name - A string which is the value of this topic name.