Interface TraitAssignment

All Superinterfaces:
Entity, Resource, Serializable

public interface TraitAssignment extends Resource
Represents a trait assignment.

A trait assignment is a collection of assigned characteristics which apply to a given scope which is represented by the reference to the asset type it refers and might be limited to some subset of communities and/or domains.

  • Method Details

    • getTrait

      Returns the reference to the trait the assignment applies to.
      Returns:
      the reference to the trait the assignment applies to
    • getCharacteristicTypes

      List<? extends AssignedCharacteristicType> getCharacteristicTypes()
      Returns the list of assigned characteristic types (attribute types, relation types and complex relation types).
      Returns:
      the list of assigned characteristic types (attribute types, relation types and complex relation types)
    • getScope

      Scope getScope()
      Returns the scope contained by the assignment.
      Returns:
      the scope contained by the assignment
    • getAssignedRelationTypes

      List<AssignedRelationType> getAssignedRelationTypes()
      Returns only assigned characteristic types which are relation types.
      Returns:
      the assigned characteristic types which are relation types