Class ConnectionRequestBody
java.lang.Object
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.OCFOMASAPIRequestBody
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.ConnectionRequestBody
OCFConnectionRequestBody carries the parameters for created a new asset.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDefault constructorConnectionRequestBody
(ConnectionRequestBody 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 Connection object.Returns the short description of the asset from relationship with Connection.int
hashCode()
Return hash code based on properties.void
setConnection
(Connection connection) Set up the Connection object.void
setShortDescription
(String shortDescription) Set up the short description of the asset from relationship with Connection.toString()
Standard toString method.
-
Field Details
-
shortDescription
-
connection
-
-
Constructor Details
-
ConnectionRequestBody
public ConnectionRequestBody()Default constructor -
ConnectionRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getShortDescription
Returns the short description of the asset from relationship with Connection.- Returns:
- shortDescription String
-
setShortDescription
Set up the short description of the asset from relationship with Connection.- Parameters:
shortDescription
- String text
-
getConnection
Return the Connection object.- Returns:
- connection
-
setConnection
Set up the Connection object.- Parameters:
connection
- - connection object
-
toString
Standard toString method.- Overrides:
toString
in classOCFOMASAPIRequestBody
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-