Interface Assignment
- All Superinterfaces:
Entity
,Resource
,Serializable
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 Summary
Modifier and TypeMethodDescriptionReturns the list of articulation rules applying with the assignment.Returns the reference to the asset type the assignment applies to.Returns only assigned characteristic types which are attribute types.Returns only assigned characteristic types which are complex relation types.Returns only assigned characteristic types which are relation types.Returns the inheritances stemming from assignments applied to ancestors of the asset type of this assignment.List
<? extends AssignedCharacteristicType> Returns the list of assigned characteristic types (attribute types, relation types and complex relation types).Deprecated.This method will be removed in the future.Returns theid
of the default status.Returns the list of references to domain types applying with the assignment.getScope()
Returns the scope contained by the assignment.Returns the list of references to the statuses.Returns the inheritances stemming from traits applied to the asset type of this assignment.Returns the list of references to validation rules applying with the assignment.Methods inherited from interface Resource
getCreatedBy, getCreatedOn, getLastModifiedBy, getLastModifiedOn, getResourceType, isSystem
-
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
List<NamedDescribedResourceReference> getStatuses()Returns the list of references to the statuses.- Returns:
- the list of references to the statuses
-
getDefaultStatusId
UUID getDefaultStatusId()Returns theid
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
List<NamedDescribedResourceReference> 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
-