Interface Assignment

All Superinterfaces:
Entity, Resource, Serializable

public interface Assignment extends Resource
Represents an assignment

Assignment is a collection of rules and statuses which apply to 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

    • getAssetType

      NamedResourceReference getAssetType()
      Returns the reference to the asset type the assignment applies to.
      Returns:
      the reference to the asset type the assignment applies to
    • getStatuses

      Returns the list of references to the statuses.
      Returns:
      the list of references to the statuses
    • getDefaultStatusId

      UUID getDefaultStatusId()
      Returns the id of the default status.
      Returns:
      the id of the default status
    • 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)
    • getArticulationRules

      List<ArticulationRule> getArticulationRules()
      Returns the list of articulation rules applying with the assignment.
      Returns:
      the list of articulation rules applying with the assignment
    • getValidationRules

      List<NamedResourceReference> getValidationRules()
      Returns the list of references to validation rules applying with the assignment.
      Returns:
      the list of references to validation rules applying with the assignment
    • getDataQualityRules

      Deprecated.
      This method will be removed in the future.
      Returns the list of references to data quality rules applying with the assignment.
      Returns:
      the list of references to data quality rules applying with the assignment
    • getDomainTypes

      Returns the list of references to domain types applying with the assignment.
      Returns:
      the list of references to domain types applying with the assignment
    • 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
    • getAssignedAttributeTypes

      List<AssignedAttributeType> getAssignedAttributeTypes()
      Returns only assigned characteristic types which are attribute types.
      Returns:
      the assigned characteristic types which are attribute types
    • getAssignedComplexRelationTypes

      List<AssignedComplexRelationType> getAssignedComplexRelationTypes()
      Returns only assigned characteristic types which are complex relation types.
      Returns:
      the assigned characteristic types which are complex relation types
    • getAssignmentInheritances

      List<AssignmentInheritance> getAssignmentInheritances()
      Returns the inheritances stemming from assignments applied to ancestors of the asset type of this assignment.
      Returns:
      the inheritances stemming from assignments applied to ancestors of the asset type of this assignment
    • getTraitAssignmentInheritances

      List<TraitAssignmentInheritance> getTraitAssignmentInheritances()
      Returns the inheritances stemming from traits applied to the asset type of this assignment.
      Returns:
      the inheritances stemming from traits applied to the asset type of this assignment