code: public ValidatedByType<ConstraintDefinitionType<T>> getOrCreateValidatedBy()
     {
        Node node = childNode.getOrCreate("validated-by");
        ValidatedByType<ConstraintDefinitionType<T>> validatedBy = new ValidatedByTypeImpl<ConstraintDefinitionType<T>>(this, "validated-by", childNode, node);
        return validatedBy;
     }
docs: If not already created, a new <code>validated-by</code> element with the given value will be created.
  Otherwise, the existing <code>validated-by</code> element will be returned.
  @return  a new or existing instance of <code>ValidatedByType<ConstraintDefinitionType<T>></code>