source: TI12-security/trunk/NDG_XACML/ndg/xacml/core/condition.py @ 6746

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/NDG_XACML/ndg/xacml/core/condition.py@6746
Revision 6746, 741 bytes checked in by pjkersha, 10 years ago (diff)

Added more !ETree readers for the different types.

Line 
1"""NDG Security Condition type definition
2
3NERC DataGrid Project
4"""
5__author__ = "P J Kershaw"
6__date__ = "25/02/10"
7__copyright__ = "(C) 2010 Science and Technology Facilities Council"
8__contact__ = "Philip.Kershaw@stfc.ac.uk"
9__license__ = "BSD - see LICENSE file in top-level directory"
10__contact__ = "Philip.Kershaw@stfc.ac.uk"
11__revision__ = "$Id: $"
12from ndg.xacml.core import PolicyComponent
13
14
15class Condition(PolicyComponent):
16    """XACML Rule Condition"""
17    __slots__ = ('__expression', )
18   
19    def __init__(self):
20        self.__expression = None
21       
22    @property
23    def expression(self):
24        return self.__expression
25   
26    @expression.setter
27    def expression(self, value):
28        self.__expression = value
Note: See TracBrowser for help on using the repository browser.