Package com.collibra.dgc.core.api.model.instance

# Interface Rating

All Superinterfaces:
  `Entity`, `Resource`, `Serializable`

public interface Rating extends Resource
Represents a rating

is an object which hold the rating with some comment assigned to asset.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `NamedResourceReference`
  `getAsset()`
  Gets the asset to which rating is assigned.
  `Double`
  `getRating()`
  Gets the rating value.
  `String`
  `getReview()`
  Gets the review value.

  ### Methods inherited from interface Entity

  `getId, setId`

  ### Methods inherited from interface Resource

  `getCreatedBy, getCreatedOn, getLastModifiedBy, getLastModifiedOn, getResourceType, isSystem`

- ## Method Details

  - ### getRating

    Double getRating()
    Gets the rating value.
    Returns:
      the rating value.

  - ### getReview

    String getReview()
    Gets the review value.
    Returns:
      the review value.

  - ### getAsset

    NamedResourceReference getAsset()
    Gets the asset to which rating is assigned.
    Returns:
      the asset.