Class ConnectionRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetowner.rest.AssetOwnerOMASAPIRequestBody
org.odpi.openmetadata.accessservices.assetowner.rest.ConnectionRequestBody
- All Implemented Interfaces:
Serializable
ConnectionRequestBody carries the parameters for created a new asset.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.odpi.openmetadata.frameworks.connectors.properties.beans.Connectionprotected String -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorConnectionRequestBody(ConnectionRequestBody template) Copy/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.
-
Field Details
-
shortDescription
-
connection
protected org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection 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
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.- Overrides:
toStringin classAssetOwnerOMASAPIRequestBody- 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.
-