Package schrodinger :: Package application :: Package licensing :: Module licadmin :: Class Status
[hide private]
[frames] | no frames]

Class Status

object --+
         |
        Status

A Status object represents the "health" of a license resource. It's an immutable object, with integer and string values.

Instance Methods [hide private]
 
__init__(self, code, description)
x.__init__(...) initializes x; see help(type(x)) for signature
 
__repr__(self)
repr(x)
 
__unicode__(self)

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

Static Methods [hide private]
a new object with type S, a subtype of T
__new__(cls, *args)
Class Variables [hide private]
  _objects = {0: License OK, 1: License may have problems, 2: Li...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__new__(cls, *args)
Static Method

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__
(inherited documentation)

__init__(self, code, description)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

Class Variable Details [hide private]

_objects

Value:
{0: License OK,
 1: License may have problems,
 2: License has start date in the future,
 3: License is unusable}