# Path: omelette/compiler/logging.py
# def getLogger(name):
#     def __init__(self):
#     def info(self, msg, object=None):
#     def warning(self, msg, object=None):
#     def error(self, msg, object=None):
#     def critical(self, msg, object=None):
#     def flush(self):
#     def is_empty(self):
#     def get_events(self, levels="INFO WARNING ERROR CRITICAL"):
#     def has(self, level):
#     def __init__(self, msg, level, object):
#     def __str__(self):
# class Logger:
# class Event:


from omelette.compiler import logging

class Validator(object):

    def __init__(self, uml_objects):
        self.__uml_objects = uml_objects

    def __log_error(self, message):
        logger = logging.getLogger("compiler")
        logger.error(message, object=self.__uml_object)

    def __validate_reference(self, reference):

# Path: omelette/compiler/logging.py
# def getLogger(name):
#     def __init__(self):
#     def info(self, msg, object=None):
#     def warning(self, msg, object=None):
#     def error(self, msg, object=None):
#     def critical(self, msg, object=None):
#     def flush(self):
#     def is_empty(self):
#     def get_events(self, levels="INFO WARNING ERROR CRITICAL"):
#     def has(self, level):
#     def __init__(self, msg, level, object):
#     def __str__(self):
# class Logger:
# class Event:


# Path: omelette/compiler/validator.py
from omelette.compiler import logging


class Validator(object):

    def __init__(self, uml_objects):
        self.__uml_objects = uml_objects

    def __log_error(self, message):
        logger = logging.getLogger("compiler")
        logger.error(message, object=self.__uml_object)

    def __validate_reference(self, reference):

        if reference not in self.__uml_objects.keys():