Class ReHomeRequestBody
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.search.BasicOptions
org.odpi.openmetadata.frameworks.openmetadata.search.MetadataSourceOptions
org.odpi.openmetadata.frameworkservices.omf.rest.ReHomeRequestBody
- All Implemented Interfaces:
RequestIdService
ReHomeRequestBody provides a structure for passing the details of the new home metadata collection for a metadata
element or relationship that is being re-homed.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorReHomeRequestBody(MetadataSourceOptions template) Copy/clone constructorReHomeRequestBody(ReHomeRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.Return the unique identifier of the new home metadata collection/repository.Return the display name of the new home metadata collection/repository.inthashCode()Return hash code for this objectvoidsetNewHomeMetadataCollectionId(String newHomeMetadataCollectionId) Set up the unique identifier of the new home metadata collection/repository.voidsetNewHomeMetadataCollectionName(String newHomeMetadataCollectionName) Set up the display name of the new home metadata collection/repository.toString()JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.MetadataSourceOptions
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.BasicOptions
getEffectiveTime, getForDuplicateProcessing, getForLineage, getRequestId, setEffectiveTime, setForDuplicateProcessing, setForLineage, setRequestId
-
Constructor Details
-
ReHomeRequestBody
public ReHomeRequestBody()Default constructor -
ReHomeRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
ReHomeRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getNewHomeMetadataCollectionId
Return the unique identifier of the new home metadata collection/repository.- Returns:
- string identifier
-
setNewHomeMetadataCollectionId
Set up the unique identifier of the new home metadata collection/repository.- Parameters:
newHomeMetadataCollectionId- string identifier
-
getNewHomeMetadataCollectionName
Return the display name of the new home metadata collection/repository.- Returns:
- string name
-
setNewHomeMetadataCollectionName
Set up the display name of the new home metadata collection/repository.- Parameters:
newHomeMetadataCollectionName- string name
-
toString
JSON-style toString.- Overrides:
toStringin classMetadataSourceOptions- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equalsin classMetadataSourceOptions- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classMetadataSourceOptions- Returns:
- int hash code
-