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
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 Summary
Constructors Constructor Description TopicProperties()Default constructorTopicProperties(TopicProperties template)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetTopicType()Return the type of topic.inthashCode()Return has code based on properties.voidsetTopicType(String topicType)Set up the type of topic.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.datamanager.properties.AssetProperties
getDescription, getDisplayName, setDescription, setDisplayName
-
Methods inherited from class org.odpi.openmetadata.accessservices.datamanager.properties.ReferenceableProperties
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
-
-
-
Constructor Detail
-
TopicProperties
public TopicProperties()
Default constructor
-
TopicProperties
public TopicProperties(TopicProperties template)
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Detail
-
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
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classDataSetProperties- 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:
equalsin classAssetProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return has code based on properties.- Overrides:
hashCodein classAssetProperties- Returns:
- int
-
-