Class OCFConnectionRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.OCFConnectionRequestBody
OCFConnectionRequestBody carries the parameters for created a new asset.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/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
-
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
Return the Connection object.- Returns:
- connection
-
setConnection
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.
-