Interface Assignment
-
public interface Assignment extends Resource
Represents an assignmentAssignment 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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description List<ArticulationRule>
getArticulationRules()
Returns the list of articulation rules applying with the assignment.NamedResourceReference
getAssetType()
Returns the reference to the asset type the assignment applies to.List<AssignedAttributeType>
getAssignedAttributeTypes()
Returns only assigned characteristic types which are attribute types.List<AssignedComplexRelationType>
getAssignedComplexRelationTypes()
Returns only assigned characteristic types which are complex relation types.List<AssignedRelationType>
getAssignedRelationTypes()
Returns only assigned characteristic types which are relation types.List<? extends AssignedCharacteristicType>
getCharacteristicTypes()
Returns the list of assigned characteristic types (attribute types, relation types and complex relation types).List<NamedDescribedResourceReference>
getDataQualityRules()
Deprecated.This method will be removed in the future.UUID
getDefaultStatusId()
Returns theid
of the default status.List<NamedDescribedResourceReference>
getDomainTypes()
Returns the list of references to domain types applying with the assignment.Scope
getScope()
Returns the scope contained by the assignment.List<NamedDescribedResourceReference>
getStatuses()
Returns the list of references to the statuses.List<NamedResourceReference>
getValidationRules()
Returns the list of references to validation rules applying with the assignment.-
Methods inherited from interface Resource
getCreatedBy, getCreatedOn, getLastModifiedBy, getLastModifiedOn, getResourceType, isSystem
-
-
-
-
Method Detail
-
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 List<NamedDescribedResourceReference> 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
-
-