Class MetadataCollectionIdRequest
java.lang.Object
org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
org.odpi.openmetadata.repositoryservices.rest.properties.MetadataCollectionIdRequest
- All Implemented Interfaces:
RequestIdService
MetadataCollectionIdRequest is the request structure used on the OMRS REST API calls that use the home metadata collection id as
a validator/originator for the request.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the metadata collection id for the local repository.inthashCode()Create a hash code for this element type.voidsetMetadataCollectionId(String metadataCollectionId) Set up the metadata collection id for the local repository.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
getRequestId, setRequestId
-
Constructor Details
-
MetadataCollectionIdRequest
public MetadataCollectionIdRequest()Default constructor -
MetadataCollectionIdRequest
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getMetadataCollectionId
Return the metadata collection id for the local repository.- Returns:
- string id
-
setMetadataCollectionId
Set up the metadata collection id for the local repository.- Parameters:
metadataCollectionId- string id
-
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
-