Package com.collibra.dgc.core.api.model.meta.type

# Interface AppliedTrait

All Superinterfaces:
  `Entity`, `Serializable`

public interface AppliedTrait extends Entity
Represents a trait applied to an asset type.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `@NotNull NamedResourceReference`
  `getAssetType()`
  Returns the asset type the trait is applied to.
  `@NotNull NamedResourceReference`
  `getTrait()`
  Returns the trait applied to the asset type.
  `boolean`
  `isSystem()`
  Indicates whether the trait can be removed from the asset type.

  ### Methods inherited from interface Entity

  `getId, setId`

- ## Method Details

  - ### getAssetType

    @NotNull @NotNull NamedResourceReference getAssetType()
    Returns the asset type the trait is applied to.
    Returns:
      the asset type the trait is applied to

  - ### getTrait

    @NotNull @NotNull NamedResourceReference getTrait()
    Returns the trait applied to the asset type.
    Returns:
      the trait applied to the asset type

  - ### isSystem

    boolean isSystem()
    Indicates whether the trait can be removed from the asset type. If true, the trait cannot be removed.
    Returns:
      a boolean indicating whether the trait can be removed from the asset type