Class TopicProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.SupplementaryProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.assets.AssetProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.assets.DataAssetProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.assets.DataSetProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.assets.topics.TopicProperties
- Direct Known Subclasses:
TopicRequestBody
TopicProperties is a class for representing a topic for an event broker or streaming service.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.SupplementaryProperties
displayDescription, displayName
-
Constructor Summary
ConstructorDescriptionDefault constructorTopicProperties
(TopicProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the name of topic.Return the type of topic.int
hashCode()
Return hash code based on properties.void
setTopicName
(String topicName) Set up the name of topic.void
setTopicType
(String topicType) Set up the type of topic.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.assets.DataAssetProperties
cloneToAsset
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.assets.AssetProperties
cloneToAsset, getDeployedImplementationType, getDisplayDescription, getDisplayName, getName, getResourceDescription, getResourceName, getVersionIdentifier, setDeployedImplementationType, setName, setResourceDescription, setResourceName, setVersionIdentifier
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.SupplementaryProperties
getAbbreviation, getDisplaySummary, getUsage, setAbbreviation, setDisplayDescription, setDisplayName, setDisplaySummary, setUsage
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
Constructor Details
-
TopicProperties
public TopicProperties()Default constructor -
TopicProperties
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Details
-
getTopicType
Return the type of topic. Often this the type of data that can be placed on the topic.- Returns:
- type name
-
setTopicType
Set up the type of topic. Often this the type of data that can be placed on the topic.- Parameters:
topicType
- type name
-
getTopicName
Return the name of topic.- Returns:
- name
-
setTopicName
Set up the name of topic.- Parameters:
topicName
- name
-
toString
Standard toString method.- Overrides:
toString
in classDataSetProperties
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classAssetProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classAssetProperties
- Returns:
- int
-