Interface ValidationResult
- All Superinterfaces:
Entity
,Resource
,Serializable
Represents an asset
An asset is a verbal designation of a concept (object type) in a specific subject field.
-
Method Summary
Modifier and TypeMethodDescriptiongetAsset()
Gets the a NamedResourceReference of the Asset of this validation result.getJobId()
Retrieve the UUID of the job that performed the validation.Retrieve the error message (if any).Return true if the validation was successful, false if validation failed, null if there was an error validating.Return theResourceReference
for this result.Methods inherited from interface Resource
getCreatedBy, getCreatedOn, getLastModifiedBy, getLastModifiedOn, getResourceType, isSystem
-
Method Details
-
getAsset
NamedResourceReference getAsset()Gets the a NamedResourceReference of the Asset of this validation result.- Returns:
- the asset
-
getValidationRule
ResourceReference getValidationRule()Return theResourceReference
for this result.- Returns:
- the
ResourceReference
-
getResult
Boolean getResult()Return true if the validation was successful, false if validation failed, null if there was an error validating.- Returns:
- true if the validation was successful, false if validation failed, null if there was an error validating
-
getMessage
String getMessage()Retrieve the error message (if any). Can be a translatable key.- Returns:
- the error message
-
getJobId
UUID getJobId()Retrieve the UUID of the job that performed the validation.- Returns:
- the job's UUID
-