Class TopicProperties
java.lang.Object
org.odpi.openmetadata.accessservices.datamanager.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.datamanager.properties.AssetProperties
org.odpi.openmetadata.accessservices.datamanager.properties.DataSetProperties
org.odpi.openmetadata.accessservices.datamanager.properties.TopicProperties
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TopicRequestBody
TopicProperties is a class for representing a topic for an event broker or streaming service.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorTopicProperties(TopicProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the type of topic.inthashCode()Return hash code based on properties.voidsetTopicType(String topicType) Set up the type of topic.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.datamanager.properties.AssetProperties
getDescription, getDisplayName, getName, getVersionIdentifier, setDescription, setDisplayName, setName, setVersionIdentifierMethods inherited from class org.odpi.openmetadata.accessservices.datamanager.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
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
-
toString
Standard toString method.- Overrides:
toStringin 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:
equalsin classAssetProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classAssetProperties- Returns:
- int
-