Class ReHomeRequestBody

All Implemented Interfaces:
RequestIdService

public class ReHomeRequestBody extends MetadataSourceOptions
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 Details

    • ReHomeRequestBody

      public ReHomeRequestBody()
      Default constructor
    • ReHomeRequestBody

      public ReHomeRequestBody(ReHomeRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
    • ReHomeRequestBody

      public ReHomeRequestBody(MetadataSourceOptions template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getNewHomeMetadataCollectionId

      public String getNewHomeMetadataCollectionId()
      Return the unique identifier of the new home metadata collection/repository.
      Returns:
      string identifier
    • setNewHomeMetadataCollectionId

      public void setNewHomeMetadataCollectionId(String newHomeMetadataCollectionId)
      Set up the unique identifier of the new home metadata collection/repository.
      Parameters:
      newHomeMetadataCollectionId - string identifier
    • getNewHomeMetadataCollectionName

      public String getNewHomeMetadataCollectionName()
      Return the display name of the new home metadata collection/repository.
      Returns:
      string name
    • setNewHomeMetadataCollectionName

      public void setNewHomeMetadataCollectionName(String newHomeMetadataCollectionName)
      Set up the display name of the new home metadata collection/repository.
      Parameters:
      newHomeMetadataCollectionName - string name
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class MetadataSourceOptions
      Returns:
      list of properties and their values.
    • equals

      public boolean equals(Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      Overrides:
      equals in class MetadataSourceOptions
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class MetadataSourceOptions
      Returns:
      int hash code