Interface AppliedTrait

All Superinterfaces:
Entity, Serializable

public interface AppliedTrait extends Entity
Represents a trait applied to an asset type.
  • 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