Package archipelcore :: Module archipelPermissionCenter :: Class TNArchipelPermission
[hide private]
[frames] | no frames]

Class TNArchipelPermission

source code

object --+    
         |    
      Base --+
             |
            TNArchipelPermission

Instance Methods [hide private]
 
__init__(self, name, description, default_value)
A simple constructor that allows initialization from kwargs.
source code
 
__repr__(self)
repr(x)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  __tablename__ = 'permissions'
  name = Column(String, primary_key= True)
  description = Column(String)
  defaultValue = Column(Integer)
  __mapper__ = <Mapper at 0x2d1b3d0; TNArchipelPermission>
  __table__ = Table('permissions', MetaData(None), Column('name'...
  _sa_class_manager = <ClassManager of <class 'archipelcore.arch...

Inherited from Base: metadata

Inherited from Base (private): _decl_class_registry

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, description, default_value)
(Constructor)

source code 

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in ``kwargs``.

Only keys that are present as attributes of the instance's class are allowed. These could be, for example, any mapped columns or relationships.

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

Class Variable Details [hide private]

__table__

Value:
Table('permissions', MetaData(None), Column('name', String(length=None\
, convert_unicode=False, assert_unicode=None, unicode_error=None, _war\
n_on_bytestring=False), table=<permissions>, primary_key=True, nullabl\
e=False), Column('description', String(length=None, convert_unicode=Fa\
lse, assert_unicode=None, unicode_error=None, _warn_on_bytestring=Fals\
e), table=<permissions>), Column('defaultValue', Integer(), table=<per\
missions>), schema=None)

_sa_class_manager

Value:
<ClassManager of <class 'archipelcore.archipelPermissionCenter.TNArchi\
pelPermission'> at 2d76c70>