Validation rules

These validation rules are applicable for importing resources:

  • The common root import class must be identified from the specified Class.name resource references. Else, this error message is displayed:
    APACS155=No common child class found for parent classes: {0}.

    Where {0} = List of all classes from Class.name references in mapping.

    APACS156=More than one common child class found for parent classes: {0}. The common child classes found: {1}.

    Where {0} = Parent class, {1} = List of children classes which have common parent

  • All class names in the mapping must be valid. Else, this error message is logged:

    APACS110=There is no class defined with name "{0}".

    Where {0} = Class name.

  • All Class.attribute mappings must be valid. Else, this error message is logged:

    APACS107=Unknown attribute name "{0}" for class "{1}" while importing resource "{2}".

    Where {0} = attribute name, {1} = class name, {2} = name of the resource being imported.

  • If a referenced parent resource does not exist, the resource is not created, and this warning message is logged:

    APACS143=Resource not resolved for resource reference: {0}.

    Where {0} = Class.resource name.

  • If a referenced Allocation parent resource does not exist, the resource is not created, and this warning message is logged:

    APACS144=Allocation Resource not found for "{0}" with components "{1}" and "{2}".

    Where {0} = Allocation class name

    {1} = First component resource reference in the ‘Class Name.Resource Name’ form.

    {2} = Second component resource reference in the ‘Class Name.Resource Name’ form.