def __init__(self, nbname, nametype, flags):
    self.__nbname = string.ljust(nbname, 17)
    self.__nametype = nametype
    self.__flags = flags
    self.__isgroup = (flags & 32768)
    self.__nodetype = (flags & 24576)
    self.__deleting = (flags & 4096)
    self.__isconflict = (flags & 2048)
    self.__isactive = (flags & 1024)
    self.__ispermanent = (flags & 512)
def __init__(self, nbname, nametype, flags):
    self.__nbname = string.ljust(nbname, 17)
    self.__nametype = nametype
    self.__flags = flags
    self.__isgroup = (flags & 32768)
    self.__nodetype = (flags & 24576)
    self.__deleting = (flags & 4096)
    self.__isconflict = (flags & 2048)
    self.__isactive = (flags & 1024)
    self.__ispermanent = (flags & 512)