source: fedd/abac-src/rbtm/util/Predicate.java @ 1d913e13

axis_examplecompt_changesinfo-opsversion-2.00version-3.01version-3.02
Last change on this file since 1d913e13 was 8780cbec, checked in by Jay Jacobs <Jay.Jacobs@…>, 15 years ago

ABAC sources from Cobham

  • Property mode set to 100644
File size: 624 bytes
RevLine 
[8780cbec]1package edu.stanford.peer.rbtm.util;
2
3
4import edu.stanford.peer.rbtm.credential.EntityExpression;
5
6/**
7 * A predicate function which tests an object and returns the results. The
8 * class also provides an object reference which may be null.
9 */
10public interface Predicate extends java.io.Serializable 
11{
12    public static final String SIMP = "simple";
13
14    public static final String SENS = "sensitive";
15
16    public static final String OPPO = "opponent";
17
18    /**
19     * The testing function for a predicate.
20     * @return the success or failure of the predicate
21     */
22    public boolean test(EntityExpression expr);
23
24}
Note: See TracBrowser for help on using the repository browser.