Interface AppliedTrait
- All Superinterfaces:
Entity,Serializable
Represents a trait applied to an asset type.
-
Method Summary
Modifier and TypeMethodDescription@NotNull NamedResourceReferenceReturns the asset type the trait is applied to.@NotNull NamedResourceReferencegetTrait()Returns the trait applied to the asset type.booleanisSystem()Indicates whether the trait can be removed from the asset type.
-
Method Details
-
getAssetType
Returns the asset type the trait is applied to.- Returns:
- the asset type the trait is applied to
-
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
-