### *** This class provides Binary Compatibility only, not Source Compatibility ***

Package com.sas.services.information

# Class MetadataChangeEvent

java.lang.Object
com.sas.services.information.MetadataChangeEvent

All Implemented Interfaces:
  `Serializable`

@SASScope("ALL") @BinaryCompatibilityOnly public class MetadataChangeEvent extends Object implements Serializable
This event is used by the repository instances to keep their caches synchronized. If a repository updates information in the backend repository, they notify the Information Service which then notifies all the other repository instances that are interested in changes to the data item.

Since:
  1.0
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MetadataChangeEvent(String url, String repositoryId)`
  Construct a new event.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getRepositoryId()`
  Get the repository ID of the object that was changed.
  `String`
  `getUrl()`
  Get the URL of the repository that updated the data.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MetadataChangeEvent

    public MetadataChangeEvent(String url, String repositoryId)
    Construct a new event.

    Parameters:
      `url` - The URL of the repository that changed the data.
      `repositoryId` - The ID of the object that changed.

- ## Method Details

  - ### getUrl

    public String getUrl()
    Get the URL of the repository that updated the data.

    Returns:
      The repository URL.

  - ### getRepositoryId

    public String getRepositoryId()
    Get the repository ID of the object that was changed.

    Returns:
      The object repsitory ID.