Class ConnectionRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
-
- org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectionRequestBody
-
- All Implemented Interfaces:
Serializable
public class ConnectionRequestBody extends UpdateRequestBody
ConnectionRequestBody describes the request body used to create/update connection properties.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConnectionRequestBody()Default constructorConnectionRequestBody(ConnectionRequestBody template)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.ConnectionPropertiesgetElementProperties()Return the properties for the element.inthashCode()Return hash code for this objectvoidsetElementProperties(ConnectionProperties elementProperties)Set up the properties for the element.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
getEffectiveTime, getMetadataCorrelationProperties, setEffectiveTime, setMetadataCorrelationProperties
-
-
-
-
Constructor Detail
-
ConnectionRequestBody
public ConnectionRequestBody()
Default constructor
-
ConnectionRequestBody
public ConnectionRequestBody(ConnectionRequestBody template)
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Detail
-
getElementProperties
public ConnectionProperties getElementProperties()
Return the properties for the element.- Returns:
- properties object
-
setElementProperties
public void setElementProperties(ConnectionProperties elementProperties)
Set up the properties for the element.- Parameters:
elementProperties- properties object
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classUpdateRequestBody- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.- Overrides:
equalsin classUpdateRequestBody- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classUpdateRequestBody- Returns:
- int hash code
-
-