# Path: spdx/parsers/loggers.py
# class ErrorMessages:
# 
#     def __init__(self):
#         self.messages = []
#         self.context = []
#     
#     def push_context(self, context):
#         """push some context information to better indentify where is the problem"""
#         self.context.append(context)
# 
#     def pop_context(self):
#         """pop the last context information"""
#         self.context.pop()
#     
#     def append(self, message, *args, **kwargs):
#         """add a message with standard python format
#         the current context is prefixed to the message
#         """
#         message = message.format(*args, **kwargs)
#         message = "".join([c + ": " for c in self.context if c]) + message
#         self.messages.append(message)
# 
#     def __iter__(self):
#         return self.messages.__iter__()
# 
#     def __bool__(self):
#         return len(self.messages)>0
# 
#     def __nonzero__(self):
#         return len(self.messages)>0
#     
#     def __eq__(self, b):
#         if isinstance(b, ErrorMessages):
#             return self.messages == b.messages
#         return self.messages == b
# 
# Path: spdx/config.py
# def _load_list(file_name, object_type="licenses", id_attribute="licenseId"):
# def load_license_list(file_name):
# def load_exception_list(file_name):
# LICENSE_LIST_VERSION = Version(major=_lmajor, minor=_lminor)
# EXCEPTION_LIST_VERSION = Version(major=_emajor, minor=_eminor)


from spdx.parsers.loggers import ErrorMessages
from functools import total_ordering
from spdx import config
        from spdx.creationinfo import CreationInfo
import warnings
        return self._full_name

    @full_name.setter
    def full_name(self, value):
        self.set_full_name(value)

    def set_full_name(self, value):

        if value is None:
            return
        if self._identifier is None:
            if value in config.LICENSE_MAP:
                self._identifier = config.LICENSE_MAP[value]
            else:
                self._identifier = value
        self._full_name = value

    @property
    def identifier(self):
        return self._identifier

    @identifier.setter
    def identifier(self, value):
        self.set_identifier(value)

    def set_identifier(self, value):
        if value is None:
            return
        if self._full_name is None:
            if value in config.LICENSE_MAP:

# Path: spdx/parsers/loggers.py
# class ErrorMessages:
# 
#     def __init__(self):
#         self.messages = []
#         self.context = []
#     
#     def push_context(self, context):
#         """push some context information to better indentify where is the problem"""
#         self.context.append(context)
# 
#     def pop_context(self):
#         """pop the last context information"""
#         self.context.pop()
#     
#     def append(self, message, *args, **kwargs):
#         """add a message with standard python format
#         the current context is prefixed to the message
#         """
#         message = message.format(*args, **kwargs)
#         message = "".join([c + ": " for c in self.context if c]) + message
#         self.messages.append(message)
# 
#     def __iter__(self):
#         return self.messages.__iter__()
# 
#     def __bool__(self):
#         return len(self.messages)>0
# 
#     def __nonzero__(self):
#         return len(self.messages)>0
#     
#     def __eq__(self, b):
#         if isinstance(b, ErrorMessages):
#             return self.messages == b.messages
#         return self.messages == b
# 
# Path: spdx/config.py
# def _load_list(file_name, object_type="licenses", id_attribute="licenseId"):
# def load_license_list(file_name):
# def load_exception_list(file_name):
# LICENSE_LIST_VERSION = Version(major=_lmajor, minor=_lminor)
# EXCEPTION_LIST_VERSION = Version(major=_emajor, minor=_eminor)


# Path: spdx/document.py
from spdx.parsers.loggers import ErrorMessages
from functools import total_ordering
from spdx import config
        from spdx.creationinfo import CreationInfo
import warnings

        return self._full_name

    @full_name.setter
    def full_name(self, value):
        self.set_full_name(value)

    def set_full_name(self, value):

        if value is None:
            return
        if self._identifier is None:
            if value in config.LICENSE_MAP:
                self._identifier = config.LICENSE_MAP[value]
            else:
                self._identifier = value
        self._full_name = value

    @property
    def identifier(self):
        return self._identifier

    @identifier.setter
    def identifier(self, value):
        self.set_identifier(value)

    def set_identifier(self, value):
        if value is None:
            return
        if self._full_name is None:
            if value in config.LICENSE_MAP:

                self._full_name = config.LICENSE_MAP[value]