Class NewDiscoveryServiceRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.discoveryengine.rest.ODFOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.discoveryengine.rest.NewDiscoveryServiceRequestBody
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UpdateDiscoveryServiceRequestBody
public class NewDiscoveryServiceRequestBody extends ODFOMASAPIRequestBody
NewDiscoveryServiceRequestBody provides a structure for passing the properties of a new discovery service as a request body over a REST API.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NewDiscoveryServiceRequestBody()Default constructorNewDiscoveryServiceRequestBody(NewDiscoveryServiceRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.ConnectiongetConnection()Return the connection used to create a instance of this discovery service.StringgetDescription()Return the description of the discovery engine.StringgetDisplayName()Return the display name for messages and UI.StringgetQualifiedName()Returns the stored qualified name property for the metadata entity.inthashCode()Return hash code for this objectvoidsetConnection(Connection connection)Set up the connection used to create a instance of this discovery service.voidsetDescription(String description)Set up the description of the discovery engine.voidsetDisplayName(String displayName)Set up the display name for messages and UI.voidsetQualifiedName(String qualifiedName)Set up the fully qualified name.StringtoString()JSON-style toString.
-
-
-
Constructor Detail
-
NewDiscoveryServiceRequestBody
public NewDiscoveryServiceRequestBody()
Default constructor
-
NewDiscoveryServiceRequestBody
public NewDiscoveryServiceRequestBody(NewDiscoveryServiceRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
setQualifiedName
public void setQualifiedName(String qualifiedName)
Set up the fully qualified name.- Parameters:
qualifiedName- String name
-
getQualifiedName
public String getQualifiedName()
Returns the stored qualified name property for the metadata entity. If no qualified name is available then the empty string is returned.- Returns:
- qualifiedName
-
getDisplayName
public String getDisplayName()
Return the display name for messages and UI.- Returns:
- string name
-
setDisplayName
public void setDisplayName(String displayName)
Set up the display name for messages and UI.- Parameters:
displayName- string name
-
getDescription
public String getDescription()
Return the description of the discovery engine.- Returns:
- string description
-
setDescription
public void setDescription(String description)
Set up the description of the discovery engine.- Parameters:
description- string
-
getConnection
public Connection getConnection()
Return the connection used to create a instance of this discovery service.- Returns:
- Connection object
-
setConnection
public void setConnection(Connection connection)
Set up the connection used to create a instance of this discovery service.- Parameters:
connection- connection object
-
toString
public String toString()
JSON-style toString.- Overrides:
toStringin classODFOMASAPIRequestBody- Returns:
- list of properties and their values.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
-
-