Class EntityDetailRequest
java.lang.Object
org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
org.odpi.openmetadata.repositoryservices.rest.properties.EntityDetailRequest
- All Implemented Interfaces:
RequestIdService
EntityDetailRequest describes the response structure for an OMRS REST API that sends
an EntityDetail object.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorEntityDetailRequest(EntityDetailRequest template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the resulting entity object.inthashCode()Create a hash code for this element type.voidsetEntity(EntityDetail entity) Set up the resulting entity object.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
getRequestId, setRequestId
-
Constructor Details
-
EntityDetailRequest
public EntityDetailRequest()Default constructor -
EntityDetailRequest
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getEntity
Return the resulting entity object.- Returns:
- entity object
-
setEntity
Set up the resulting entity object.- Parameters:
entity- entity object
-
toString
Standard toString method.- Overrides:
toStringin classOMRSAPIRequest- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classOMRSAPIRequest- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCodein classOMRSAPIRequest- Returns:
- int hash code
-