Class OCFConnectionRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.OCFConnectionRequestBody
OCFConnectionRequestBody carries the parameters for created a new asset.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.org.odpi.openmetadata.frameworks.connectors.properties.beans.ConnectionReturn the Connection object.Returns the short description of the asset from relationship with Connection.inthashCode()Return hash code based on properties.voidsetConnection(org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection connection) Set up the Connection object.voidsetShortDescription(String shortDescription) Set up the short description of the asset from relationship with Connection.toString()Standard toString method.
-
Constructor Details
-
OCFConnectionRequestBody
public OCFConnectionRequestBody()Default constructor -
OCFConnectionRequestBody
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
public org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection getConnection()Return the Connection object.- Returns:
- connection
-
setConnection
public void setConnection(org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection connection) Set up the Connection object.- Parameters:
connection- - connection object
-
toString
Standard toString method. -
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.
-