Package ndg :: Package xacml :: Package core :: Package functions :: Package v1 :: Module equal :: Class EqualBase
[hide private]

Class EqualBase

source code

      object --+    
               |    
AbstractFunction --+
                   |
                  EqualBase

Generic equal function for all types

Nested Classes [hide private]

Inherited from AbstractFunction: __metaclass__

Instance Methods [hide private]
bool
evaluate(self, attribute1, attribute2)
Match input attribute values
source code

Inherited from AbstractFunction: __init__

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

Class Variables [hide private]
NoneType TYPE = None
attribute type for the given implementation.
  __abstractmethods__ = frozenset([])

Inherited from AbstractFunction: FUNCTION_NS, V1_0_FUNCTION_NS, V2_0_FUNCTION_NS

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

evaluate(self, attribute1, attribute2)

source code 

Match input attribute values

Parameters:
  • attribute1 (ndg.xacml.core.attributevalue.AttributeValue derived) - first of two attributes to match
  • attribute2 (ndg.xacml.core.attributevalue.AttributeValue derived) - second attribute
Returns: bool
True if attributes match, False otherwise
Overrides: AbstractFunction.evaluate

Class Variable Details [hide private]

TYPE

attribute type for the given implementation. Derived classes should set appropriately
Type:
NoneType
Value:
None