Class MetadataCollectionIdResponse
- java.lang.Object
-
- org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIResponse
-
- org.odpi.openmetadata.repositoryservices.rest.properties.MetadataCollectionIdResponse
-
- All Implemented Interfaces:
Serializable
public class MetadataCollectionIdResponse extends OMRSAPIResponse
MetadataCollectionIdResponse is the response structure used on the OMRS REST API calls that return a String response.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIResponse
actionDescription, exceptionCausedBy, exceptionClassName, exceptionErrorMessage, exceptionErrorMessageId, exceptionErrorMessageParameters, exceptionProperties, exceptionSystemAction, exceptionUserAction, relatedHTTPCode
-
-
Constructor Summary
Constructors Constructor Description MetadataCollectionIdResponse()Default constructorMetadataCollectionIdResponse(MetadataCollectionIdResponse template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetMetadataCollectionId()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.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIResponse
getActionDescription, getExceptionCausedBy, getExceptionClassName, getExceptionErrorMessage, getExceptionErrorMessageId, getExceptionErrorMessageParameters, getExceptionProperties, getExceptionSystemAction, getExceptionUserAction, getRelatedHTTPCode, setActionDescription, setExceptionCausedBy, setExceptionClassName, setExceptionErrorMessage, setExceptionErrorMessageId, setExceptionErrorMessageParameters, setExceptionProperties, setExceptionSystemAction, setExceptionUserAction, setRelatedHTTPCode
-
-
-
-
Constructor Detail
-
MetadataCollectionIdResponse
public MetadataCollectionIdResponse()
Default constructor
-
MetadataCollectionIdResponse
public MetadataCollectionIdResponse(MetadataCollectionIdResponse template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getMetadataCollectionId
public String getMetadataCollectionId()
Return the metadata collection id for the local repository.- Returns:
- string id
-
setMetadataCollectionId
public void setMetadataCollectionId(String metadataCollectionId)
Set up the metadata collection id for the local repository.- Parameters:
metadataCollectionId- string id
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classOMRSAPIResponse- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classOMRSAPIResponse- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Create a hash code for this element type.- Overrides:
hashCodein classOMRSAPIResponse- Returns:
- int hash code
-
-