org.openpermis.policy.bean.basic
Interface BasicUtilities.Validator<T>

Type Parameters:
T - the type of the validator.
Enclosing class:
BasicUtilities

private static interface BasicUtilities.Validator<T>

Validator interface for BasicUtilities.validateList(List, Validator).

Since:
0.1.0

Method Summary
 boolean valid(T e1, T e2)
          Validate the two entries by comparing them according to the validator function.
 

Method Detail

valid

boolean valid(T e1,
              T e2)
Validate the two entries by comparing them according to the validator function.

Parameters:
e1 - the first entry.
e2 - the second entry.
Returns:
true if they are valid, false if they violate an invariant.
Since:
0.1.0


PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:14:59
Copyright (c) 2002-2007 Ergon Informatik AG